New PowerShell cmdlets now available in PWPS 3.3:

New PowerShell cmdlets available in PWPS 3.3:

Get-PWDocumentEAttributes

Example: Get-PWDocumentEAttributes -DocumentID 1 -ProjectID 69

Get-PWFileEAttributes

Example: Get-PWFileEAttributes -DocumentID 1 -ProjectID 69

Get-PWLocalFileEAttributes

Example: Get-PWLocalFileEAttributes -Path C:\Users\PWDIVM\dms00069\A.docx -Mime application/vnd.openxmlformats-officedocument.wordprocessingml.document

Set-PWDocumentEAttributes

Example

$Object = New-Object PSObject
$Object | Add-Member Noteproperty Class “BuiltinProperties”
$Object | Add-Member Noteproperty Name “att1”
$Object | Add-Member Noteproperty Value “bentley”
Set-PWDocumentEAttributes -DocumentID 1 -ProjectID 69 -ValueObjects $Object

Set-PWFileEAttributes

Example

$Object4 = New-Object PSObject
$Object4 | Add-Member Noteproperty Class "matrixatt1"
$Object4 | Add-Member Noteproperty Name "track"
$Object4 | Add-Member Noteproperty Value "bentley"
Set-PWFileEAttributes -DocumentID 13 -ProjectID 65 -ValueObjects $Object4


Set-PWLocaFileEAttributes

Example

Set-PWLocaFileEAttributes -Path C:\Users\PWDIVM\Desktop\admin\dms00070\2018-0105-009.dwg -Mime image/vnd.dwg -ValueObjects $Object5

Anonymous