• Modifying metadata of superseded documents

    Is there any option to make changes to the metadata of a superseded documents using PowerShell?
  • doucment customattribute values is including line breaks

    Hi ... Please teach me! .. apologies .. this is probably a powershell knowledge problem. The code below is including unwanted line breaks. The line veraiable being sent to a text file should be a tab delimited text line . But .. somehow line breaks…
  • Import-PWDocumentsbysperadsheet

    I am trying to import the Document using the excel sheet. I have created the Excel sheet based on the instruction Save-PWDocumentsReport. However I am not able to locate where I can give the physical file location and in the Spreadsheet. Also, it is…
  • Set attributes as "Required" in PW admin

    I am getting the attached error while trying to enable an Attribute’s Required option. it is because the attribute value already empty in some files. Therefore i was trying to identify a way to find files which are empty attribute value and then modify…
  • Define Interface when using Export-PWDocument with export of metadata

    Hi! In Projectwise we have multiple Interfaces within the same Environment. Does anyone know of there is a way to define which interface should be used when exporting documents with metadata using Export-PWDocuments? I did not see any possiblity to…
  • Powershell access to User Attribute for Windows/Windows Synchronized

    I am trying to identify user accounts whose "Authentication" is set to "Windows"...and perhaps change it to "Windows Synchronize"...I can't seem to find that in any of the docs...if it is not there, can it be added? Thanks! Bob
  • Active Project Participants filtered by active Project number

    Has anyone been able to use active project participants as an attribute in a PW Environment? What we are trying to do is get a list of the active project participants, which are prefixed with the active project number and then pass that as an attribute…
  • Updating Storage Areas with "Get-PWStorageAreaList" and "Update-PWStorage"

    Hello: I am trying to update my Storage areas "Host" The cmdlet "Update-PWStorage" instructs to read in the information about the Storage area: age PS C:\PS> $storage = Get-PWStorageAreaList -Storageareanames "Storage Area" PS C:\PS> $storage…
  • Get-PWAttributeValueListFixedList - is there a setter?

    There is a getter (Get-PWAttributeValueListFixedList) to get the fixed list values of an attribute. Is there a setter (Set-PWAttributeValueListFixedList)? Or is there some other way to update the fixed value list that I seem to be missing? Thanks.
  • Cleaning up Environments

    I am trying to remove some test environments which were put into place and need to first remove them from any folder/project where they were applied. I have tried the various cmdlets I could find to Remove or Change the Folder Environment but none seem…
  • looking for "Get-PWDocumentAttribute" functionality

    Is there a way to extract a document's attributes? I am using "Update-PWDocumentAttribute" and that works great, however, I would like to do the reverse...given a document (object) that I read into a variable, I would like to access the values of the…
  • SQL Script and convert it to a powershell function within Projectwise.

    UPDATE I_STATION_NUMBER__NAME SET PROJECT_Station_ID = (SELECT LEFT(o_projectname, CASE WHEN charindex(' ', o_projectname) = 0 THEN LEN(o_projectname) ELSE charindex(' ', o_projectname) - 1 END)) from dms_proj INNER JOIN I_STATION_NUMBER__NAME …
  • edit new document attribute values on adding new document

    With powershell ISE I can add a new document and pass the result to a variable: $var1 = New-PWDocument -FilePath "valid file path" -FolderPath "valid PW folder path" How do I issue values to the attributes? maybe something like this? $var1.Attributes…