Update-PWDocumentAttributes issue

Here is my example attempt at running this command:

Get-PWDocumentsBySearch -FolderPath 'Project Testing\Test Project' | Update-PWDocumentAttributes -Attributes @{Name = $DocRecord.DocumentName; BUILDING = $DocRecord.BUILDING}

It works (good news)...bad news is that for the 'Name' and 'Description' attributes in PW, it add a 5-digit numeric code to the end (I want it to say "Drawing1", but now it says "Drawing100001").  


How can I remove the 00001 from the record?

Kirk

Parents Reply Children
No Data