Be sure to check out my Scripting4Crypto initiative. It’s a fun way to get into using cryptocurrencies all while getting your PowerShell needs met.
The following is a simple way to update the Geospatial Location information for one or more ProjectWise Documents.
# Get WKT from the Parent ProjectWise folder. $WKT = Get-PWFolderGeoSpatialLocation -FolderPath 'test\new' -Verbose # Get a list of ProjectWise Documents to update the GeoSpatial information for. $PWDocs = Get-PWDocumentsBySearch -FolderPath 'Test\New' -Verbose # Update the GeoSpatial location for all documents previously returned. Set-PWDocumentGeoSpatialLocation -InputDocuments $PWDocs -WKT $WKT -Verbose <# Accomplish the same task while utilizing piping. Get a list of Documents to update the GeoSpatial information for and pipe to the Set-PWDocumentGeoSpatialLocation cmdlet to update the GeoSpatial location for all documents returned. #> Get-PWDocumentsBySearch -FolderPath 'Test\New' -Verbose | Set-PWDocumentGeoSpatialLocation -WKT $WKT -Verbose