en-US/PWPS_DAB.dll-Help.xml
<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh"> <!-- Cmdlet: Get-AddressForLatitudeLongitude --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-AddressForLatitudeLongitude</command:name> <command:verb>Get</command:verb> <command:noun>AddressForLatitudeLongitude</command:noun> <maml:description> <maml:para>Provides a street address for a given latitude/longitude.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-AddressForLatitudeLongitude</maml:name> <!-- Parameter: Latitude --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Latitude</maml:name> <maml:description> <maml:para>Latitude in decimal degrees (Required).</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Longitude --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Longitude</maml:name> <maml:description> <maml:para>Longitude in decimal degrees (Required).</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Latitude --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Latitude</maml:name> <maml:description> <maml:para>Latitude in decimal degrees (Required).</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Longitude --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Longitude</maml:name> <maml:description> <maml:para>Longitude in decimal degrees (Required).</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for getting street address for a lat/long pair.</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>Get-AddressForLatitudeLongitude -Latitude 36.008542 -Longitude -78.928718</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Export-DataTableToSQLiteDB --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Export-DataTableToSQLiteDB</command:name> <command:verb>Export</command:verb> <command:noun>DataTableToSQLiteDB</command:noun> <maml:description> <maml:para>Exports a datatable to a SQLite Database.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Exports a datatable to a SQLite Database.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Export-DataTableToSQLiteDB</maml:name> <!-- Parameter: SourceDataTable --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SourceDataTable</maml:name> <command:parameterValue required="true">DataTable</command:parameterValue> <dev:type> <maml:name>System.Data.DataTable</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFolder --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Folder on disk for output.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Optional output file name to use. Will use default name if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Append --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Append</maml:name> <maml:description> <maml:para>When included, the SQLite Database will be appended if it exists.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Overwrite --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Overwrite</maml:name> <maml:description> <maml:para>When included, the SQLite Database will be replaced/overwritten if it exists.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SourceDataTable --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SourceDataTable</maml:name> <command:parameterValue required="true">DataTable</command:parameterValue> <dev:type> <maml:name>System.Data.DataTable</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFolder --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Folder on disk for output.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Optional output file name to use. Will use default name if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Append --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Append</maml:name> <maml:description> <maml:para>When included, the SQLite Database will be appended if it exists.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Overwrite --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Overwrite</maml:name> <maml:description> <maml:para>When included, the SQLite Database will be replaced/overwritten if it exists.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Exports the SourceDataTable to a SQLite Database in the location specified.</maml:para> <maml:para>#SQLiteStudio seems like an adequate managment tool (http://sqlitestudio.pl/?act=download) for the resulting container.</maml:para> <maml:para>$dt = Get-PWDocumentReportDataTable -ProjectWiseFolder 'Design Drafting Projects\Test for Alignment Project' -Recurse</maml:para> <maml:para>$dt2 = $dt[0].Copy()</maml:para> <maml:para>Export-DataTableToSQLiteDB -SourceDataTable $dt2 -OutputFolder 'c:\temp'</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Appends the SourceDataTable to a SQLite Database in the location specified.</maml:para> <maml:para>$dt = Get-PWDocumentReportDataTable -ProjectWiseFolder 'Design Drafting Projects\Test for Alignment Project' -Recurse</maml:para> <maml:para>$dt2 = $dt[0].Copy()</maml:para> <maml:para>Export-DataTableToSQLiteDB -SourceDataTable $dt2 -OutputFolder 'c:\temp' -Append</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>Overwrites (replaces) the existing SQLite Database. Exports the SourceDataTable to a SQLite Database in the location specified.</maml:para> <maml:para>$dt = Get-PWDocumentReportDataTable -ProjectWiseFolder 'Design Drafting Projects\Test for Alignment Project' -Recurse</maml:para> <maml:para>$dt2 = $dt[0].Copy()</maml:para> <maml:para>Export-DataTableToSQLiteDB -SourceDataTable $dt2 -OutputFolder 'c:\temp' -Overwrite</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PDFQRCode --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PDFQRCode</command:name> <command:verb>Add</command:verb> <command:noun>PDFQRCode</command:noun> <maml:description> <maml:para>Apply arbitrary QR Code to PDF from File System.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: FileName --> <command:syntaxItem> <maml:name>Add-PDFQRCode</maml:name> <!-- Parameter: FileName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FileName</maml:name> <maml:description> <maml:para>Documents to copy out and print (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: URL --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>URL</maml:name> <maml:description> <maml:para>Provide this value instead to produce a generic code.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: X --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>X</maml:name> <maml:description> <maml:para>X coordinate of lower left corner of code image.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>50</dev:defaultValue> </command:parameter> <!-- Parameter: Y --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Y</maml:name> <maml:description> <maml:para>Y coordinate of lower left corner of code image.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>50</dev:defaultValue> </command:parameter> <!-- Parameter: Size --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Size</maml:name> <maml:description> <maml:para>Size of image.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>100</dev:defaultValue> </command:parameter> <!-- Parameter: NativeUnits --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>NativeUnits</maml:name> <maml:description> <maml:para>Units are in PDF Units. Set this if your QR Code is not showing up.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: CropBorder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>CropBorder</maml:name> <maml:description> <maml:para>Number of units to crop around the edge of the QR Code (can have a lot of white border based on the size of the image). Use with NativeUnits switch.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveImages --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>RemoveImages</maml:name> <maml:description> <maml:para>Remove the existing images.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OverWriteFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>OverWriteFile</maml:name> <maml:description> <maml:para>Will generate copy of the file if not set.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FileName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FileName</maml:name> <maml:description> <maml:para>Documents to copy out and print (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: URL --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>URL</maml:name> <maml:description> <maml:para>Provide this value instead to produce a generic code.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: X --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>X</maml:name> <maml:description> <maml:para>X coordinate of lower left corner of code image.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>50</dev:defaultValue> </command:parameter> <!-- Parameter: Y --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Y</maml:name> <maml:description> <maml:para>Y coordinate of lower left corner of code image.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>50</dev:defaultValue> </command:parameter> <!-- Parameter: Size --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Size</maml:name> <maml:description> <maml:para>Size of image.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>100</dev:defaultValue> </command:parameter> <!-- Parameter: NativeUnits --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>NativeUnits</maml:name> <maml:description> <maml:para>Units are in PDF Units. Set this if your QR Code is not showing up.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: CropBorder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>CropBorder</maml:name> <maml:description> <maml:para>Number of units to crop around the edge of the QR Code (can have a lot of white border based on the size of the image). Use with NativeUnits switch.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveImages --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>RemoveImages</maml:name> <maml:description> <maml:para>Remove the existing images.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OverWriteFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>OverWriteFile</maml:name> <maml:description> <maml:para>Will generate copy of the file if not set.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Documents to copy out and print (Required).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Provide this value instead to produce a generic code.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#URL can be any valid URL.</maml:para> <maml:para>Add-PDFQRCode c:\PDFs\PDF1.pdf -URL www.bentley.com -X 100 -Y 100 -Size 100</maml:para> <maml:para>#Try NativeUnits flag if QR Code is too small or invisible. Use -RemoveImages to remove QR Code from previously stamped PDF.</maml:para> <maml:para>Add-PDFQRCode c:\PDFs\PDF1.pdf -URL www.bentley.com -X 100 -Y 100 -Size 100 -NativeUnits -RemoveImages</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Export-PWAAMFile --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Export-PWAAMFile</command:name> <command:verb>Export</command:verb> <command:noun>PWAAMFile</command:noun> <maml:description> <maml:para>Export AAM file for current datasource. Choose to export Environments, Applications, Searches and/or Workflows. Will export Environments if none selected.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: OutputFile --> <command:syntaxItem> <maml:name>Export-PWAAMFile</maml:name> <!-- Parameter: OutputFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFile</maml:name> <maml:description> <maml:para>Full path to output AAM file. (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Environments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Environments</maml:name> <maml:description> <maml:para>Set to export environments.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Workflows --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Workflows</maml:name> <maml:description> <maml:para>Set to export workflows.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Applications --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Applications</maml:name> <maml:description> <maml:para>Set to export applications.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Searches --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Searches</maml:name> <maml:description> <maml:para>Set to export searches.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: OutputFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFile</maml:name> <maml:description> <maml:para>Full path to output AAM file. (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Environments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Environments</maml:name> <maml:description> <maml:para>Set to export environments.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Workflows --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Workflows</maml:name> <maml:description> <maml:para>Set to export workflows.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Applications --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Applications</maml:name> <maml:description> <maml:para>Set to export applications.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Searches --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Searches</maml:name> <maml:description> <maml:para>Set to export searches.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Export-PWAAMFile "c:\temp\environments.aam"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Import-PWAAMFile --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Import-PWAAMFile</command:name> <command:verb>Import</command:verb> <command:noun>PWAAMFile</command:noun> <maml:description> <maml:para>Import AAM file into current datasource. Choose to import Environments, Applications, Searches and/or Workflows. Will import Environments if none selected.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: ImportFile --> <command:syntaxItem> <maml:name>Import-PWAAMFile</maml:name> <!-- Parameter: ImportFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>ImportFile</maml:name> <maml:description> <maml:para>Full path to output AAM file. (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Environments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Environments</maml:name> <maml:description> <maml:para>Set to import environments.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: WorkflowDefinitions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>WorkflowDefinitions</maml:name> <maml:description> <maml:para>Set to impot workflows.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Applications --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Applications</maml:name> <maml:description> <maml:para>Set to import applications.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Searches --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Searches</maml:name> <maml:description> <maml:para>Set to import searches.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ImportFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>ImportFile</maml:name> <maml:description> <maml:para>Full path to output AAM file. (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Environments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Environments</maml:name> <maml:description> <maml:para>Set to import environments.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: WorkflowDefinitions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>WorkflowDefinitions</maml:name> <maml:description> <maml:para>Set to impot workflows.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Applications --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Applications</maml:name> <maml:description> <maml:para>Set to import applications.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Searches --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Searches</maml:name> <maml:description> <maml:para>Set to import searches.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Import-PWAAMFile "c:\temp\environments.aam"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Import-PWAccessControlFromExcel --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Import-PWAccessControlFromExcel</command:name> <command:verb>Import</command:verb> <command:noun>PWAccessControlFromExcel</command:noun> <maml:description> <maml:para>PWAccessControlFromExcel is used to import access control to a folder from an Excel spreadsheet or csv file.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Imports access control from an Excel spreadsheet or csv file.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Import-PWAccessControlFromExcel</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ImportFileNamePath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ImportFileNamePath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ImportFileNamePath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ImportFileNamePath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for importing access control.</maml:para> <maml:para>Import-PWAccessControlToExcel -InputFolder 'MyProject' -ImportFileNamePath 'D:\Temp\Import\MyProjectAccessControl.xlsx'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWAccessControlItems --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWAccessControlItems</command:name> <command:verb>Get</command:verb> <command:noun>PWAccessControlItems</command:noun> <maml:description> <maml:para>Returns all access control entries for the specified type and name within the current datasource.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWAccessControlItems</maml:name> <!-- Parameter: AccessControlItemType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>AccessControlItemType</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AccessControlItemName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>AccessControlItemName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: AccessControlItemType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>AccessControlItemType</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AccessControlItemName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>AccessControlItemName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Get-PWAccessControlItems.</maml:para> <maml:para>#Will return all access control entries for the userlist 'Administrators'.</maml:para> <maml:para>Get-PWAccessControlItems -AccessControlItemType 'userlist' -AccessControlItemName 'administrators' | ft</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Export-PWAccessControlToExcel --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Export-PWAccessControlToExcel</command:name> <command:verb>Export</command:verb> <command:noun>PWAccessControlToExcel</command:noun> <maml:description> <maml:para>PWAccessControlToExcel is used to export out access control from a folder to an Excel spreadsheet or csv file.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Exports out access control from a folder to an Excel spreadsheet or csv file.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Export-PWAccessControlToExcel</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExportFolder --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ExportFolder</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>c: emp</dev:defaultValue> </command:parameter> <!-- Parameter: ExportFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>ExportFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Levels --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Levels</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: AllLevels --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AllLevels</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ExportFileExtension --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ExportFileExtension</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>xlsx</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExportFolder --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ExportFolder</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>c: emp</dev:defaultValue> </command:parameter> <!-- Parameter: ExportFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>ExportFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExportFileExtension --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ExportFileExtension</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>xlsx</dev:defaultValue> </command:parameter> <!-- Parameter: Levels --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Levels</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: AllLevels --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AllLevels</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for exporting access control from a project to an Excel spreadsheet.</maml:para> <maml:para>Export-PWAccessControlToExcel -InputFolder 'MyProject' -ExportFolder 'D:\Temp\Export' -ExportFileName 'MyProjectAccessControl'</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for exporting access control from a project to a CSV file.</maml:para> <maml:para>Export-PWAccessControlToExcel -InputFolder 'MyProject' -ExportFolder 'D:\Temp\Export' -ExportFileName 'MyProjectAccessControl' -ExportFileExtension</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Convert-PWAccessMaskToString --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Convert-PWAccessMaskToString</command:name> <command:verb>Convert</command:verb> <command:noun>PWAccessMaskToString</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Convert-PWAccessMaskToString</maml:name> <!-- Parameter: AccessType --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>AccessType</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MaskValue --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>MaskValue</maml:name> <command:parameterValue required="true">uint</command:parameterValue> <dev:type> <maml:name>System.UInt32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: AccessType --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>AccessType</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MaskValue --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>MaskValue</maml:name> <command:parameterValue required="true">uint</command:parameterValue> <dev:type> <maml:name>System.UInt32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage converting mask to string.</maml:para> <maml:para>The following will return a string value for full access control on a folder.</maml:para> <maml:para>Convert-PWAccessMaskToString -MaskValue '66535' -AccessType 'folder'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWApplication --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWApplication</command:name> <command:verb>New</command:verb> <command:noun>PWApplication</command:noun> <maml:description> <maml:para>Create a new application within current datasource.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>New-PWApplication</maml:name> <!-- Parameter: ApplicationName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>ApplicationName</maml:name> <maml:description> <maml:para>Name of new application to be created.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ApplicationName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>ApplicationName</maml:name> <maml:description> <maml:para>Name of new application to be created.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Creates a new application named 'MyApplication'.</maml:para> <maml:para>New-PWApplication -ApplicationName 'MyApplication' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWApplication --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWApplication</command:name> <command:verb>Remove</command:verb> <command:noun>PWApplication</command:noun> <maml:description> <maml:para>Removes an application from current datasource.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Remove-PWApplication</maml:name> <!-- Parameter: ApplicationName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>ApplicationName</maml:name> <maml:description> <maml:para>Name of application to be removed.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ApplicationName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>ApplicationName</maml:name> <maml:description> <maml:para>Name of application to be removed.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Removes an application named 'MyApplication'.</maml:para> <maml:para>Remove-PWApplication -ApplicationName 'MyApplication' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWApplicationExtensions --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWApplicationExtensions</command:name> <command:verb>Set</command:verb> <command:noun>PWApplicationExtensions</command:noun> <maml:description> <maml:para>Adds a file extension to a specified application within current datasource.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWApplicationExtensions</maml:name> <!-- Parameter: ApplicationName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>ApplicationName</maml:name> <maml:description> <maml:para>Name of new application to be created.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Extensions --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Extensions</maml:name> <maml:description> <maml:para>Name of file extensions to be added to application.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MoveIfExists --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MoveIfExists</maml:name> <maml:description> <maml:para>When included, if the file extension exists, it will be moved to the specified application.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ApplicationName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>ApplicationName</maml:name> <maml:description> <maml:para>Name of new application to be created.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Extensions --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Extensions</maml:name> <maml:description> <maml:para>Name of file extensions to be added to application.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MoveIfExists --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MoveIfExists</maml:name> <maml:description> <maml:para>When included, if the file extension exists, it will be moved to the specified application.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Adds file extensions to application 'MyApplication'. If the extension exists, it will be ignored.</maml:para> <maml:para>Set-PWApplicationExtensions -ApplicationName 'MyApplication' -Extensions 'txt' 'ps1' -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Adds file extensions to application 'MyApplication'. If the extension exists, it will be moved.</maml:para> <maml:para>Set-PWApplicationExtensions -ApplicationName 'MyApplication' -Extensions 'txt' 'ps1' -MoveIfExists -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWApplications --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWApplications</command:name> <command:verb>Get</command:verb> <command:noun>PWApplications</command:noun> <maml:description> <maml:para>Get-PWApplications returns list of all applications.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Returns list of all applications.</maml:para> </maml:description> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Set-PWAttributeDefaultValueSettings --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWAttributeDefaultValueSettings</command:name> <command:verb>Set</command:verb> <command:noun>PWAttributeDefaultValueSettings</command:noun> <maml:description> <maml:para>Set-PWAttributeDefaultValueSettings updates an attribute's Default Value settings values within a specified environment.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-PWAttributeDefaultValueSettings updates an attribute's Default Value settings values within a specified environment. The available settings are Default Value Type and Value. NOTE: When specifying a System Variable, be sure to surround in single quotes.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWAttributeDefaultValueSettings</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to update.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultValueType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>DefaultValueType</maml:name> <maml:description> <maml:para>Specifies the Default Value type for the specified attribute.</maml:para> <maml:para>Acceptable values: "None", "Fixed", "Select", "System variable", "Function".</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultValueText --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>DefaultValueText</maml:name> <maml:description> <maml:para>Specifies the Default Value 'value' for the specified attribute. NOTE: When specifying a System Variable, be sure to surround in single quotes.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to update.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultValueType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>DefaultValueType</maml:name> <maml:description> <maml:para>Specifies the Default Value type for the specified attribute.</maml:para> <maml:para>Acceptable values: "None", "Fixed", "Select", "System variable", "Function".</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultValueText --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>DefaultValueText</maml:name> <maml:description> <maml:para>Specifies the Default Value 'value' for the specified attribute. NOTE: When specifying a System Variable, be sure to surround in single quotes.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for setting an attribute's Default Value settings values. Sets Type to fixed and value to TEST.</maml:para> </maml:introduction> <dev:code>Set-PWAttributeDefaultValueSettings -EnvironmentName 'Complex' -AttributeName 'Title3' -DefaultValueType Fixed -DefaultValueText "TEST" -Verbose</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWAttributeEditingSettings --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWAttributeEditingSettings</command:name> <command:verb>Set</command:verb> <command:noun>PWAttributeEditingSettings</command:noun> <maml:description> <maml:para>Set-PWAttributeEditingSettings updates an attribute's Editing settings values within a specified environment.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-PWAttributeEditingSettings updates an attribute's Editing settings values within a specified environment. The available settings are Control Type, Control Font, Control Font Size, Format String, and Maximum Input Text Length.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWAttributeEditingSettings</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to set the Editing settings to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ControlType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ControlType</maml:name> <maml:description> <maml:para>Attribute editing control type.</maml:para> <maml:para>Acceptable values: 'Edit field', 'Checkbox', 'Multiline edit field'</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ControlFont --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ControlFont</maml:name> <maml:description> <maml:para>Attribute editing control font name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FormatString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>FormatString</maml:name> <maml:description> <maml:para>Attribute editing format string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ControlFontSize --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ControlFontSize</maml:name> <maml:description> <maml:para>Attribue editing control font size.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: MaximumInputTextLength --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>MaximumInputTextLength</maml:name> <maml:description> <maml:para>Attribue editing maximum input text length.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to set the Editing settings to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ControlType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ControlType</maml:name> <maml:description> <maml:para>Attribute editing control type.</maml:para> <maml:para>Acceptable values: 'Edit field', 'Checkbox', 'Multiline edit field'</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ControlFont --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ControlFont</maml:name> <maml:description> <maml:para>Attribute editing control font name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ControlFontSize --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ControlFontSize</maml:name> <maml:description> <maml:para>Attribue editing control font size.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: FormatString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>FormatString</maml:name> <maml:description> <maml:para>Attribute editing format string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MaximumInputTextLength --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>MaximumInputTextLength</maml:name> <maml:description> <maml:para>Attribue editing maximum input text length.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for setting an attribute's Editing settings values. Sets Control Type to a checkbox.</maml:para> </maml:introduction> <dev:code>Set-PWAttributeEditingSettings -EnvironmentName 'Complex' -AttributeName 'Title1' -ControlType CheckBox -Verbose</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Example usage for setting an attribute's Editing settings values. Sets Control font to Calibri and Control font size to 12.</maml:para> </maml:introduction> <dev:code>Set-PWAttributeEditingSettings -EnvironmentName 'Complex' -AttributeName 'Title2' -ControlFont "Calibri" -ControlFontSize 12 -Verbose</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>Example usage for setting an attribute's Editing settings values. Sets format string to UpperCase and Maximum input text length to 50.</maml:para> </maml:introduction> <dev:code>Set-PWAttributeEditingSettings -EnvironmentName 'Complex' -AttributeName 'Title2' -FormatString UpperCase -MaximumInputTextLength 50 -Verbose</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWAttributeExtraValuesSettings --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWAttributeExtraValuesSettings</command:name> <command:verb>Set</command:verb> <command:noun>PWAttributeExtraValuesSettings</command:noun> <maml:description> <maml:para>Set-PWAttributeExtraValuesSettings updates an attribute's Extra Values within a specified environment.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-PWAttributeExtraValuesSettings updates an attribute's Extra Values within a specified environment.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWAttributeExtraValuesSettings</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to add Extra Values to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExtraValue01 --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>ExtraValue01</maml:name> <maml:description> <maml:para>Attribute extra value 1.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExtraValue02 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ExtraValue02</maml:name> <maml:description> <maml:para>Attribute extra value 2.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExtraValue03 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ExtraValue03</maml:name> <maml:description> <maml:para>Attribute extra value 3.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExtraValue04 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>ExtraValue04</maml:name> <maml:description> <maml:para>Attribute extra value 4.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExtraValue05 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>ExtraValue05</maml:name> <maml:description> <maml:para>Attribute extra value 5.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to add Extra Values to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExtraValue01 --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>ExtraValue01</maml:name> <maml:description> <maml:para>Attribute extra value 1.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExtraValue02 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ExtraValue02</maml:name> <maml:description> <maml:para>Attribute extra value 2.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExtraValue03 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ExtraValue03</maml:name> <maml:description> <maml:para>Attribute extra value 3.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExtraValue04 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>ExtraValue04</maml:name> <maml:description> <maml:para>Attribute extra value 4.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExtraValue05 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>ExtraValue05</maml:name> <maml:description> <maml:para>Attribute extra value 5.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for setting an attribute's Extra Values.</maml:para> </maml:introduction> <dev:code>Set-PWAttributeExtraValuesSettings -EnvironmentName 'Complex' -AttributeName 'Title1' -ExtraValue01 "TestValue01" -Verbose</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWAttributeGeneralSettings --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWAttributeGeneralSettings</command:name> <command:verb>Set</command:verb> <command:noun>PWAttributeGeneralSettings</command:noun> <maml:description> <maml:para>Set-PWAttributeGeneralSettings updates an attribute's General settings values within a specified environment.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-PWAttributeGeneralSettings updates an attribute's General settings values within a specified environment. The available settings are Unique, Required, Access, Copied inside document, Copied inside environment, and Copied or moved from other environment.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWAttributeGeneralSettings</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to update.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeValueUnique --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>AttributeValueUnique</maml:name> <maml:description> <maml:para>Toggles on/off the Attribute value Unique. Valid entries: On, Off.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeValueAccess --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>AttributeValueAccess</maml:name> <maml:description> <maml:para>Sets the Attribute Access value to edit or read-only. Valid entries: Edit, Read-Only.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeValueRequired --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>AttributeValueRequired</maml:name> <maml:description> <maml:para>Toggles on/off the Attribute value Required. Valid entries: On, Off.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CopiedInsideDocument --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>CopiedInsideDocument</maml:name> <maml:description> <maml:para>Toggles on/off the Clear Attribute value when Copied inside document. Valid entries: On, Off.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CopiedInsideEnvironment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>CopiedInsideEnvironment</maml:name> <maml:description> <maml:para>Toggles on/off the Clear Attribute value when Copied inside environment. Valid entries: On, Off.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CopiedOrMovedFromOtherEnvironment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>CopiedOrMovedFromOtherEnvironment</maml:name> <maml:description> <maml:para>Toggles on/off the Clear Attribute value when Copied or moved from other environment. Valid entries: On, Off.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeValueEditableIfFinal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>AttributeValueEditableIfFinal</maml:name> <maml:description> <maml:para>Toggles on/off the Attribute value Editable if final. Valid entries: On, Off.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to update.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeValueUnique --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>AttributeValueUnique</maml:name> <maml:description> <maml:para>Toggles on/off the Attribute value Unique. Valid entries: On, Off.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeValueRequired --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>AttributeValueRequired</maml:name> <maml:description> <maml:para>Toggles on/off the Attribute value Required. Valid entries: On, Off.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeValueEditableIfFinal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>AttributeValueEditableIfFinal</maml:name> <maml:description> <maml:para>Toggles on/off the Attribute value Editable if final. Valid entries: On, Off.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeValueAccess --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>AttributeValueAccess</maml:name> <maml:description> <maml:para>Sets the Attribute Access value to edit or read-only. Valid entries: Edit, Read-Only.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CopiedInsideDocument --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>CopiedInsideDocument</maml:name> <maml:description> <maml:para>Toggles on/off the Clear Attribute value when Copied inside document. Valid entries: On, Off.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CopiedInsideEnvironment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>CopiedInsideEnvironment</maml:name> <maml:description> <maml:para>Toggles on/off the Clear Attribute value when Copied inside environment. Valid entries: On, Off.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CopiedOrMovedFromOtherEnvironment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>CopiedOrMovedFromOtherEnvironment</maml:name> <maml:description> <maml:para>Toggles on/off the Clear Attribute value when Copied or moved from other environment. Valid entries: On, Off.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for setting an attribute's General settings values. Toggles On Attribute value Unique.</maml:para> </maml:introduction> <dev:code>Set-PWAttributeEditingSettings -EnvironmentName 'Complex' -AttributeName 'Title1' -AttributeValueUnique On -Verbose</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Example usage for setting an attribute's General settings values. Toggles Off Attribute value Required.</maml:para> </maml:introduction> <dev:code>Set-PWAttributeEditingSettings -EnvironmentName 'Complex' -AttributeName 'Title1' -AttributeValueRequired Off -Verbose</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>Example usage for setting an attribute's General settings values. Sets the Attribute value Access to Read-only.</maml:para> </maml:introduction> <dev:code>Set-PWAttributeEditingSettings -EnvironmentName 'Complex' -AttributeName 'Title1' -AttributeValueAccess Read-only -Verbose</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 4 ----------</maml:title> <maml:introduction> <maml:para>Example usage for setting an attribute's General settings values. Toggles On Clear Attribute value when Copied inside document.</maml:para> </maml:introduction> <dev:code>Set-PWAttributeEditingSettings -EnvironmentName 'Complex' -AttributeName 'Title1' -CopiedInsideDocument On -Verbose</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 5 ----------</maml:title> <maml:introduction> <maml:para>Example usage for setting an attribute's General settings values. Toggles Off Clear Attribute value when Copied or moved from other environment.</maml:para> </maml:introduction> <dev:code>Set-PWAttributeEditingSettings -EnvironmentName 'Complex' -AttributeName 'Title1' -CopiedOrMovedFromOtherEnvironment Off -Verbose</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWAttributeToInterface --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWAttributeToInterface</command:name> <command:verb>Add</command:verb> <command:noun>PWAttributeToInterface</command:noun> <maml:description> <maml:para>Add an attribute to the More Attributes page of an interface.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Add-PWAttributeToInterface</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Name of environment containing attribute to add to interface.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InterfaceName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>InterfaceName</maml:name> <maml:description> <maml:para>Name of interface to add attribute to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>AttributeName</maml:name> <maml:description> <maml:para>Name of attribute to add to More Attributes page.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LabelText --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>LabelText</maml:name> <maml:description> <maml:para>Label text used to update GUI definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Name of environment containing attribute to add to interface.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InterfaceName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>InterfaceName</maml:name> <maml:description> <maml:para>Name of interface to add attribute to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>AttributeName</maml:name> <maml:description> <maml:para>Name of attribute to add to More Attributes page.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LabelText --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>LabelText</maml:name> <maml:description> <maml:para>Label text used to update GUI definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Add-PWAttributeToInterface.</maml:para> <maml:para>Adds DrawingNumber attribute to the More Attributes page of the Manager interface for Complex environment.</maml:para> <maml:para>Add-PWAttributeToInterface -EnvironmentName Complex -Interface Manager -ColumnName DrawingNumber -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Adds DrawingNumber attribute with a label to the More Attributes page of the Manager interface for Complex environment.</maml:para> <maml:para>Add-PWAttributeToInterface -EnvironmentName Complex -Interface Manager -ColumnName DrawingNumber -LabelText "Drawing Number:" -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWAttributeUpdateValueSettings --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWAttributeUpdateValueSettings</command:name> <command:verb>Set</command:verb> <command:noun>PWAttributeUpdateValueSettings</command:noun> <maml:description> <maml:para>Set-PWAttributeUpdateValueSettings updates an attribute's Update Value settings values within a specified environment.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-PWAttributeUpdateValueSettings updates an attribute's Update Value settings values within a specified environment. The available settings are Update Value Type, Value. NOTE: When specifying a System Variable, be sure to surround in single quotes.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWAttributeUpdateValueSettings</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to update.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UpdateValueType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>UpdateValueType</maml:name> <maml:description> <maml:para>Specifies the Update Value type for the specified attribute.</maml:para> <maml:para>Acceptable values: "None", "Fixed", "Select", "System variable", "Function". NOTE: When specifying a System Variable, be sure to surround in single quotes.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UpdateValueText --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>UpdateValueText</maml:name> <maml:description> <maml:para>Specifies the Update Value 'value' for the specified attribute. NOTE: When specifying a System Variable, be sure to surround in single quotes.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to update.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UpdateValueType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>UpdateValueType</maml:name> <maml:description> <maml:para>Specifies the Update Value type for the specified attribute.</maml:para> <maml:para>Acceptable values: "None", "Fixed", "Select", "System variable", "Function". NOTE: When specifying a System Variable, be sure to surround in single quotes.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UpdateValueText --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>UpdateValueText</maml:name> <maml:description> <maml:para>Specifies the Update Value 'value' for the specified attribute. NOTE: When specifying a System Variable, be sure to surround in single quotes.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for setting an attribute's Default Value settings values. Sets Type to fixed and value to TEST.</maml:para> </maml:introduction> <dev:code>Set-PWAttributeUpdateValueSettings -EnvironmentName 'Complex' -AttributeName 'Title3' -UpdateValueType "System variable" -UpdateValueText '$ENV.NAME$' -Verbose</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWAttributeUpdateValueTriggerAttribute --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWAttributeUpdateValueTriggerAttribute</command:name> <command:verb>Add</command:verb> <command:noun>PWAttributeUpdateValueTriggerAttribute</command:noun> <maml:description> <maml:para>Add-PWAttributeUpdateValueTriggerAttribute adds an attribute(s) to be used to trigger an attribute update within the specified environment.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Add-PWAttributeUpdateValueTriggerAttribute adds an attribute(s) to be used to trigger an attribute update.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Add-PWAttributeUpdateValueTriggerAttribute</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to update.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeNameToTriggerUpdate --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>AttributeNameToTriggerUpdate</maml:name> <maml:description> <maml:para>Specifies the attribute to be used to trigger an update.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to update.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeNameToTriggerUpdate --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>AttributeNameToTriggerUpdate</maml:name> <maml:description> <maml:para>Specifies the attribute to be used to trigger an update.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for adding one attribute to trigger an attribute update.</maml:para> </maml:introduction> <dev:code>Add-PWAttributeUpdateValueTriggerAttribute -EnvironmentName 'Complex' -AttributeName 'Title4' -AttributeNameToTriggerUpdate "Title1" -Verbose</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Example usage for adding multiple attributes to trigger an attribute update.</maml:para> </maml:introduction> <dev:code>Add-PWAttributeUpdateValueTriggerAttribute -EnvironmentName 'Complex' -AttributeName 'Title4' -AttributeNameToTriggerUpdate "Title2", "Title3" -Verbose</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWAttributeUpdateValueTriggerAttribute --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWAttributeUpdateValueTriggerAttribute</command:name> <command:verb>Get</command:verb> <command:noun>PWAttributeUpdateValueTriggerAttribute</command:noun> <maml:description> <maml:para>Get-PWAttributeUpdateValueTriggerAttribute returns all triggering attribute(s) for an attribute.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-PWAttributeUpdateValueTriggerAttribute returns all triggering attribute(s) for an attribute.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWAttributeUpdateValueTriggerAttribute</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to get information for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to get information for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for getting the triggering attribute(s) for an attribute.</maml:para> </maml:introduction> <dev:code>Get-PWAttributeUpdateValueTriggerAttribute -EnvironmentName 'Complex' -AttributeName 'Title4' -Verbose</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWAttributeUpdateValueTriggerAttribute --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWAttributeUpdateValueTriggerAttribute</command:name> <command:verb>Remove</command:verb> <command:noun>PWAttributeUpdateValueTriggerAttribute</command:noun> <maml:description> <maml:para>Remove-PWAttributeUpdateValueTriggerAttribute removes a triggering attribute(s) from an attribute.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Remove-PWAttributeUpdateValueTriggerAttribute removes a triggering attribute(s) from an attribute. NOTE: If all triggering attributes are removed, the Update Value type will be set to none.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Remove-PWAttributeUpdateValueTriggerAttribute</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to update.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TriggeringAttributeNameToRemove --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>TriggeringAttributeNameToRemove</maml:name> <maml:description> <maml:para>Specifies the triggering attribute(s) to be removed.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to update.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TriggeringAttributeNameToRemove --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>TriggeringAttributeNameToRemove</maml:name> <maml:description> <maml:para>Specifies the triggering attribute(s) to be removed.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for removing one triggering attribute.</maml:para> </maml:introduction> <dev:code>Remove-PWAttributeUpdateValueTriggerAttribute -EnvironmentName 'Complex' -AttributeName 'Title4' -TriggeringAttributeNameToRemove "Title1" -Verbose</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Example usage for removing multiple trigger attributes.</maml:para> </maml:introduction> <dev:code>Remove-PWAttributeUpdateValueTriggerAttribute -EnvironmentName 'Complex' -AttributeName 'Title4' -TriggeringAttributeNameToRemove "Title2", "Title3" -Verbose</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWAttributeValueListFixedList --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWAttributeValueListFixedList</command:name> <command:verb>Get</command:verb> <command:noun>PWAttributeValueListFixedList</command:noun> <maml:description> <maml:para>Get-PWAttributeValueListFixedList returns all of the items within an attribute's Value settings fixed list.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-PWAttributeValueListFixedList returns all of the items within an attribute's Value settings fixed list.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWAttributeValueListFixedList</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to get view list fixed list for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to get view list fixed list for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for getting an attribute's fixed list values.</maml:para> </maml:introduction> <dev:code>Get-PWAttributeValueListFixedList -EnvironmentName 'Complex' -AttributeName 'Title3' -Verbose</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWAttributeValueListSettings --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWAttributeValueListSettings</command:name> <command:verb>Set</command:verb> <command:noun>PWAttributeValueListSettings</command:noun> <maml:description> <maml:para>Set-PWAttributeValueListSettings updates an attribute's Value list settings within a specified environment.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-PWAttributeValueListSettings updates an attribute's Value list settings within a specified environment. The available settings are Value List Type and Values, Limit to list, and Multiple selection.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWAttributeValueListSettings</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to update.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ValueType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ValueType</maml:name> <maml:description> <maml:para>Specifies the Value type for the specified attribute.</maml:para> <maml:para>Acceptable values: "None", "Fixed", "Select", "Function".</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Value --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Value</maml:name> <maml:description> <maml:para>Specifies the Value list 'value' for the specified attribute. For Fixed Lists, separate the Value and Description by a semi-colon.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LimitToList --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>LimitToList</maml:name> <maml:description> <maml:para>Toggles on/off the Limit to list option.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MultipleSelection --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>MultipleSelection</maml:name> <maml:description> <maml:para>Toggles on/off the Multiple selection option.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute to update.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ValueType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ValueType</maml:name> <maml:description> <maml:para>Specifies the Value type for the specified attribute.</maml:para> <maml:para>Acceptable values: "None", "Fixed", "Select", "Function".</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Value --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Value</maml:name> <maml:description> <maml:para>Specifies the Value list 'value' for the specified attribute. For Fixed Lists, separate the Value and Description by a semi-colon.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LimitToList --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>LimitToList</maml:name> <maml:description> <maml:para>Toggles on/off the Limit to list option.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MultipleSelection --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>MultipleSelection</maml:name> <maml:description> <maml:para>Toggles on/off the Multiple selection option.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for setting an attribute's Value list settings. Sets Type to fixed and value to TEST.</maml:para> </maml:introduction> <dev:code>Set-PWAttributeValueSettings -EnvironmentName 'Complex' -AttributeName 'Title3' -ValueType Fixed -Value "TEST" -Verbose</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Example usage for setting an attribute's Value list settings. Toggles on Limit to list and Multiple selection.</maml:para> </maml:introduction> <dev:code>Set-PWAttributeEditingSettings -EnvironmentName 'Complex' -AttributeName 'Title2' -LimitToList "On" -MultipleSelection "On" -Verbose</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Clear-PWAuditTrailSettings --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Clear-PWAuditTrailSettings</command:name> <command:verb>Clear</command:verb> <command:noun>PWAuditTrailSettings</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Clear-PWAuditTrailSettings</maml:name> <!-- Parameter: AuditTrailType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>AuditTrailType</maml:name> <maml:description> <maml:para>Possible values: AADMSAT_TYPE_FIRST, AADMSAT_TYPE_VAULT, AADMSAT_TYPE_DOCUMENT, AADMSAT_TYPE_DOCUMENT_SET, AADMSAT_TYPE_WORKFLOW, AADMSAT_TYPE_STATE, AADMSAT_TYPE_USER, AADMSAT_TYPE_GROUP, AADMSAT_TYPE_USER_LIST, AADMSAT_TYPE_LAST, AADMSAT_TYPE_DS_REPORT, AADMSAT_TYPE_USER_LILO</maml:para> </maml:description> <command:parameterValue required="true">AuditTrailTypes</command:parameterValue> <dev:type> <maml:name>PWWrapper+AuditTrailTypes</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_VAULT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_DOCUMENT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_DOCUMENT_SET</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_WORKFLOW</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_STATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_USER</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_GROUP</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_USER_LIST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_DS_REPORT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_USER_LILO</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: AuditTrailAction --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AuditTrailAction</maml:name> <maml:description> <maml:para>Possible values: AADMSAT_ACT_DOC_FIRST, AADMSAT_ACT_DOC_UNKNOWN, AADMSAT_ACT_DOC_CREATE, AADMSAT_ACT_DOC_MODIFY, AADMSAT_ACT_DOC_ATTR, AADMSAT_ACT_DOC_FILE_ADD, AADMSAT_ACT_DOC_FILE_REM, AADMSAT_ACT_DOC_FILE_REP, AADMSAT_ACT_DOC_CIN, AADMSAT_ACT_DOC_VIEW, AADMSAT_ACT_DOC_CHOUT, AADMSAT_ACT_DOC_CPOUT, AADMSAT_ACT_DOC_GOUT, AADMSAT_ACT_DOC_STATE, AADMSAT_ACT_DOC_FINAL_S, AADMSAT_ACT_DOC_FINAL_R, AADMSAT_ACT_DOC_VERSION, AADMSAT_ACT_DOC_MOVE, AADMSAT_ACT_DOC_COPY, AADMSAT_ACT_DOC_SECUR, AADMSAT_ACT_DOC_REDLINE, AADMSAT_ACT_DOC_DELETE, AADMSAT_ACT_DOC_EXPORT, AADMSAT_ACT_DOC_FREE, AADMSAT_ACT_DOC_EXTRACT, AADMSAT_ACT_DOC_DISTRIBUTE, AADMSAT_ACT_DOC_SEND_TO, AADMSAT_ACT_DOC_COMMENT, AADMSAT_ACT_DOC_IMPORT, AADMSAT_ACT_DOC_ACL_ASSIGN, AADMSAT_ACT_DOC_ACL_MODIFY, AADMSAT_ACT_DOC_ACL_REMOVE, AADMSAT_ACT_DOC_REVIT, AADMSAT_ACT_DOC_PACK, AADMSAT_ACT_DOC_UNPACK, AADMSAT_ACT_DOC_LAST, AADMSAT_ACT_SET_FIRST, AADMSAT_ACT_SET_CREATE, AADMSAT_ACT_SET_ADD, AADMSAT_ACT_SET_REMOVE, AADMSAT_ACT_SET_LAST, AADMSAT_ACT_NONE, AADMSAT_ACT_DEFAULT, AADMSAT_ACT_VLT_FIRST, AADMSAT_ACT_VLT_CREATE, AADMSAT_ACT_VLT_MODIFY, AADMSAT_ACT_VLT_WFLOW, AADMSAT_ACT_VLT_DELETE, AADMSAT_ACT_VLT_STATE, AADMSAT_ACT_VLT_ACL_ASSIGN, AADMSAT_ACT_VLT_ACL_MODIFY, AADMSAT_ACT_VLT_ACL_REMOVE, AADMSAT_ACT_VLT_LAST, AADMSAT_ACT_USER_FIRST, AADMSAT_ACT_USER_LOGIN, AADMSAT_ACT_USER_LOGOUT, AADMSAT_ACT_USER_CREATE, AADMSAT_ACT_USER_LAST, AADMSAT_ACT_GROUP_FIRST, AADMSAT_ACT_GROUP_CREATE, AADMSAT_ACT_GROUP_MODIFY, AADMSAT_ACT_GROUP_ADD, AADMSAT_ACT_GROUP_REMOVE, AADMSAT_ACT_GROUP_LAST, AADMSAT_ACT_USER_LIST_FIRST, AADMSAT_ACT_USER_LIST_CREATE, AADMSAT_ACT_USER_LIST_MODIFY, AADMSAT_ACT_USER_LIST_ADD, AADMSAT_ACT_USER_LIST_REMOVE, AADMSAT_ACT_USER_LIST_LAST, AADMSAT_ACT_VLT_CUSTOM_FIRST, AADMSAT_ACT_VLT_CUSTOM_LAST, AADMSAT_ACT_DOC_CUSTOM_FIRST, AADMSAT_ACT_DOC_CUSTOM_LAST, AADMSAT_ACT_SET_CUSTOM_FIRST, AADMSAT_ACT_SET_CUSTOM_LAST, AADMSAT_ACT_GEN_CUSTOM_FIRST, AADMSAT_ACT_GEN_CUSTOM_LAST, AADMSAT_ACT_DOC_ATTR_CREATE, AADMSAT_ACT_DOC_ATTR_MODIFY, AADMSAT_ACT_DOC_ATTR_DELETE, AADMSAT_ACT_USER_CONNCOUNT</maml:para> </maml:description> <command:parameterValue required="true">AuditTrailActions</command:parameterValue> <dev:type> <maml:name>PWWrapper+AuditTrailActions</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>AADMSAT_ACT_DEFAULT</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_UNKNOWN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ATTR</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FILE_ADD</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FILE_REM</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FILE_REP</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CIN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_VIEW</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CHOUT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CPOUT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_GOUT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_STATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FINAL_S</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FINAL_R</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_VERSION</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_MOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_COPY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_SECUR</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_REDLINE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_DELETE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_EXPORT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FREE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_EXTRACT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_DISTRIBUTE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_SEND_TO</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_COMMENT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_IMPORT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ACL_ASSIGN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ACL_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ACL_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_REVIT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_PACK</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_UNPACK</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_ADD</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_NONE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DEFAULT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_WFLOW</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_DELETE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_STATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_ACL_ASSIGN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_ACL_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_ACL_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LOGIN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LOGOUT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_ADD</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_ADD</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_CUSTOM_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_CUSTOM_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CUSTOM_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CUSTOM_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_CUSTOM_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_CUSTOM_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GEN_CUSTOM_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GEN_CUSTOM_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ATTR_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ATTR_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ATTR_DELETE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_CONNCOUNT</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: AuditTrailType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>AuditTrailType</maml:name> <maml:description> <maml:para>Possible values: AADMSAT_TYPE_FIRST, AADMSAT_TYPE_VAULT, AADMSAT_TYPE_DOCUMENT, AADMSAT_TYPE_DOCUMENT_SET, AADMSAT_TYPE_WORKFLOW, AADMSAT_TYPE_STATE, AADMSAT_TYPE_USER, AADMSAT_TYPE_GROUP, AADMSAT_TYPE_USER_LIST, AADMSAT_TYPE_LAST, AADMSAT_TYPE_DS_REPORT, AADMSAT_TYPE_USER_LILO</maml:para> </maml:description> <command:parameterValue required="true">AuditTrailTypes</command:parameterValue> <dev:type> <maml:name>PWWrapper+AuditTrailTypes</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_VAULT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_DOCUMENT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_DOCUMENT_SET</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_WORKFLOW</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_STATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_USER</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_GROUP</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_USER_LIST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_DS_REPORT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_USER_LILO</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: AuditTrailAction --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AuditTrailAction</maml:name> <maml:description> <maml:para>Possible values: AADMSAT_ACT_DOC_FIRST, AADMSAT_ACT_DOC_UNKNOWN, AADMSAT_ACT_DOC_CREATE, AADMSAT_ACT_DOC_MODIFY, AADMSAT_ACT_DOC_ATTR, AADMSAT_ACT_DOC_FILE_ADD, AADMSAT_ACT_DOC_FILE_REM, AADMSAT_ACT_DOC_FILE_REP, AADMSAT_ACT_DOC_CIN, AADMSAT_ACT_DOC_VIEW, AADMSAT_ACT_DOC_CHOUT, AADMSAT_ACT_DOC_CPOUT, AADMSAT_ACT_DOC_GOUT, AADMSAT_ACT_DOC_STATE, AADMSAT_ACT_DOC_FINAL_S, AADMSAT_ACT_DOC_FINAL_R, AADMSAT_ACT_DOC_VERSION, AADMSAT_ACT_DOC_MOVE, AADMSAT_ACT_DOC_COPY, AADMSAT_ACT_DOC_SECUR, AADMSAT_ACT_DOC_REDLINE, AADMSAT_ACT_DOC_DELETE, AADMSAT_ACT_DOC_EXPORT, AADMSAT_ACT_DOC_FREE, AADMSAT_ACT_DOC_EXTRACT, AADMSAT_ACT_DOC_DISTRIBUTE, AADMSAT_ACT_DOC_SEND_TO, AADMSAT_ACT_DOC_COMMENT, AADMSAT_ACT_DOC_IMPORT, AADMSAT_ACT_DOC_ACL_ASSIGN, AADMSAT_ACT_DOC_ACL_MODIFY, AADMSAT_ACT_DOC_ACL_REMOVE, AADMSAT_ACT_DOC_REVIT, AADMSAT_ACT_DOC_PACK, AADMSAT_ACT_DOC_UNPACK, AADMSAT_ACT_DOC_LAST, AADMSAT_ACT_SET_FIRST, AADMSAT_ACT_SET_CREATE, AADMSAT_ACT_SET_ADD, AADMSAT_ACT_SET_REMOVE, AADMSAT_ACT_SET_LAST, AADMSAT_ACT_NONE, AADMSAT_ACT_DEFAULT, AADMSAT_ACT_VLT_FIRST, AADMSAT_ACT_VLT_CREATE, AADMSAT_ACT_VLT_MODIFY, AADMSAT_ACT_VLT_WFLOW, AADMSAT_ACT_VLT_DELETE, AADMSAT_ACT_VLT_STATE, AADMSAT_ACT_VLT_ACL_ASSIGN, AADMSAT_ACT_VLT_ACL_MODIFY, AADMSAT_ACT_VLT_ACL_REMOVE, AADMSAT_ACT_VLT_LAST, AADMSAT_ACT_USER_FIRST, AADMSAT_ACT_USER_LOGIN, AADMSAT_ACT_USER_LOGOUT, AADMSAT_ACT_USER_CREATE, AADMSAT_ACT_USER_LAST, AADMSAT_ACT_GROUP_FIRST, AADMSAT_ACT_GROUP_CREATE, AADMSAT_ACT_GROUP_MODIFY, AADMSAT_ACT_GROUP_ADD, AADMSAT_ACT_GROUP_REMOVE, AADMSAT_ACT_GROUP_LAST, AADMSAT_ACT_USER_LIST_FIRST, AADMSAT_ACT_USER_LIST_CREATE, AADMSAT_ACT_USER_LIST_MODIFY, AADMSAT_ACT_USER_LIST_ADD, AADMSAT_ACT_USER_LIST_REMOVE, AADMSAT_ACT_USER_LIST_LAST, AADMSAT_ACT_VLT_CUSTOM_FIRST, AADMSAT_ACT_VLT_CUSTOM_LAST, AADMSAT_ACT_DOC_CUSTOM_FIRST, AADMSAT_ACT_DOC_CUSTOM_LAST, AADMSAT_ACT_SET_CUSTOM_FIRST, AADMSAT_ACT_SET_CUSTOM_LAST, AADMSAT_ACT_GEN_CUSTOM_FIRST, AADMSAT_ACT_GEN_CUSTOM_LAST, AADMSAT_ACT_DOC_ATTR_CREATE, AADMSAT_ACT_DOC_ATTR_MODIFY, AADMSAT_ACT_DOC_ATTR_DELETE, AADMSAT_ACT_USER_CONNCOUNT</maml:para> </maml:description> <command:parameterValue required="true">AuditTrailActions</command:parameterValue> <dev:type> <maml:name>PWWrapper+AuditTrailActions</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>AADMSAT_ACT_DEFAULT</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_UNKNOWN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ATTR</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FILE_ADD</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FILE_REM</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FILE_REP</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CIN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_VIEW</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CHOUT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CPOUT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_GOUT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_STATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FINAL_S</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FINAL_R</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_VERSION</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_MOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_COPY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_SECUR</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_REDLINE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_DELETE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_EXPORT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FREE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_EXTRACT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_DISTRIBUTE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_SEND_TO</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_COMMENT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_IMPORT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ACL_ASSIGN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ACL_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ACL_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_REVIT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_PACK</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_UNPACK</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_ADD</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_NONE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DEFAULT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_WFLOW</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_DELETE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_STATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_ACL_ASSIGN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_ACL_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_ACL_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LOGIN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LOGOUT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_ADD</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_ADD</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_CUSTOM_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_CUSTOM_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CUSTOM_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CUSTOM_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_CUSTOM_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_CUSTOM_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GEN_CUSTOM_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GEN_CUSTOM_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ATTR_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ATTR_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ATTR_DELETE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_CONNCOUNT</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Get-PWAuditTrailSettings --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWAuditTrailSettings</command:name> <command:verb>Get</command:verb> <command:noun>PWAuditTrailSettings</command:noun> <maml:description> <maml:para>Get-PWAuditTrailSettings retrieves the audit trail settings for the current ProjectWise datasource.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWAuditTrailSettings</maml:name> <!-- Parameter: AuditTrailType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>AuditTrailType</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: AuditTrailType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>AuditTrailType</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for getting Audit Trail data.</maml:para> </maml:introduction> <dev:code>Get-PWAuditTrailSettings</dev:code> <dev:remarks> <maml:para>Returns all audit trail settings for current datasource.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Example usage for getting only the project/folder Audit Trail data.</maml:para> </maml:introduction> <dev:code>Get-PWAuditTrailSettings -AuditTrailType 'project'</dev:code> <dev:remarks> <maml:para>Returns only the project/folder audit trail settings for current datasource.</maml:para> </dev:remarks> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWAuditTrailSettings --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWAuditTrailSettings</command:name> <command:verb>Set</command:verb> <command:noun>PWAuditTrailSettings</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWAuditTrailSettings</maml:name> <!-- Parameter: AuditTrailType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>AuditTrailType</maml:name> <maml:description> <maml:para>Possible values: AADMSAT_TYPE_FIRST, AADMSAT_TYPE_VAULT, AADMSAT_TYPE_DOCUMENT, AADMSAT_TYPE_DOCUMENT_SET, AADMSAT_TYPE_WORKFLOW, AADMSAT_TYPE_STATE, AADMSAT_TYPE_USER, AADMSAT_TYPE_GROUP, AADMSAT_TYPE_USER_LIST, AADMSAT_TYPE_LAST, AADMSAT_TYPE_DS_REPORT, AADMSAT_TYPE_USER_LILO</maml:para> </maml:description> <command:parameterValue required="true">AuditTrailTypes</command:parameterValue> <dev:type> <maml:name>PWWrapper+AuditTrailTypes</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_VAULT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_DOCUMENT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_DOCUMENT_SET</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_WORKFLOW</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_STATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_USER</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_GROUP</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_USER_LIST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_DS_REPORT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_USER_LILO</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: AuditTrailAction --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AuditTrailAction</maml:name> <maml:description> <maml:para>Possible values: AADMSAT_ACT_DOC_FIRST, AADMSAT_ACT_DOC_UNKNOWN, AADMSAT_ACT_DOC_CREATE, AADMSAT_ACT_DOC_MODIFY, AADMSAT_ACT_DOC_ATTR, AADMSAT_ACT_DOC_FILE_ADD, AADMSAT_ACT_DOC_FILE_REM, AADMSAT_ACT_DOC_FILE_REP, AADMSAT_ACT_DOC_CIN, AADMSAT_ACT_DOC_VIEW, AADMSAT_ACT_DOC_CHOUT, AADMSAT_ACT_DOC_CPOUT, AADMSAT_ACT_DOC_GOUT, AADMSAT_ACT_DOC_STATE, AADMSAT_ACT_DOC_FINAL_S, AADMSAT_ACT_DOC_FINAL_R, AADMSAT_ACT_DOC_VERSION, AADMSAT_ACT_DOC_MOVE, AADMSAT_ACT_DOC_COPY, AADMSAT_ACT_DOC_SECUR, AADMSAT_ACT_DOC_REDLINE, AADMSAT_ACT_DOC_DELETE, AADMSAT_ACT_DOC_EXPORT, AADMSAT_ACT_DOC_FREE, AADMSAT_ACT_DOC_EXTRACT, AADMSAT_ACT_DOC_DISTRIBUTE, AADMSAT_ACT_DOC_SEND_TO, AADMSAT_ACT_DOC_COMMENT, AADMSAT_ACT_DOC_IMPORT, AADMSAT_ACT_DOC_ACL_ASSIGN, AADMSAT_ACT_DOC_ACL_MODIFY, AADMSAT_ACT_DOC_ACL_REMOVE, AADMSAT_ACT_DOC_REVIT, AADMSAT_ACT_DOC_PACK, AADMSAT_ACT_DOC_UNPACK, AADMSAT_ACT_DOC_LAST, AADMSAT_ACT_SET_FIRST, AADMSAT_ACT_SET_CREATE, AADMSAT_ACT_SET_ADD, AADMSAT_ACT_SET_REMOVE, AADMSAT_ACT_SET_LAST, AADMSAT_ACT_NONE, AADMSAT_ACT_DEFAULT, AADMSAT_ACT_VLT_FIRST, AADMSAT_ACT_VLT_CREATE, AADMSAT_ACT_VLT_MODIFY, AADMSAT_ACT_VLT_WFLOW, AADMSAT_ACT_VLT_DELETE, AADMSAT_ACT_VLT_STATE, AADMSAT_ACT_VLT_ACL_ASSIGN, AADMSAT_ACT_VLT_ACL_MODIFY, AADMSAT_ACT_VLT_ACL_REMOVE, AADMSAT_ACT_VLT_LAST, AADMSAT_ACT_USER_FIRST, AADMSAT_ACT_USER_LOGIN, AADMSAT_ACT_USER_LOGOUT, AADMSAT_ACT_USER_CREATE, AADMSAT_ACT_USER_LAST, AADMSAT_ACT_GROUP_FIRST, AADMSAT_ACT_GROUP_CREATE, AADMSAT_ACT_GROUP_MODIFY, AADMSAT_ACT_GROUP_ADD, AADMSAT_ACT_GROUP_REMOVE, AADMSAT_ACT_GROUP_LAST, AADMSAT_ACT_USER_LIST_FIRST, AADMSAT_ACT_USER_LIST_CREATE, AADMSAT_ACT_USER_LIST_MODIFY, AADMSAT_ACT_USER_LIST_ADD, AADMSAT_ACT_USER_LIST_REMOVE, AADMSAT_ACT_USER_LIST_LAST, AADMSAT_ACT_VLT_CUSTOM_FIRST, AADMSAT_ACT_VLT_CUSTOM_LAST, AADMSAT_ACT_DOC_CUSTOM_FIRST, AADMSAT_ACT_DOC_CUSTOM_LAST, AADMSAT_ACT_SET_CUSTOM_FIRST, AADMSAT_ACT_SET_CUSTOM_LAST, AADMSAT_ACT_GEN_CUSTOM_FIRST, AADMSAT_ACT_GEN_CUSTOM_LAST, AADMSAT_ACT_DOC_ATTR_CREATE, AADMSAT_ACT_DOC_ATTR_MODIFY, AADMSAT_ACT_DOC_ATTR_DELETE, AADMSAT_ACT_USER_CONNCOUNT</maml:para> </maml:description> <command:parameterValue required="true">AuditTrailActions</command:parameterValue> <dev:type> <maml:name>PWWrapper+AuditTrailActions</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>AADMSAT_ACT_DEFAULT</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_UNKNOWN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ATTR</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FILE_ADD</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FILE_REM</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FILE_REP</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CIN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_VIEW</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CHOUT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CPOUT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_GOUT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_STATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FINAL_S</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FINAL_R</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_VERSION</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_MOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_COPY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_SECUR</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_REDLINE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_DELETE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_EXPORT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FREE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_EXTRACT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_DISTRIBUTE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_SEND_TO</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_COMMENT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_IMPORT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ACL_ASSIGN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ACL_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ACL_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_REVIT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_PACK</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_UNPACK</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_ADD</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_NONE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DEFAULT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_WFLOW</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_DELETE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_STATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_ACL_ASSIGN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_ACL_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_ACL_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LOGIN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LOGOUT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_ADD</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_ADD</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_CUSTOM_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_CUSTOM_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CUSTOM_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CUSTOM_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_CUSTOM_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_CUSTOM_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GEN_CUSTOM_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GEN_CUSTOM_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ATTR_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ATTR_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ATTR_DELETE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_CONNCOUNT</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: AuditTrailType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>AuditTrailType</maml:name> <maml:description> <maml:para>Possible values: AADMSAT_TYPE_FIRST, AADMSAT_TYPE_VAULT, AADMSAT_TYPE_DOCUMENT, AADMSAT_TYPE_DOCUMENT_SET, AADMSAT_TYPE_WORKFLOW, AADMSAT_TYPE_STATE, AADMSAT_TYPE_USER, AADMSAT_TYPE_GROUP, AADMSAT_TYPE_USER_LIST, AADMSAT_TYPE_LAST, AADMSAT_TYPE_DS_REPORT, AADMSAT_TYPE_USER_LILO</maml:para> </maml:description> <command:parameterValue required="true">AuditTrailTypes</command:parameterValue> <dev:type> <maml:name>PWWrapper+AuditTrailTypes</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_VAULT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_DOCUMENT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_DOCUMENT_SET</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_WORKFLOW</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_STATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_USER</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_GROUP</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_USER_LIST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_DS_REPORT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_TYPE_USER_LILO</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: AuditTrailAction --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>AuditTrailAction</maml:name> <maml:description> <maml:para>Possible values: AADMSAT_ACT_DOC_FIRST, AADMSAT_ACT_DOC_UNKNOWN, AADMSAT_ACT_DOC_CREATE, AADMSAT_ACT_DOC_MODIFY, AADMSAT_ACT_DOC_ATTR, AADMSAT_ACT_DOC_FILE_ADD, AADMSAT_ACT_DOC_FILE_REM, AADMSAT_ACT_DOC_FILE_REP, AADMSAT_ACT_DOC_CIN, AADMSAT_ACT_DOC_VIEW, AADMSAT_ACT_DOC_CHOUT, AADMSAT_ACT_DOC_CPOUT, AADMSAT_ACT_DOC_GOUT, AADMSAT_ACT_DOC_STATE, AADMSAT_ACT_DOC_FINAL_S, AADMSAT_ACT_DOC_FINAL_R, AADMSAT_ACT_DOC_VERSION, AADMSAT_ACT_DOC_MOVE, AADMSAT_ACT_DOC_COPY, AADMSAT_ACT_DOC_SECUR, AADMSAT_ACT_DOC_REDLINE, AADMSAT_ACT_DOC_DELETE, AADMSAT_ACT_DOC_EXPORT, AADMSAT_ACT_DOC_FREE, AADMSAT_ACT_DOC_EXTRACT, AADMSAT_ACT_DOC_DISTRIBUTE, AADMSAT_ACT_DOC_SEND_TO, AADMSAT_ACT_DOC_COMMENT, AADMSAT_ACT_DOC_IMPORT, AADMSAT_ACT_DOC_ACL_ASSIGN, AADMSAT_ACT_DOC_ACL_MODIFY, AADMSAT_ACT_DOC_ACL_REMOVE, AADMSAT_ACT_DOC_REVIT, AADMSAT_ACT_DOC_PACK, AADMSAT_ACT_DOC_UNPACK, AADMSAT_ACT_DOC_LAST, AADMSAT_ACT_SET_FIRST, AADMSAT_ACT_SET_CREATE, AADMSAT_ACT_SET_ADD, AADMSAT_ACT_SET_REMOVE, AADMSAT_ACT_SET_LAST, AADMSAT_ACT_NONE, AADMSAT_ACT_DEFAULT, AADMSAT_ACT_VLT_FIRST, AADMSAT_ACT_VLT_CREATE, AADMSAT_ACT_VLT_MODIFY, AADMSAT_ACT_VLT_WFLOW, AADMSAT_ACT_VLT_DELETE, AADMSAT_ACT_VLT_STATE, AADMSAT_ACT_VLT_ACL_ASSIGN, AADMSAT_ACT_VLT_ACL_MODIFY, AADMSAT_ACT_VLT_ACL_REMOVE, AADMSAT_ACT_VLT_LAST, AADMSAT_ACT_USER_FIRST, AADMSAT_ACT_USER_LOGIN, AADMSAT_ACT_USER_LOGOUT, AADMSAT_ACT_USER_CREATE, AADMSAT_ACT_USER_LAST, AADMSAT_ACT_GROUP_FIRST, AADMSAT_ACT_GROUP_CREATE, AADMSAT_ACT_GROUP_MODIFY, AADMSAT_ACT_GROUP_ADD, AADMSAT_ACT_GROUP_REMOVE, AADMSAT_ACT_GROUP_LAST, AADMSAT_ACT_USER_LIST_FIRST, AADMSAT_ACT_USER_LIST_CREATE, AADMSAT_ACT_USER_LIST_MODIFY, AADMSAT_ACT_USER_LIST_ADD, AADMSAT_ACT_USER_LIST_REMOVE, AADMSAT_ACT_USER_LIST_LAST, AADMSAT_ACT_VLT_CUSTOM_FIRST, AADMSAT_ACT_VLT_CUSTOM_LAST, AADMSAT_ACT_DOC_CUSTOM_FIRST, AADMSAT_ACT_DOC_CUSTOM_LAST, AADMSAT_ACT_SET_CUSTOM_FIRST, AADMSAT_ACT_SET_CUSTOM_LAST, AADMSAT_ACT_GEN_CUSTOM_FIRST, AADMSAT_ACT_GEN_CUSTOM_LAST, AADMSAT_ACT_DOC_ATTR_CREATE, AADMSAT_ACT_DOC_ATTR_MODIFY, AADMSAT_ACT_DOC_ATTR_DELETE, AADMSAT_ACT_USER_CONNCOUNT</maml:para> </maml:description> <command:parameterValue required="true">AuditTrailActions</command:parameterValue> <dev:type> <maml:name>PWWrapper+AuditTrailActions</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>AADMSAT_ACT_DEFAULT</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_UNKNOWN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ATTR</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FILE_ADD</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FILE_REM</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FILE_REP</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CIN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_VIEW</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CHOUT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CPOUT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_GOUT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_STATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FINAL_S</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FINAL_R</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_VERSION</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_MOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_COPY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_SECUR</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_REDLINE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_DELETE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_EXPORT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_FREE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_EXTRACT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_DISTRIBUTE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_SEND_TO</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_COMMENT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_IMPORT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ACL_ASSIGN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ACL_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ACL_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_REVIT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_PACK</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_UNPACK</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_ADD</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_NONE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DEFAULT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_WFLOW</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_DELETE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_STATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_ACL_ASSIGN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_ACL_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_ACL_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LOGIN</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LOGOUT</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_ADD</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GROUP_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_ADD</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_REMOVE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_LIST_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_CUSTOM_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_VLT_CUSTOM_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CUSTOM_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_CUSTOM_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_CUSTOM_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_SET_CUSTOM_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GEN_CUSTOM_FIRST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_GEN_CUSTOM_LAST</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ATTR_CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ATTR_MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_DOC_ATTR_DELETE</command:parameterValue> <command:parameterValue required="false" variableLength="false">AADMSAT_ACT_USER_CONNCOUNT</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Clear-PWAuditTrailSettingsAll --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Clear-PWAuditTrailSettingsAll</command:name> <command:verb>Clear</command:verb> <command:noun>PWAuditTrailSettingsAll</command:noun> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Set-PWAuditTrailSettingsAll --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWAuditTrailSettingsAll</command:name> <command:verb>Set</command:verb> <command:noun>PWAuditTrailSettingsAll</command:noun> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Add-PWConnectedProject --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWConnectedProject</command:name> <command:verb>Add</command:verb> <command:noun>PWConnectedProject</command:noun> <maml:description> <maml:para>Create a new CONNECTED Project and optionally associate with a ProjectWise rich project.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Add-PWConnectedProject</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. Connected projects will be added to this folders</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ConnectedProjectName</maml:name> <maml:description> <maml:para>Project Name to create (must be unique)</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectNumber --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ConnectedProjectNumber</maml:name> <maml:description> <maml:para>Project Number to create (must be unique). Can be non-numeric.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Location --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Location</maml:name> <maml:description> <maml:para>Location name for new project.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AssetType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>AssetType</maml:name> <maml:description> <maml:para>Asset type name for new project (not required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Industry --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Industry</maml:name> <maml:description> <maml:para>Industry type name for new project (not required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MakeUnique --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>MakeUnique</maml:name> <maml:description> <maml:para>If set, will add a date/time suffix to the name and number to ensure uniqueness. Project creation will fail if name and number are not unique.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Only used if CONNECT client session is not established.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Only used if CONNECT client session is not established.</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. Connected projects will be added to this folders</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ConnectedProjectName</maml:name> <maml:description> <maml:para>Project Name to create (must be unique)</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectNumber --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ConnectedProjectNumber</maml:name> <maml:description> <maml:para>Project Number to create (must be unique). Can be non-numeric.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Location --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Location</maml:name> <maml:description> <maml:para>Location name for new project.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AssetType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>AssetType</maml:name> <maml:description> <maml:para>Asset type name for new project (not required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Industry --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Industry</maml:name> <maml:description> <maml:para>Industry type name for new project (not required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MakeUnique --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>MakeUnique</maml:name> <maml:description> <maml:para>If set, will add a date/time suffix to the name and number to ensure uniqueness. Project creation will fail if name and number are not unique.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Only used if CONNECT client session is not established.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Only used if CONNECT client session is not established.</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. Connected projects will be added to this folders</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Create new rich projects and add connected projects to them.</maml:para> <maml:para>$suffixes = "31","32","33","34","35"</maml:para> <maml:para>foreach ($suffix in $suffixes){</maml:para> <maml:para>$rp2=New-PWRichProject -NewFolderPath "_Testing Connected 03\Project $suffix" -DoNotCopyDocuments -TemplateName 'Civil' -StorageArea Storage -UpgradeIfExists</maml:para> <maml:para>Add-PWConnectedProject -InputFolder $rp2 -ConnectedProjectName "Alpha Bravo Charlie $suffix" -ConnectedProjectNumber "AlphaBravoCharlieDelta$suffix" -Location 'Durham, NC' -AssetType 'Airport'</maml:para> <maml:para>}</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWConnectedProject --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWConnectedProject</command:name> <command:verb>Get</command:verb> <command:noun>PWConnectedProject</command:noun> <maml:description> <maml:para>Gets CONNECTED project from a rich project.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes an array of ProjectWiseFolders and returns connected project objects.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Get-PWConnectedProject</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of ProjectWise folders from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for getting the CONNECTED project for each rich project in a tree.</maml:para> <maml:para>New-PWLogin Server:DSN</maml:para> <maml:para>#Get all the rich projects in this tree and pipe to this cmdlet</maml:para> <maml:para>$rps = Get-PWRichProjects -FolderPath "PWPS Connected Project Test 6\Projects 2"</maml:para> <maml:para>#foreach rich project, get the Connected Project ID</maml:para> <maml:para>foreach ($rp in $rps)</maml:para> <maml:para>{</maml:para> <maml:para>write-host $rp</maml:para> <maml:para>Get-PWConnectedProject $rp</maml:para> <maml:para>}</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWConnectedProjectId --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWConnectedProjectId</command:name> <command:verb>Get</command:verb> <command:noun>PWConnectedProjectId</command:noun> <maml:description> <maml:para>Gets CONNECTED project ID from a rich project.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes an array of ProjectWiseFolders and returns a connected project id.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Get-PWConnectedProjectId</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of ProjectWise folders from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for getting the CONNECTED project id for each rich project in a tree.</maml:para> <maml:para>New-PWLogin Server:DSN</maml:para> <maml:para>#Get all the rich projects in this tree and pipe to this cmdlet</maml:para> <maml:para>$rps = Get-PWRichProjects -FolderPath "PWPS Connected Project Test 6\Projects 2"</maml:para> <maml:para>#foreach rich project, get the Connected Project ID</maml:para> <maml:para>foreach ($rp in $rps)</maml:para> <maml:para>{</maml:para> <maml:para>write-host $rp</maml:para> <maml:para>Get-PWConnectedProjectId $rp</maml:para> <maml:para>}</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Copy-PWConnectedProjectSettings --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Copy-PWConnectedProjectSettings</command:name> <command:verb>Copy</command:verb> <command:noun>PWConnectedProjectSettings</command:noun> <maml:description> <maml:para>Copy settings from one CONNECTED project to another.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: TargetFolders --> <command:syntaxItem> <maml:name>Copy-PWConnectedProjectSettings</maml:name> <!-- Parameter: TargetFolders --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>TargetFolders</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: SourceRichProjectPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SourceRichProjectPath</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SourceProjectId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SourceProjectId</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">Guid</command:parameterValue> <dev:type> <maml:name>System.Guid</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>00000000-0000-0000-0000-000000000000</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: TargetFolders --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>TargetFolders</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: SourceRichProjectPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SourceRichProjectPath</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SourceProjectId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SourceProjectId</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">Guid</command:parameterValue> <dev:type> <maml:name>System.Guid</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>00000000-0000-0000-0000-000000000000</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of ProjectWise folders from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Get all the rich projects in a tree and pipe to this cmdlet with a folder path to the source rich project (and inferred Connected Project)</maml:para> <maml:para>Get-PWRichProjects -FolderPath 'Connected 03\Projects' | Copy-PWConnectedProjectSettings -SourceRichProjectPath 'Connected\Project 01'</maml:para> <maml:para>#Use connected project id to identify source Connected Project</maml:para> <maml:para>$connectedId = Get-PWRichProjects -FolderPath '_Testing Connected\Project 02' | Get-PWConnectedProjectId</maml:para> <maml:para>Get-PWRichProjects -FolderPath '_Testing Connected 03' | Copy-PWConnectedProjectSettings -SourceProjectId $connectedId</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWConnectorToken --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWConnectorToken</command:name> <command:verb>Get</command:verb> <command:noun>PWConnectorToken</command:noun> <maml:description> <maml:para>Get a tokenized credential for use with the ProjectWise Connector.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWConnectorToken</maml:name> <!-- Parameter: UserName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <maml:description> <maml:para>User name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Password --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Password</maml:name> <maml:description> <maml:para>Password in secure string (Required).</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <maml:description> <maml:para>User name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Password --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Password</maml:name> <maml:description> <maml:para>Password in secure string (Required).</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>$encryptedPassword = Read-Host -Prompt "Enter Password:" -AsSecureString</maml:para> <maml:para>$token = Get-PWConnectorToken -UserName "user.name" -Password $encryptedPassword</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWCurrentDatasource --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWCurrentDatasource</command:name> <command:verb>Get</command:verb> <command:noun>PWCurrentDatasource</command:noun> <maml:description> <maml:para>Get current ProjectWise datasource name.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for getting current datasource name.</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>Get-PWCurrentDatasource</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWCurrentDSSession --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWCurrentDSSession</command:name> <command:verb>Get</command:verb> <command:noun>PWCurrentDSSession</command:noun> <maml:description> <maml:para>Get-PWCurrentDSSession retrieves the current datasource session information.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-PWCurrentDSSession retrieves the current datasource session information</maml:para> </maml:description> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for populating a variable with the current datasource session information.</maml:para> <maml:para>$session = Get-PWCurrentDSSession</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWCustomNumericSetting --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWCustomNumericSetting</command:name> <command:verb>Get</command:verb> <command:noun>PWCustomNumericSetting</command:noun> <maml:description> <maml:para>Get value for custom numeric setting at the datasource level.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWCustomNumericSetting</maml:name> <!-- Parameter: SettingID --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SettingID</maml:name> <maml:description> <maml:para>Setting ID (normally negative number for custom settings).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SettingID --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SettingID</maml:name> <maml:description> <maml:para>Setting ID (normally negative number for custom settings).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWCustomNumericSetting -SettingID -1789</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWCustomNumericSetting --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWCustomNumericSetting</command:name> <command:verb>Set</command:verb> <command:noun>PWCustomNumericSetting</command:noun> <maml:description> <maml:para>Set value for custom numeric setting at the datasource level.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWCustomNumericSetting</maml:name> <!-- Parameter: SettingID --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SettingID</maml:name> <maml:description> <maml:para>Setting ID (normally negative number for custom settings).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Value --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Value</maml:name> <maml:description> <maml:para>Value to set for custom setting.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SettingID --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SettingID</maml:name> <maml:description> <maml:para>Setting ID (normally negative number for custom settings).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Value --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Value</maml:name> <maml:description> <maml:para>Value to set for custom setting.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Set-PWCustomNumericSetting -SettingID -1789 -Value 10</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWCustomStringSetting --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWCustomStringSetting</command:name> <command:verb>Get</command:verb> <command:noun>PWCustomStringSetting</command:noun> <maml:description> <maml:para>Get value for custom string setting at the datasource level.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWCustomStringSetting</maml:name> <!-- Parameter: SettingID --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SettingID</maml:name> <maml:description> <maml:para>Setting ID (normally negative number for custom settings).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SettingID --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SettingID</maml:name> <maml:description> <maml:para>Setting ID (normally negative number for custom settings).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWCustomStringSetting -SettingID -1776</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWCustomStringSetting --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWCustomStringSetting</command:name> <command:verb>Set</command:verb> <command:noun>PWCustomStringSetting</command:noun> <maml:description> <maml:para>Set value for custom string setting at the datasource level.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWCustomStringSetting</maml:name> <!-- Parameter: SettingID --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SettingID</maml:name> <maml:description> <maml:para>Setting ID (normally negative number for custom settings).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Value --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Value</maml:name> <maml:description> <maml:para>Value to set for custom setting.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SettingID --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SettingID</maml:name> <maml:description> <maml:para>Setting ID (normally negative number for custom settings).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Value --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Value</maml:name> <maml:description> <maml:para>Value to set for custom setting.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Set-PWCustomStringSetting -SettingID -1776 -Value "We hold these truths..."</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWDatasourceConfigurationEntry --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWDatasourceConfigurationEntry</command:name> <command:verb>New</command:verb> <command:noun>PWDatasourceConfigurationEntry</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>New-PWDatasourceConfigurationEntry</maml:name> <!-- Parameter: ServerName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>ServerName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DatasourceName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>DatasourceName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ODBCConnectionName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>ODBCConnectionName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DatabaseUser --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>DatabaseUser</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DatabasePassword --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>DatabasePassword</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IsSSO --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>IsSSO</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IsOracle --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>IsOracle</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ServerName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>ServerName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DatasourceName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>DatasourceName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ODBCConnectionName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>ODBCConnectionName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DatabaseUser --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>DatabaseUser</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DatabasePassword --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>DatabasePassword</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IsSSO --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>IsSSO</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IsOracle --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>IsOracle</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Get-PWDatasourceGuid --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWDatasourceGuid</command:name> <command:verb>Get</command:verb> <command:noun>PWDatasourceGuid</command:noun> <maml:description> <maml:para>Get the global unique identifier for the datasource.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>#Get datasource global unique identifier</maml:para> <maml:para>Get-PWDatasourceGuid</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Show-PWDatasources --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Show-PWDatasources</command:name> <command:verb>Show</command:verb> <command:noun>PWDatasources</command:noun> <maml:description> <maml:para>Get a list of the datasources.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>$ds = Show-PWDatasources</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Save-PWDMIncomingSubmittal --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Save-PWDMIncomingSubmittal</command:name> <command:verb>Save</command:verb> <command:noun>PWDMIncomingSubmittal</command:noun> <maml:description> <maml:para>Downloads incoming submittals packages.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Downloads incoming submittals packages.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: Submittals --> <command:syntaxItem> <maml:name>Save-PWDMIncomingSubmittal</maml:name> <!-- Parameter: Submittals --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Submittals</maml:name> <maml:description> <maml:para>Transmittals to download.</maml:para> </maml:description> <command:parameterValue required="true">PWDMIncomingSubmittal[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWDMIncomingSubmittal[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.PWDMIncomingSubmittal[]</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>ConnectedProjectId</maml:name> <maml:description> <maml:para>CONNECTED project id.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PackageId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>PackageId</maml:name> <maml:description> <maml:para>ID of package to download.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Output folder.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="4"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="5"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Submittals --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Submittals</maml:name> <maml:description> <maml:para>Transmittals to download.</maml:para> </maml:description> <command:parameterValue required="true">PWDMIncomingSubmittal[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWDMIncomingSubmittal[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.PWDMIncomingSubmittal[]</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>ConnectedProjectId</maml:name> <maml:description> <maml:para>CONNECTED project id.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PackageId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>PackageId</maml:name> <maml:description> <maml:para>ID of package to download.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Output folder.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="4"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="5"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.PWDMIncomingSubmittal[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Transmittals to download.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>CONNECTED project id.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>ID of package to download.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Output folder.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for downloading all submittals for a datasource.</maml:para> <maml:para>$rps=Get-PWRichProjects</maml:para> <maml:para>Get-PWDMIncomingSubmittals $rps | Save-PWDMIncomingSubmittal -OutputFolder d:\submittals</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWDMIncomingSubmittals --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWDMIncomingSubmittals</command:name> <command:verb>Get</command:verb> <command:noun>PWDMIncomingSubmittals</command:noun> <maml:description> <maml:para>Generates a list containing all Incoming Submittals in the CONNECTed project associated with the rich projects passed in.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Generates a list containing all Incoming Submittals in the CONNECTed project associated with the rich projects passed in.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputFolders --> <command:syntaxItem> <maml:name>Get-PWDMIncomingSubmittals</maml:name> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. These folders will be included in report if they are rich projects and have CONNECTed projects.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ConnectedProjectId</maml:name> <maml:description> <maml:para>Path to the rich project from which we'll find the associated CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DataTable --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>DataTable</maml:name> <maml:description> <maml:para>Output DataTable.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. These folders will be included in report if they are rich projects and have CONNECTed projects.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ConnectedProjectId</maml:name> <maml:description> <maml:para>Path to the rich project from which we'll find the associated CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DataTable --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>DataTable</maml:name> <maml:description> <maml:para>Output DataTable.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. These folders will be included in report if they are rich projects and have CONNECTed projects.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for reporting on incoming submittals for CONNECTED projects.</maml:para> <maml:para>$rps=Get-PWRichProjects</maml:para> <maml:para>GetPWDMIncomingSubmittals $rps</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Save-PWDMOutgoingTransmittal --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Save-PWDMOutgoingTransmittal</command:name> <command:verb>Save</command:verb> <command:noun>PWDMOutgoingTransmittal</command:noun> <maml:description> <maml:para>Downloads outgoing transmittals packages.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Downloads outgoing transmittals packages.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: Transmittals --> <command:syntaxItem> <maml:name>Save-PWDMOutgoingTransmittal</maml:name> <!-- Parameter: Transmittals --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Transmittals</maml:name> <maml:description> <maml:para>Transmittals to download.</maml:para> </maml:description> <command:parameterValue required="true">PWDMIncomingSubmittal[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWDMIncomingSubmittal[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.PWDMIncomingSubmittal[]</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>ConnectedProjectId</maml:name> <maml:description> <maml:para>CONNECTED project id.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PackageId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>PackageId</maml:name> <maml:description> <maml:para>ID of package to download.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Output folder.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="4"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="5"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Transmittals --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Transmittals</maml:name> <maml:description> <maml:para>Transmittals to download.</maml:para> </maml:description> <command:parameterValue required="true">PWDMIncomingSubmittal[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWDMIncomingSubmittal[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.PWDMIncomingSubmittal[]</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>ConnectedProjectId</maml:name> <maml:description> <maml:para>CONNECTED project id.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PackageId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>PackageId</maml:name> <maml:description> <maml:para>ID of package to download.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Output folder.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="4"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="5"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.PWDMIncomingSubmittal[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Transmittals to download.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>CONNECTED project id.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>ID of package to download.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Output folder.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for downloading all transmittals for a datasource.</maml:para> <maml:para>$rps=Get-PWRichProjects</maml:para> <maml:para>Get-PWDMOutgoingTransmittals $rps | Save-PWDMOutgoingTransmittal -OutputFolder d:\transmittals</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWDMOutgoingTransmittals --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWDMOutgoingTransmittals</command:name> <command:verb>Get</command:verb> <command:noun>PWDMOutgoingTransmittals</command:noun> <maml:description> <maml:para>Generates a list containing all Outgoing Transmittals in the CONNECTed project associated with the rich projects passed in.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Generates a list containing all Outgoing Transmittals in the CONNECTed project associated with the rich projects passed in.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputFolders --> <command:syntaxItem> <maml:name>Get-PWDMOutgoingTransmittals</maml:name> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. These folders will be included in report if they are rich projects and have CONNECTed projects.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ConnectedProjectId</maml:name> <maml:description> <maml:para>Path to the rich project from which we'll find the associated CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DataTable --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>DataTable</maml:name> <maml:description> <maml:para>Output DataTable.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. These folders will be included in report if they are rich projects and have CONNECTed projects.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ConnectedProjectId</maml:name> <maml:description> <maml:para>Path to the rich project from which we'll find the associated CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DataTable --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>DataTable</maml:name> <maml:description> <maml:para>Output DataTable.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. These folders will be included in report if they are rich projects and have CONNECTed projects.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for reporting on outgoing transmittals for CONNECTED projects.</maml:para> <maml:para>$rps=Get-PWRichProjects</maml:para> <maml:para>GetPWDMOutgoingTransmittals $rps</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWDMTransmittal --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWDMTransmittal</command:name> <command:verb>New</command:verb> <command:noun>PWDMTransmittal</command:noun> <maml:description> <maml:para>Create a transmittal given ConnectedProjectId, Transmittal Name and files to add to the new transmittal.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>New-PWDMTransmittal</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of ProjectWise documents to add to tranmittal (Required). File names should be unique.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ConnectedProjectId</maml:name> <maml:description> <maml:para>CONNECTed Project in which to create transmittal.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TransmittalName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>TransmittalName</maml:name> <maml:description> <maml:para>Name of transmittal to create.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AcknowledgementDays --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>AcknowledgementDays</maml:name> <maml:description> <maml:para>Number of days to allow for acknowledgement.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>5</dev:defaultValue> </command:parameter> <!-- Parameter: ResponseDays --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ResponseDays</maml:name> <maml:description> <maml:para>Number of days to allow for response.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>10</dev:defaultValue> </command:parameter> <!-- Parameter: TransmittalComment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>TransmittalComment</maml:name> <maml:description> <maml:para>Comment to include with new transmittal.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Classification --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Classification</maml:name> <maml:description> <maml:para>Transmittal classification.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SendToEmails --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>SendToEmails</maml:name> <maml:description> <maml:para>Comment to include with new transmittal.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Used to identify primary recipient and as fallback login name if CONNECT client session is not established.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Only used if CONNECT client session is not established.</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of ProjectWise documents to add to tranmittal (Required). File names should be unique.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ConnectedProjectId</maml:name> <maml:description> <maml:para>CONNECTed Project in which to create transmittal.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TransmittalName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>TransmittalName</maml:name> <maml:description> <maml:para>Name of transmittal to create.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AcknowledgementDays --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>AcknowledgementDays</maml:name> <maml:description> <maml:para>Number of days to allow for acknowledgement.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>5</dev:defaultValue> </command:parameter> <!-- Parameter: ResponseDays --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ResponseDays</maml:name> <maml:description> <maml:para>Number of days to allow for response.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>10</dev:defaultValue> </command:parameter> <!-- Parameter: TransmittalComment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>TransmittalComment</maml:name> <maml:description> <maml:para>Comment to include with new transmittal.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Classification --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Classification</maml:name> <maml:description> <maml:para>Transmittal classification.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SendToEmails --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>SendToEmails</maml:name> <maml:description> <maml:para>Comment to include with new transmittal.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Used to identify primary recipient and as fallback login name if CONNECT client session is not established.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Only used if CONNECT client session is not established.</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of ProjectWise documents to add to tranmittal (Required). File names should be unique.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>$connectedProjectGuid = Get-PWFolders -FolderPath "Rich Project From PowerShell\Project 03" -JustOne | Get-PWConnectedProjectId</maml:para> <maml:para>$docs = Get-PWDocumentsBySearch -FolderPath "Rich Project From PowerShell\Project 03" -FileName Merged.pdf</maml:para> <maml:para>New-PWDMTransmittal $docs -ConnectedProjectId $connectedProjectGuid -TransmittalName "New transmittal 07E" -SendToEmails "dave.brumbaugh@bentley.com","dave.brumbaugh@eagle.bentley.com" -TransmittalComment "A comment on this" -Classification "Some classification" -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Copy-PWDocument --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Copy-PWDocument</command:name> <command:verb>Copy</command:verb> <command:noun>PWDocument</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Copy-PWDocument</maml:name> <!-- Parameter: SourceDocumentNamePath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SourceDocumentNamePath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CreateVersions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CreateVersions</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SourceDocumentNamePath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SourceDocumentNamePath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CreateVersions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CreateVersions</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: New-PWDocument --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWDocument</command:name> <command:verb>New</command:verb> <command:noun>PWDocument</command:noun> <maml:description> <maml:para>Given a folder object or folder path and path to an existing file create a new document without attributes.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolders --> <command:syntaxItem> <maml:name>New-PWDocument</maml:name> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Target folder path (not required if sending folder(s) on pipeline.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FilePath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>FilePath</maml:name> <maml:description> <maml:para>Path to file on disk.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Description --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Description</maml:name> <maml:description> <maml:para>Description of new document (optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Version --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Version</maml:name> <maml:description> <maml:para>Version string for new document (optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Application --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Application</maml:name> <maml:description> <maml:para>Application Name to use (optional). Will use default application for file extension if not supplied.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Target folder path (not required if sending folder(s) on pipeline.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FilePath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>FilePath</maml:name> <maml:description> <maml:para>Path to file on disk.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Description --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Description</maml:name> <maml:description> <maml:para>Description of new document (optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Version --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Version</maml:name> <maml:description> <maml:para>Version string for new document (optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Application --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Application</maml:name> <maml:description> <maml:para>Application Name to use (optional). Will use default application for file extension if not supplied.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage getting folders and creating new documents.</maml:para> <maml:para>New-PWLogin Server:DSN</maml:para> <maml:para>#Get the folder for folder number 20315 and create a new document there</maml:para> <maml:para>Get-PWFolders 20315 | New-PWDocument -FilePath c:\temp\NewDrawing.dgn</maml:para> <maml:para>#Get the folder at the given folder path and create a document there</maml:para> <maml:para>Get-PWFolders -FolderPath 'Level 1\Level 2\Level 3\Level 4' -JustOne | New-PWDocument -FilePath c:\temp\NewDrawing.dgn -Description 'Drawing 1'</maml:para> <maml:para>#Create a new folder at the given folder path and create a document there</maml:para> <maml:para>New-PWFolder -FolderPath 'PowerShell Demo\Level 2\Level 3\Level 4' -StorageArea Storage01 | New-PWDocument -FilePath c:\temp\NewDrawing.dgn -Description 'Drawing 1'</maml:para> <maml:para>#Create a new document in existing folder</maml:para> <maml:para>New-PWDocument -FolderPath 'Demo\Folder 1' -FilePath c:\temp\NewDrawing.dgn -Description 'Drawing 1'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Rename-PWDocument --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Rename-PWDocument</command:name> <command:verb>Rename</command:verb> <command:noun>PWDocument</command:noun> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Rename-PWDocument</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentOldName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>DocumentOldName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentNewName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DocumentNewName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentOldName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>DocumentOldName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentNewName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DocumentNewName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: New-PWDocumentAbstract --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWDocumentAbstract</command:name> <command:verb>New</command:verb> <command:noun>PWDocumentAbstract</command:noun> <maml:description> <maml:para>Given a folder object or folder path, create one or more abstract documents without attributes.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolders --> <command:syntaxItem> <maml:name>New-PWDocumentAbstract</maml:name> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: DocumentName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>DocumentName</maml:name> <maml:description> <maml:para>Name to prefix abstract document (Optional) If excluded, 'doc' will be used.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Description --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Description</maml:name> <maml:description> <maml:para>Description of new document (optional). If excluded, the document name will be used.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Version --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Version</maml:name> <maml:description> <maml:para>Version string to use for new document (optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Count --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Count</maml:name> <maml:description> <maml:para>Number of abstract documents to create. (Optional) If excluded, only one will be created</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Target folder path (not required if sending folder(s) on pipeline).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Target folder path (not required if sending folder(s) on pipeline).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>DocumentName</maml:name> <maml:description> <maml:para>Name to prefix abstract document (Optional) If excluded, 'doc' will be used.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Description --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Description</maml:name> <maml:description> <maml:para>Description of new document (optional). If excluded, the document name will be used.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Version --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Version</maml:name> <maml:description> <maml:para>Version string to use for new document (optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Count --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Count</maml:name> <maml:description> <maml:para>Number of abstract documents to create. (Optional) If excluded, only one will be created</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage getting folders and creating new documents.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para># To create abstract documents without getting InputFolders from the pipeline Supply the folder full path using -FolderPath, supply document name (optional), document description (optional) and/or count (optional) and create a new document there</maml:para> <maml:para>New-PWDocumentAbstract -FolderPath 'Level 1\' -DocumentName 'doc' -Description 'Abstract Document'</maml:para> <maml:para>New-PWDocumentAbstract -FolderPath 'Level 1\' -DocumentName 'AbstractDoc' -Count 2</maml:para> <maml:para># To create abstract documents while getting InputFolders from the pipeline, supply document name (optional), document description (optional) and/or count (optional) and create a new document there</maml:para> <maml:para>Get-PWFolders -FolderPath 'Level 1\Level 2\Level 3\Level 4' -JustOne | New-PWDocumentAbstract -DocumentName 'doc'</maml:para> <maml:para>Get-PWFolders -FolderPath 'Level 1\' | New-PWDocumentAbstract -DocumentName 'AbstractDoc' -Count 3</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWDocumentApplication --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWDocumentApplication</command:name> <command:verb>Set</command:verb> <command:noun>PWDocumentApplication</command:noun> <maml:description> <maml:para>Sets the application associated with a document.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes a document object from the pipeline and sets the associated application.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputDocuments --> <command:syntaxItem> <maml:name>Set-PWDocumentApplication</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Array of document objects like that from Get-PWDocumentsBySearch.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Application --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Application</maml:name> <maml:description> <maml:para>Name of application to associate with document.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Array of document objects like that from Get-PWDocumentsBySearch.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Application --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Application</maml:name> <maml:description> <maml:para>Name of application to associate with document.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of document objects like that from Get-PWDocumentsBySearch.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Sets the associated application to MicroStation for the specified documents.</maml:para> <maml:para>$docs = Show-PWDocumentSelectionDialog -FileExtension 'dgn' -Verbose Set-PWDocumentApplication -InputDocuments $docs -Application MicroStation -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Sets the associated application to MicroStation for the documents passed via the pipeline.</maml:para> <maml:para>$docs = Show-PWDocumentSelectionDialog -FileExtension 'dgn' -Verbose | Set-PWDocumentApplication -Application MicroStation -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWDocumentAttributes --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWDocumentAttributes</command:name> <command:verb>Update</command:verb> <command:noun>PWDocumentAttributes</command:noun> <maml:description> <maml:para>Updates or creates a new document attribute record.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes an array of document objects from the pipeline and a hashtable of attribute values and updates or creates a document attribute record.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputDocuments --> <command:syntaxItem> <maml:name>Update-PWDocumentAttributes</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Array of document objects from the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Attributes --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Attributes</maml:name> <maml:description> <maml:para>Hashtable of attributes. Hashtable in PowerShell looks like this @{Name = 'Value'; Name2 = 'Value2' }</maml:para> </maml:description> <command:parameterValue required="true">Hashtable</command:parameterValue> <dev:type> <maml:name>System.Collections.Hashtable</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReturnBoolean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ReturnBoolean</maml:name> <maml:description> <maml:para>Use this switch to return a boolean value indicating if all the passed documents were updated successfully. Default is to pass updated documents out through the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Array of document objects from the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Attributes --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Attributes</maml:name> <maml:description> <maml:para>Hashtable of attributes. Hashtable in PowerShell looks like this @{Name = 'Value'; Name2 = 'Value2' }</maml:para> </maml:description> <command:parameterValue required="true">Hashtable</command:parameterValue> <dev:type> <maml:name>System.Collections.Hashtable</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReturnBoolean --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ReturnBoolean</maml:name> <maml:description> <maml:para>Use this switch to return a boolean value indicating if all the passed documents were updated successfully. Default is to pass updated documents out through the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of document objects from the pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Get the documents in the given path and update them with the listed attributes</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath 'Import\Test' | Update-PWDocumentAttributes -Attributes @{Title = "New Title"; Dwg_no = "007"; SomeNumber = "555" }</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWDocumentAuditTrailRecords --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWDocumentAuditTrailRecords</command:name> <command:verb>Get</command:verb> <command:noun>PWDocumentAuditTrailRecords</command:noun> </command:details> <command:syntax> <!-- Parameter set: InputDocuments --> <command:syntaxItem> <maml:name>Get-PWDocumentAuditTrailRecords</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Target document object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFilePathName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFilePathName</maml:name> <maml:description> <maml:para>Provide file path and name if you want to write data to a spreadsheet.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFormat --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>OutputFormat</maml:name> <maml:description> <maml:para>HelpMessage = "If OutputFilePathName is provided, the OutputFormat is required. Specifies export type. Valid entries are Excel and SQLite."</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IncludeSecondary --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeSecondary</maml:name> <maml:description> <maml:para>When the IncludeSecondary switch parameter is included, the document audit trail entries from the secondary table will be included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: NotFromPipeline --> <command:syntaxItem> <maml:name>Get-PWDocumentAuditTrailRecords</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Full folder path to folder containing document of retrieve audit trail records of.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>DocumentName</maml:name> <maml:description> <maml:para>Document to retrieve audit trail records for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFilePathName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFilePathName</maml:name> <maml:description> <maml:para>Provide file path and name if you want to write data to a spreadsheet.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFormat --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>OutputFormat</maml:name> <maml:description> <maml:para>HelpMessage = "If OutputFilePathName is provided, the OutputFormat is required. Specifies export type. Valid entries are Excel and SQLite."</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IncludeSecondary --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeSecondary</maml:name> <maml:description> <maml:para>When the IncludeSecondary switch parameter is included, the document audit trail entries from the secondary table will be included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Target document object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Full folder path to folder containing document of retrieve audit trail records of.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>DocumentName</maml:name> <maml:description> <maml:para>Document to retrieve audit trail records for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IncludeSecondary --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeSecondary</maml:name> <maml:description> <maml:para>When the IncludeSecondary switch parameter is included, the document audit trail entries from the secondary table will be included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFilePathName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFilePathName</maml:name> <maml:description> <maml:para>Provide file path and name if you want to write data to a spreadsheet.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFormat --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>OutputFormat</maml:name> <maml:description> <maml:para>HelpMessage = "If OutputFilePathName is provided, the OutputFormat is required. Specifies export type. Valid entries are Excel and SQLite."</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target document object(s) from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Get-PWDocumentCaptionFromAI --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWDocumentCaptionFromAI</command:name> <command:verb>Get</command:verb> <command:noun>PWDocumentCaptionFromAI</command:noun> <maml:description> <maml:para>Use Microsoft Cognitive Services Computer Vision API to assign a description to a photo. Harnessing Artificial Intelligence for ProjectWise.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocuments --> <command:syntaxItem> <maml:name>Get-PWDocumentCaptionFromAI</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Array of document objects from the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>AttributeName</maml:name> <maml:description> <maml:para>Put returned caption value in this attribute. (Optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReplaceDescription --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>ReplaceDescription</maml:name> <maml:description> <maml:para>Change document description to the returned caption value. (Optional).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: MinimumConfidence --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>MinimumConfidence</maml:name> <maml:description> <maml:para>Will only update attribute or description if the confidence level is above this value (defaults to .70).</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0.7</dev:defaultValue> </command:parameter> <!-- Parameter: Language --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="4"> <maml:name>Language</maml:name> <maml:description> <maml:para>Will only update attribute or description if the confidence level is above this value (defaults to .70).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>en</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Array of document objects from the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>AttributeName</maml:name> <maml:description> <maml:para>Put returned caption value in this attribute. (Optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReplaceDescription --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>ReplaceDescription</maml:name> <maml:description> <maml:para>Change document description to the returned caption value. (Optional).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: MinimumConfidence --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>MinimumConfidence</maml:name> <maml:description> <maml:para>Will only update attribute or description if the confidence level is above this value (defaults to .70).</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0.7</dev:defaultValue> </command:parameter> <!-- Parameter: Language --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="4"> <maml:name>Language</maml:name> <maml:description> <maml:para>Will only update attribute or description if the confidence level is above this value (defaults to .70).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>en</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of document objects from the pipeline.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Put returned caption value in this attribute. (Optional).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Change document description to the returned caption value. (Optional).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Will only update attribute or description if the confidence level is above this value (defaults to .70).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Will only update attribute or description if the confidence level is above this value (defaults to .70).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWDocumentsBySearch -FolderPath 'A 01\Photos' | Get-PWDocumentCaptionFromAI -ReplaceDescription</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath 'A 01\Photos' | Get-PWDocumentCaptionFromAI -AttributeName Caption -ReplaceDescription</maml:para> <maml:para>$docs = Get-PWDocumentsBySearch -FolderPath 'AMEC-FosterWheeler\Photos'</maml:para> <maml:para>Get-PWDocumentCaptionFromAI $docs -AttributeName Title -ReplaceDescription</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWDocumentComment --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWDocumentComment</command:name> <command:verb>New</command:verb> <command:noun>PWDocumentComment</command:noun> <maml:description> <maml:para>New-PWDocumentComment adds a comment to the audit trail for the specified document.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>New-PWDocumentComment adds a comment to the audit trail for the specified document within the active datasource.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>New-PWDocumentComment</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Input array of ProjectWiseDocument objects from the pipeline (Required). Use Get-PWDocumentBySearch or New-PWDocument to feed pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Comment --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Comment</maml:name> <maml:description> <maml:para>Comment to be added to the documents audit trail.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: Folder --> <command:syntaxItem> <maml:name>New-PWDocumentComment</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to folder containing the specified document.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>DocumentName</maml:name> <maml:description> <maml:para>Document Name of document to add commen to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Comment --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Comment</maml:name> <maml:description> <maml:para>Comment to be added to the documents audit trail.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Input array of ProjectWiseDocument objects from the pipeline (Required). Use Get-PWDocumentBySearch or New-PWDocument to feed pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to folder containing the specified document.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>DocumentName</maml:name> <maml:description> <maml:para>Document Name of document to add commen to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Comment --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Comment</maml:name> <maml:description> <maml:para>Comment to be added to the documents audit trail.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Input array of ProjectWiseDocument objects from the pipeline (Required). Use Get-PWDocumentBySearch or New-PWDocument to feed pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Adds a comment to the document specified by folder path and document name.</maml:para> <maml:para>New-PWDocumentComment -FolderPath 'Projects' -DocumentName 'MyDrawing.dgn' -Comment 'Updated drawing. Added elevations.' -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Adds a comment to each document within the $docs variable.</maml:para> <maml:para>$docs = Get-PWDocumentsBySearch -FolderPath "Project XXXXXX" -JustThisFolder New-PWDocumentComment -InputDocument $docs -Comment "Test Comment" -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>Adds a comment to each document being passed via the pipeline.</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Project XXXXXX" -JustThisFolder | New-PWDocumentComment -Comment "Another Test Comment" -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWDocumentFile --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWDocumentFile</command:name> <command:verb>Update</command:verb> <command:noun>PWDocumentFile</command:noun> <maml:description> <maml:para>The Update-PWDocumentFile cmdlet offers a method to replace the associated physical file with file from the local system for a ProjectWise document. Documents need to be passed via the PowerShell pipeline as a ProjectWiseDocument type.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: NewFileName --> <command:syntaxItem> <maml:name>Update-PWDocumentFile</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Target document object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewFilePathName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>NewFilePathName</maml:name> <maml:description> <maml:para>Replacement file path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>NewFileName</maml:name> <maml:description> <maml:para>New file name to apply.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RemoveFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveFile</maml:name> <maml:description> <maml:para>If set, remove the existing file leaving the document as an abstract document.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: KeepExistingFileName --> <command:syntaxItem> <maml:name>Update-PWDocumentFile</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Target document object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewFilePathName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>NewFilePathName</maml:name> <maml:description> <maml:para>Replacement file path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: KeepExistingFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>KeepExistingFileName</maml:name> <maml:description> <maml:para>When included, the existing file name will be used regardless of the name of the specified file.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveFile</maml:name> <maml:description> <maml:para>If set, remove the existing file leaving the document as an abstract document.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Target document object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewFilePathName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>NewFilePathName</maml:name> <maml:description> <maml:para>Replacement file path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>NewFileName</maml:name> <maml:description> <maml:para>New file name to apply.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: KeepExistingFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>KeepExistingFileName</maml:name> <maml:description> <maml:para>When included, the existing file name will be used regardless of the name of the specified file.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RemoveFile</maml:name> <maml:description> <maml:para>If set, remove the existing file leaving the document as an abstract document.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target document object(s) from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage replacing physical file.</maml:para> <maml:para>The following will replace the existing file associated with the ProjectWise document(s) The file name of the specified file will be used.</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Examples" -DocumentName "A111.dwg" -JustThisFolder -Verbose | Update-PWDocumentFile -NewFilePathName "D:\TEMP\Export\A111_Updated.dwg" -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Example usage replacing physical file and renaming using document name.</maml:para> <maml:para>The following will replace the existing file associated with the ProjectWise document(s) and rename using the new file name.</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Examples" -DocumentName "A111.dwg" -JustThisFolder -Verbose | Update-PWDocumentFile -NewFilePathName "D:\TEMP\Export\A111_Updated.dwg" -NewFileName "A111_UpdatedFile.dwg" -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>#Example usage replacing physical file and renaming with specified new name.</maml:para> <maml:para>The following will replace the existing file associated with the ProjectWise document(s) and keep the original associated file name.</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Examples" -DocumentName "A111.dwg" -JustThisFolder -Verbose | Update-PWDocumentFile -NewFilePathName "D:\TEMP\Export\A111_Updated.dwg" -KeepExistingFileName -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWDocumentFileUpdateTimeToNow --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWDocumentFileUpdateTimeToNow</command:name> <command:verb>Update</command:verb> <command:noun>PWDocumentFileUpdateTimeToNow</command:noun> <maml:description> <maml:para>Updates document's file update time to now. Use to force reprocessing (FTR, thumbnail, properties or rendition generation).</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes an array of document objects from the pipeline and allows you to change the file update time to now.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>Update-PWDocumentFileUpdateTimeToNow</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of document objects from pipeline to operate on (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of document objects from pipeline to operate on (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of document objects from pipeline to operate on (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Get the documents in the given path and update the file update time to now (local).</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Lend Lease\Dotted PDFs" | Update-PWDocumentFileUpdateTimeToNow -UseLocalTime</maml:para> <maml:para>#Get the documents from the search and update the file update time to now (UTC).</maml:para> <maml:para>Get-PWDocumentsBySearch -SearchName "All PDFs" | Update-PWDocumentFileUpdateTimeToNow</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWDocumentFinalStatus --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWDocumentFinalStatus</command:name> <command:verb>Set</command:verb> <command:noun>PWDocumentFinalStatus</command:noun> <maml:description> <maml:para>Sets or removes a document's final status.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocuments --> <command:syntaxItem> <maml:name>Set-PWDocumentFinalStatus</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RemoveFinalStatus --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>RemoveFinalStatus</maml:name> <maml:description> <maml:para>Set to clear final status.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RemoveFinalStatus --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>RemoveFinalStatus</maml:name> <maml:description> <maml:para>Set to clear final status.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Set final status for all documents in a folder.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>#Get all the documents in this folder tree and set them to final status</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Test 6\Projects 2" | Set-PWDocumentFinalStatus</maml:para> <maml:para>#Get all the documents in this folder tree and clear final status</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Test 6\Projects 2" | Set-PWDocumentFinalStatus -RemoveFinalStatus</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWDocumentFlatSet --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWDocumentFlatSet</command:name> <command:verb>Get</command:verb> <command:noun>PWDocumentFlatSet</command:noun> </command:details> <command:syntax> <!-- Parameter set: Default --> <command:syntaxItem> <maml:name>Get-PWDocumentFlatSet</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path of folder containing the flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SetName</maml:name> <maml:description> <maml:para>Name of flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path of folder containing the flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SetName</maml:name> <maml:description> <maml:para>Name of flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Folder path of folder containing the flat set file.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage Get-PWDocumentFlatSet to retrieve all flat set files.</maml:para> <maml:para>The following will return information for all flat set files within the current datasource.</maml:para> <maml:para>Get-PWDocumentFlatSet -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Example usage Get-PWDocumentFlat to retrieve flat sets files contained in a specified folder.</maml:para> <maml:para>The following will return information for all flat sets contained in a specified folder.</maml:para> <maml:para>Get-PWDocumentFlatSet -FolderPath 'Projects' -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>#Example usage Get-PWDocumentFlat to retrieve a specific flat set file.</maml:para> <maml:para>The following will return information for a specific flat set file based on folder and set name.</maml:para> <maml:para>Get-PWDocumentFlatSet -FolderPath 'Projects' -SetName 'MyTest' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWDocumentFlatSet --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWDocumentFlatSet</command:name> <command:verb>New</command:verb> <command:noun>PWDocumentFlatSet</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>New-PWDocumentFlatSet</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path of folder where the new flat set file will be created.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetMemberName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetMemberName</maml:name> <maml:description> <maml:para>Name of the document to be added to the new flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetMemberPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetMemberPath</maml:name> <maml:description> <maml:para>Folder path of the member to be added to the new flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetName</maml:name> <maml:description> <maml:para>Name of new set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetDescription --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SetDescription</maml:name> <maml:description> <maml:para>Description of new flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetMemberDepartment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SetMemberDepartment</maml:name> <maml:description> <maml:para>Department attribute value of the member to be added to the flat new set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CheckOut --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CheckOut</maml:name> <maml:description> <maml:para>When the CheckOut switch parameter is included, the member document will be set to checkout when set is open.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path of folder where the new flat set file will be created.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetName</maml:name> <maml:description> <maml:para>Name of new set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetDescription --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SetDescription</maml:name> <maml:description> <maml:para>Description of new flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetMemberName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetMemberName</maml:name> <maml:description> <maml:para>Name of the document to be added to the new flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetMemberPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetMemberPath</maml:name> <maml:description> <maml:para>Folder path of the member to be added to the new flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetMemberDepartment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SetMemberDepartment</maml:name> <maml:description> <maml:para>Department attribute value of the member to be added to the flat new set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CheckOut --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CheckOut</maml:name> <maml:description> <maml:para>When the CheckOut switch parameter is included, the member document will be set to checkout when set is open.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Folder path of folder where the new flat set file will be created.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage New-PWDocumentFlatSet.</maml:para> <maml:para>The following will create a new flat set file with the specified document as a member.</maml:para> <maml:para>$SetFileInfo = @{</maml:para> <maml:para>FolderPath = 'Projects'</maml:para> <maml:para>SetName = 'MyTest'</maml:para> <maml:para>SetDescription = 'New Set File'</maml:para> <maml:para>SetMemberName = '2D-M-SAB-LNWK.dwg'</maml:para> <maml:para>SetMemberPath = 'Projects\Upload\Sub-Folder'}</maml:para> <maml:para>New-PWDocumentFlatSet @SetFileInfo -CheckOut -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWDocumentFlatSet --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWDocumentFlatSet</command:name> <command:verb>Remove</command:verb> <command:noun>PWDocumentFlatSet</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Remove-PWDocumentFlatSet</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path of folder containing the flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetName</maml:name> <maml:description> <maml:para>Name of flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path of folder containing the flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetName</maml:name> <maml:description> <maml:para>Name of flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Folder path of folder containing the flat set file.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage Remove-PWDocumentFlatSet.</maml:para> <maml:para>The following will delete the specified flat set file.</maml:para> <maml:para>Remove-PWDocumentFlatSet -FolderPath 'Projects' -SetName 'DGNs' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWDocumentFlatSetByDocument --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWDocumentFlatSetByDocument</command:name> <command:verb>Get</command:verb> <command:noun>PWDocumentFlatSetByDocument</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWDocumentFlatSetByDocument</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path of folder containing the document to determine if it is a member of any flat sets.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>DocumentName</maml:name> <maml:description> <maml:para>Name of flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path of folder containing the document to determine if it is a member of any flat sets.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>DocumentName</maml:name> <maml:description> <maml:para>Name of flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Folder path of folder containing the document to determine if it is a member of any flat sets.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage Get-PWDocumentFlatSetByDocument.</maml:para> <maml:para>The following will return information for all flat sets the specified document is a member of.</maml:para> <maml:para>Get-PWDocumentFlatSetByDocument -FolderPath 'Projects' -DocumentName 'MyDocument.dgn' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWDocumentFlatSetMember --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWDocumentFlatSetMember</command:name> <command:verb>Add</command:verb> <command:noun>PWDocumentFlatSetMember</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Add-PWDocumentFlatSetMember</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path of folder containing the flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetMemberName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetMemberName</maml:name> <maml:description> <maml:para>Name of the document to be added to the flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetMemberPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetMemberPath</maml:name> <maml:description> <maml:para>Folder path of the member to be added to the flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetName</maml:name> <maml:description> <maml:para>Name of set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CheckOut --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CheckOut</maml:name> <maml:description> <maml:para>When the CheckOut switch parameter is included, the member document will be set to checkout when set is open.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LockToVersion --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LockToVersion</maml:name> <maml:description> <maml:para>When the LockToVersion switch parameter is included, the Lock To Version option for the member will be toggled on.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path of folder containing the flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetName</maml:name> <maml:description> <maml:para>Name of set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetMemberName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetMemberName</maml:name> <maml:description> <maml:para>Name of the document to be added to the flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetMemberPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetMemberPath</maml:name> <maml:description> <maml:para>Folder path of the member to be added to the flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CheckOut --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CheckOut</maml:name> <maml:description> <maml:para>When the CheckOut switch parameter is included, the member document will be set to checkout when set is open.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LockToVersion --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LockToVersion</maml:name> <maml:description> <maml:para>When the LockToVersion switch parameter is included, the Lock To Version option for the member will be toggled on.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Folder path of folder containing the flat set file.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage Add-PWDocumentFlatSetMember.</maml:para> <maml:para>The following will add a new member to a flat set.</maml:para> <maml:para>Add-PWDocumentFlatSetMember -FolderPath 'Projects' -SetName 'DGNs' -SetMemberName 'NewDrawing.dgn' -SetMemberPath 'Project\Drawings' -CheckOut -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWDocumentFlatSetMember --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWDocumentFlatSetMember</command:name> <command:verb>Remove</command:verb> <command:noun>PWDocumentFlatSetMember</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Remove-PWDocumentFlatSetMember</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path of folder containing the flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetName</maml:name> <maml:description> <maml:para>Name of flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetMemberName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>SetMemberName</maml:name> <maml:description> <maml:para>Name of flat set member to be removed.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path of folder containing the flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetName</maml:name> <maml:description> <maml:para>Name of flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetMemberName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>SetMemberName</maml:name> <maml:description> <maml:para>Name of flat set member to be removed.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage Remove-PWDocumentFlatSetMember.</maml:para> <maml:para>The following will delete the member from the flat set.</maml:para> <maml:para>Remove-PWDocumentFlatSetMember -FolderPath 'Projects' -SetName 'DGNs' -SetMemberName 'MyDrawing.dgn' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWDocumentFlatSetMembers --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWDocumentFlatSetMembers</command:name> <command:verb>Get</command:verb> <command:noun>PWDocumentFlatSetMembers</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWDocumentFlatSetMembers</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path of folder containing the flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetName</maml:name> <maml:description> <maml:para>Name of flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path of folder containing the flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SetName</maml:name> <maml:description> <maml:para>Name of flat set file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Folder path of folder containing the flat set file.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage Get-PWDocumentFlatSetMembers.</maml:para> <maml:para>The following will display the members of a flat set.</maml:para> <maml:para>Get-PWDocumentFlatSetMembers -FolderPath 'Projects' -SetName 'DGNs' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWDocumentFromParameters --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWDocumentFromParameters</command:name> <command:verb>Get</command:verb> <command:noun>PWDocumentFromParameters</command:noun> <maml:description> <maml:para>Get a single ProjectWise Document given folder, document name and version.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Get-PWDocumentFromParameters</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Folder object from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>DocumentName</maml:name> <maml:description> <maml:para>Document Name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>FileName</maml:name> <maml:description> <maml:para>Document Name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Version --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>Version</maml:name> <maml:description> <maml:para>Version.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Folder object from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>DocumentName</maml:name> <maml:description> <maml:para>Document Name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>FileName</maml:name> <maml:description> <maml:para>Document Name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Version --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>Version</maml:name> <maml:description> <maml:para>Version.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Folder object from pipeline.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Folder path.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Document Name (Required).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Document Name.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Version.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: ProjectWiseDocument --> <command:returnValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWDocumentFromParameters -FolderPath 'Top Level\Sub-Folder' -DocumentName Master.dgn -Version B</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWDocumentGeoSpatialLocation --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWDocumentGeoSpatialLocation</command:name> <command:verb>Get</command:verb> <command:noun>PWDocumentGeoSpatialLocation</command:noun> <maml:description> <maml:para>Gets a document's geospatial location.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocuments --> <command:syntaxItem> <maml:name>Get-PWDocumentGeoSpatialLocation</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: GetKML --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>GetKML</maml:name> <maml:description> <maml:para>Set for KML output.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: GetGeoJSON --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>GetGeoJSON</maml:name> <maml:description> <maml:para>Set for GeoJSON output.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: GetKML --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>GetKML</maml:name> <maml:description> <maml:para>Set for KML output.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: GetGeoJSON --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>GetGeoJSON</maml:name> <maml:description> <maml:para>Set for GeoJSON output.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Get GeoSpatial location of a document.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>#Get locations for all documents in a folder in WKT</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Test 6\Projects 2" | Get-PWDocumentGeoSpatialLocation</maml:para> <maml:para>#Get locations for all documents in a folder in KML</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Test 6\Projects 2" | Get-PWDocumentGeoSpatialLocation -GetKML</maml:para> <maml:para>#Get locations for all documents in a folder in GeoJSON</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Test 6\Projects 2" | Get-PWDocumentGeoSpatialLocation -GetGeoJSON</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWDocumentGeoSpatialLocation --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWDocumentGeoSpatialLocation</command:name> <command:verb>Set</command:verb> <command:noun>PWDocumentGeoSpatialLocation</command:noun> <maml:description> <maml:para>Very simple location assignment for a folder. Takes a folder path or array of folder objects and assigns a block or a point on the input Lat/Long or Address and box size.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocuments --> <command:syntaxItem> <maml:name>Set-PWDocumentGeoSpatialLocation</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Array of folder objects from the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Latitude --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Latitude</maml:name> <maml:description> <maml:para>Latitude in decimal degrees.</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Longitude --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Longitude</maml:name> <maml:description> <maml:para>Longitude in decimal degrees.</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: SizeOfBoxInDegrees --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>SizeOfBoxInDegrees</maml:name> <maml:description> <maml:para>Size of box in decimal degrees. Defaults to a 10th of a second.</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>2.77777777777778E-05</dev:defaultValue> </command:parameter> <!-- Parameter: Point --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Point</maml:name> <maml:description> <maml:para>Set to mark with a point rather than a polygon.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Address --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Address</maml:name> <maml:description> <maml:para>Address to lookup via Google and assign geo-location to document.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WKT --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>WKT</maml:name> <maml:description> <maml:para>Well Known Text string describing polygon.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Array of folder objects from the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Latitude --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Latitude</maml:name> <maml:description> <maml:para>Latitude in decimal degrees.</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Longitude --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Longitude</maml:name> <maml:description> <maml:para>Longitude in decimal degrees.</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: SizeOfBoxInDegrees --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>SizeOfBoxInDegrees</maml:name> <maml:description> <maml:para>Size of box in decimal degrees. Defaults to a 10th of a second.</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>2.77777777777778E-05</dev:defaultValue> </command:parameter> <!-- Parameter: Point --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Point</maml:name> <maml:description> <maml:para>Set to mark with a point rather than a polygon.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Address --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Address</maml:name> <maml:description> <maml:para>Address to lookup via Google and assign geo-location to document.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WKT --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>WKT</maml:name> <maml:description> <maml:para>Well Known Text string describing polygon.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of folder objects from the pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for creating a new folder and assigning a location to it.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>New-PWFolder -FolderPath "My Locations\Folder 2" -StorageArea "Storage 1" | Set-PWFolderGeoSpatialLocation -Latitude 45 -Longitude 90</maml:para> <maml:para>New-PWFolder -FolderPath "My Locations\Folder 3" -StorageArea "Storage 1" | Set-PWFolderGeoSpatialLocation -Address "704 15th Street, Durham, NC" -Point</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWDocumentGroupAccess --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWDocumentGroupAccess</command:name> <command:verb>Set</command:verb> <command:noun>PWDocumentGroupAccess</command:noun> <maml:description> <maml:para>Set group access for one or more input documents.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocuments --> <command:syntaxItem> <maml:name>Set-PWDocumentGroupAccess</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Target document object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</dev:defaultValue> </command:parameter> <!-- Parameter: Group --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>Group</maml:name> <maml:description> <maml:para>Group to apply access for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Access --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>Access</maml:name> <maml:description> <maml:para>Access specifies the access control to be applied.</maml:para> <maml:para>The available entries are:</maml:para> <maml:para>fc - full control,</maml:para> <maml:para>cp - change permissions,</maml:para> <maml:para>c - create,</maml:para> <maml:para>d - delete,</maml:para> <maml:para>r - read,</maml:para> <maml:para>w - write,</maml:para> <maml:para>cw - change workflow,</maml:para> <maml:para>fr - file read,</maml:para> <maml:para>fw - file write,</maml:para> <maml:para>f - free,</maml:para> <maml:para>na - no access</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ApplyToVersions --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>ApplyToVersions</maml:name> <maml:description> <maml:para>Apply the security to versions of the input documents.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Target document object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</dev:defaultValue> </command:parameter> <!-- Parameter: Group --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>Group</maml:name> <maml:description> <maml:para>Group to apply access for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Access --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>Access</maml:name> <maml:description> <maml:para>Access specifies the access control to be applied.</maml:para> <maml:para>The available entries are:</maml:para> <maml:para>fc - full control,</maml:para> <maml:para>cp - change permissions,</maml:para> <maml:para>c - create,</maml:para> <maml:para>d - delete,</maml:para> <maml:para>r - read,</maml:para> <maml:para>w - write,</maml:para> <maml:para>cw - change workflow,</maml:para> <maml:para>fr - file read,</maml:para> <maml:para>fw - file write,</maml:para> <maml:para>f - free,</maml:para> <maml:para>na - no access</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ApplyToVersions --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>ApplyToVersions</maml:name> <maml:description> <maml:para>Apply the security to versions of the input documents.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target document object(s) from pipeline.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Group to apply access for.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Access specifies the access control to be applied.</maml:para> <maml:para>The available entries are:</maml:para> <maml:para>fc - full control,</maml:para> <maml:para>cp - change permissions,</maml:para> <maml:para>c - create,</maml:para> <maml:para>d - delete,</maml:para> <maml:para>r - read,</maml:para> <maml:para>w - write,</maml:para> <maml:para>cw - change workflow,</maml:para> <maml:para>fr - file read,</maml:para> <maml:para>fw - file write,</maml:para> <maml:para>f - free,</maml:para> <maml:para>na - no access</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Apply the security to versions of the input documents.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>$targetDocs = Get-PWDocumentsBySearch -FolderPath "Target Documents\Folder 1"</maml:para> <maml:para>Set-PWDocumentGroupAccess $targetDocs -Group 'Drafters' -Access 'r','w','fr','fw'</maml:para> <maml:para>Set-PWDocumentGroupAccess $targetDocs -Group 'Project Managers' -Access 'na'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWDocumentOwner --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWDocumentOwner</command:name> <command:verb>Update</command:verb> <command:noun>PWDocumentOwner</command:noun> <maml:description> <maml:para>Update-PWDocumentOwner sets the document owner to the specified user/group/userlist.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Update-PWDocumentOwner sets the document owner to the specified user/group/userlist.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>Update-PWDocumentOwner</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Input array of ProjectWiseDocument objects from the pipeline (Required). Use Get-PWDocumentBySearch or New-PWDocument to feed pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OwnerType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OwnerType</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Owner --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Owner</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Input array of ProjectWiseDocument objects from the pipeline (Required). Use Get-PWDocumentBySearch or New-PWDocument to feed pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OwnerType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OwnerType</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Owner --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Owner</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Input array of ProjectWiseDocument objects from the pipeline (Required). Use Get-PWDocumentBySearch or New-PWDocument to feed pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Updates the document owner to the ProjectWise Administrator user.</maml:para> <maml:para>Show-PWDocumentSelectionDialog | Update-PWDocumentOwner -OwnerType "User" -Owner "pwadmin" -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWDocumentProperties --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWDocumentProperties</command:name> <command:verb>Update</command:verb> <command:noun>PWDocumentProperties</command:noun> <maml:description> <maml:para>Updates document general properties.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes an array of document objects from the pipeline and allows you to reset the document name, description, file name or version string. Update the properties you want to set.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>Update-PWDocumentProperties</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of document objects from pipeline to operate on (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of document objects from pipeline to operate on (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of document objects from pipeline to operate on (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Get the documents in the given path and update them with the listed attributes. Also supports changing name and filename, but, of course, those must be unique in a folder.</maml:para> <maml:para>$docs = Get-PWDocumentsBySearch -FolderPath "Lend Lease\Dotted PDFs"</maml:para> <maml:para>foreach ($doc in $docs)</maml:para> <maml:para>{</maml:para> <maml:para>$doc.Description = "Changed in PowerShell 2"</maml:para> <maml:para>$doc.Version = "R06"</maml:para> <maml:para>}</maml:para> <maml:para>Update-PWDocumentProperties -InputDocument $docs</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Lend Lease\Dotted PDFs" | Foreach -MemberName Description</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWDocumentReference --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWDocumentReference</command:name> <command:verb>Add</command:verb> <command:noun>PWDocumentReference</command:noun> <maml:description> <maml:para>Add a reference file to a master file.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Master --> <command:syntaxItem> <maml:name>Add-PWDocumentReference</maml:name> <!-- Parameter: Master --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Master</maml:name> <maml:description> <maml:para>Master document.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Reference --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>Reference</maml:name> <maml:description> <maml:para>Reference document.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ElementId --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>ElementId</maml:name> <maml:description> <maml:para>Elemnt ID.</maml:para> </maml:description> <command:parameterValue required="true">ulong</command:parameterValue> <dev:type> <maml:name>System.UInt64</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: MasterModelId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>MasterModelId</maml:name> <maml:description> <maml:para>Optional master model id (defaults to 0).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: ReferenceModelId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="4"> <maml:name>ReferenceModelId</maml:name> <maml:description> <maml:para>Optional reference model id (defaults to 0).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: IsRaster --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="5"> <maml:name>IsRaster</maml:name> <maml:description> <maml:para>Set for raster attachment.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: NestDepth --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="5"> <maml:name>NestDepth</maml:name> <maml:description> <maml:para>Optional nest depth (defaults to 0).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: NonCADFile --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="6"> <maml:name>NonCADFile</maml:name> <maml:description> <maml:para>If set, will only create set relationship and not reference file relationships.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Type --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="6"> <maml:name>Type</maml:name> <maml:description> <maml:para>Optional reference type (defaults to 177).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Flags --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="7"> <maml:name>Flags</maml:name> <maml:description> <maml:para>Optional flags (defaults to 2).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Master --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Master</maml:name> <maml:description> <maml:para>Master document.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Reference --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>Reference</maml:name> <maml:description> <maml:para>Reference document.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ElementId --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>ElementId</maml:name> <maml:description> <maml:para>Elemnt ID.</maml:para> </maml:description> <command:parameterValue required="true">ulong</command:parameterValue> <dev:type> <maml:name>System.UInt64</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: MasterModelId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>MasterModelId</maml:name> <maml:description> <maml:para>Optional master model id (defaults to 0).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: ReferenceModelId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="4"> <maml:name>ReferenceModelId</maml:name> <maml:description> <maml:para>Optional reference model id (defaults to 0).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: NestDepth --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="5"> <maml:name>NestDepth</maml:name> <maml:description> <maml:para>Optional nest depth (defaults to 0).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Type --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="6"> <maml:name>Type</maml:name> <maml:description> <maml:para>Optional reference type (defaults to 177).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Flags --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="7"> <maml:name>Flags</maml:name> <maml:description> <maml:para>Optional flags (defaults to 2).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: IsRaster --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="5"> <maml:name>IsRaster</maml:name> <maml:description> <maml:para>Set for raster attachment.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: NonCADFile --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="6"> <maml:name>NonCADFile</maml:name> <maml:description> <maml:para>If set, will only create set relationship and not reference file relationships.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Master document.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Reference document.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.UInt64</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Elemnt ID.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Optional master model id (defaults to 0).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Optional reference model id (defaults to 0).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Optional nest depth (defaults to 0).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Optional reference type (defaults to 177).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Optional flags (defaults to 2).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Set for raster attachment.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>If set, will only create set relationship and not reference file relationships.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Add-PWDocumentReference $doc -Reference $ref -ElementId 808</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Save-PWDocumentReport --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Save-PWDocumentReport</command:name> <command:verb>Save</command:verb> <command:noun>PWDocumentReport</command:noun> <maml:description> <maml:para>Saves a report of all the documents and metadata contained in a folder path or in a saved search.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Saves a report of all the documents and metadata contained in a folder path or in a saved search. Includes audit trail as well as records from backup audit trail table.</maml:para> <maml:para>Include neither path nor search name to report on whole datasource. Probably not a good idea to include audit trail in that case.</maml:para> <maml:para>Use the recurse parameter to include all sub-folders in the report.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Save-PWDocumentReport</maml:name> <!-- Parameter: ProjectWiseFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ProjectWiseFolder</maml:name> <maml:description> <maml:para>Path to the folder to report on (e.g. "PWPS Connected Project Test 6\Projects 2\Project A").</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SearchName</maml:name> <maml:description> <maml:para>Name of saved search to report on (e.g. "60% Complete").</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AuditTrailRecordsEnd --> <command:parameter required="false" globbing="false" pipelineInput="false" position="10"> <maml:name>AuditTrailRecordsEnd</maml:name> <maml:description> <maml:para>If set, include audit trail records older than this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: AppendToXLSX --> <command:parameter required="false" globbing="false" pipelineInput="false" position="11"> <maml:name>AppendToXLSX</maml:name> <maml:description> <maml:para>Append to an existing XLSX file. Will force Fast output (no hyperlinks).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="12"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Look for a personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FolderId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>FolderId</maml:name> <maml:description> <maml:para>Folder Id of folder to report on.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Full path to output XLSX file (e.g. "C:\temp\MyOutputfile.xlsx").</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IncludeVersions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>IncludeVersions</maml:name> <maml:description> <maml:para>Include this switch to report on versions.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeAuditTrail --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>IncludeAuditTrail</maml:name> <maml:description> <maml:para>Include this switch to include the audit trail.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Fast --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Fast</maml:name> <maml:description> <maml:para>Fast Workbook generation at the price of excluding the hyperlinks.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AuditTrailRecordsSince --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>AuditTrailRecordsSince</maml:name> <maml:description> <maml:para>If set, get audit trail records newer than this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: Recurse --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>Recurse</maml:name> <maml:description> <maml:para>When included, reports on all the documents within the specified folder and all sub-folders.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AuditTrailRecordsStart --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>AuditTrailRecordsStart</maml:name> <maml:description> <maml:para>If set, include audit trail records newer than this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ProjectWiseFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ProjectWiseFolder</maml:name> <maml:description> <maml:para>Path to the folder to report on (e.g. "PWPS Connected Project Test 6\Projects 2\Project A").</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SearchName</maml:name> <maml:description> <maml:para>Name of saved search to report on (e.g. "60% Complete").</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>FolderId</maml:name> <maml:description> <maml:para>Folder Id of folder to report on.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Full path to output XLSX file (e.g. "C:\temp\MyOutputfile.xlsx").</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IncludeVersions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>IncludeVersions</maml:name> <maml:description> <maml:para>Include this switch to report on versions.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeAuditTrail --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>IncludeAuditTrail</maml:name> <maml:description> <maml:para>Include this switch to include the audit trail.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Fast --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Fast</maml:name> <maml:description> <maml:para>Fast Workbook generation at the price of excluding the hyperlinks.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AuditTrailRecordsSince --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>AuditTrailRecordsSince</maml:name> <maml:description> <maml:para>If set, get audit trail records newer than this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: Recurse --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>Recurse</maml:name> <maml:description> <maml:para>When included, reports on all the documents within the specified folder and all sub-folders.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AuditTrailRecordsStart --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>AuditTrailRecordsStart</maml:name> <maml:description> <maml:para>If set, include audit trail records newer than this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: AuditTrailRecordsEnd --> <command:parameter required="false" globbing="false" pipelineInput="false" position="10"> <maml:name>AuditTrailRecordsEnd</maml:name> <maml:description> <maml:para>If set, include audit trail records older than this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: AppendToXLSX --> <command:parameter required="false" globbing="false" pipelineInput="false" position="11"> <maml:name>AppendToXLSX</maml:name> <maml:description> <maml:para>Append to an existing XLSX file. Will force Fast output (no hyperlinks).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="12"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Look for a personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for reporting on documents.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>#Will report on the documents ONLY in the folder identified by the folder path.</maml:para> <maml:para>Save-PWDocumentReport -ProjectWiseFolder "PWPS Connected Project Test 6\Projects 2\Project A" -OutputFileName "c:\\temp\\xmittalReport.xlsx"</maml:para> <maml:para>#Will report on the documents ONLY in the folder identified by the folder path. Will include audit trail and versions.</maml:para> <maml:para>Save-PWDocumentReport -ProjectWiseFolder "PWPS Connected Project Test 6\Projects 2\Project A" -IncludeVersions -IncludeAuditTrail -OutputFileName "c:\\temp\\xmittalReport.xlsx"</maml:para> <maml:para>#Will report on the documents in the folder and all sub-folders identified by the folder path. Will include audit trail and versions.</maml:para> <maml:para>Save-PWDocumentReport -ProjectWiseFolder "PWPS Connected Project Test 6\Projects 2\Project A" -IncludeVersions -Recurse -IncludeAuditTrail -OutputFileName "c:\\temp\\xmittalReport.xlsx"</maml:para> <maml:para>#Will report on the documents in the saved search including the audit trail (will only include versions if they are included in search)</maml:para> <maml:para>Save-PWDocumentReport -SearchName "60% Complete" -IncludeAuditTrail -OutputFileName "c:\\temp\\xmittalReport.xlsx"</maml:para> <maml:para>#Will report on the documents in the folder and all sub-folders identified by the folder path. Will include audit trail between the given dates, will include versions and will output to a SQLite database.</maml:para> <maml:para>Save-PWDocumentReport -ProjectWiseFolder "PWPS Connected Project Test 6\Projects 2\Project A" -IncludeVersions -Recurse -IncludeAuditTrail -OutputFileName "c:\\temp\\xmittalReport.sqlite" -AuditTrailRecordsStart 2015-01-01 -AuditTrailRecordEnd 2015-12-31</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWDocumentReportDataTable --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWDocumentReportDataTable</command:name> <command:verb>Get</command:verb> <command:noun>PWDocumentReportDataTable</command:noun> <maml:description> <maml:para>Output a report of all the documents and metadata contained in a folder path or in a saved search.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Output a report of all the documents and metadata contained in a folder path or in a saved search. Includes audit trail as well as records from backup audit trail table.</maml:para> <maml:para>Include neither path nor search name to report on whole datasource. Probably not a good idea to include audit trail in that case.</maml:para> <maml:para>Use the recurse parameter to include all sub-folders in the report.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWDocumentReportDataTable</maml:name> <!-- Parameter: ProjectWiseFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ProjectWiseFolder</maml:name> <maml:description> <maml:para>Path to the folder to report on (e.g. "PWPS Connected Project Test 6\Projects 2\Project A").</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SearchName</maml:name> <maml:description> <maml:para>Name of saved search to report on (e.g. "60% Complete").</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>FolderId</maml:name> <maml:description> <maml:para>Folder Id of folder to report on.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeVersions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>IncludeVersions</maml:name> <maml:description> <maml:para>Include this switch to report on versions.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeAuditTrail --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>IncludeAuditTrail</maml:name> <maml:description> <maml:para>Include this switch to include the audit trail.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Recurse --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Recurse</maml:name> <maml:description> <maml:para>When included, reports on all the documents within the specified folder and all sub-folders. Note that this is a change from the original behavior.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AuditTrailRecordsStart --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>AuditTrailRecordsStart</maml:name> <maml:description> <maml:para>If set, include audit trail records newer than this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: AuditTrailRecordsEnd --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>AuditTrailRecordsEnd</maml:name> <maml:description> <maml:para>If set, include audit trail records older than this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Look for a personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ProjectWiseFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ProjectWiseFolder</maml:name> <maml:description> <maml:para>Path to the folder to report on (e.g. "PWPS Connected Project Test 6\Projects 2\Project A").</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SearchName</maml:name> <maml:description> <maml:para>Name of saved search to report on (e.g. "60% Complete").</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>FolderId</maml:name> <maml:description> <maml:para>Folder Id of folder to report on.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeVersions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>IncludeVersions</maml:name> <maml:description> <maml:para>Include this switch to report on versions.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeAuditTrail --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>IncludeAuditTrail</maml:name> <maml:description> <maml:para>Include this switch to include the audit trail.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Recurse --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Recurse</maml:name> <maml:description> <maml:para>When included, reports on all the documents within the specified folder and all sub-folders. Note that this is a change from the original behavior.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AuditTrailRecordsStart --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>AuditTrailRecordsStart</maml:name> <maml:description> <maml:para>If set, include audit trail records newer than this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: AuditTrailRecordsEnd --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>AuditTrailRecordsEnd</maml:name> <maml:description> <maml:para>If set, include audit trail records older than this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Look for a personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: DataTable[] --> <command:returnValue> <dev:type> <maml:name>System.Data.DataTable[]</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Will report on the documents ONLY in the folder identified by the folder path</maml:para> <maml:para>Get-PWDocumentReportDataTable -ProjectWiseFolder "PWPS Connected Project Test 6\Projects 2\Project A"</maml:para> <maml:para>#Will report on the documents ONLY in the folder identified by the folder path, and will include audit trail and versions.</maml:para> <maml:para>Get-PWDocumentReportDataTable -ProjectWiseFolder "PWPS Connected Project Test 6\Projects 2\Project A" -IncludeAuditTrail -IncludeVersions</maml:para> <maml:para>#Will report on the documents in the folder identified by the folder path and all sub-folders.</maml:para> <maml:para>Get-PWDocumentReportDataTable -ProjectWiseFolder "PWPS Connected Project Test 6\Projects 2\Project A" -Recurse</maml:para> <maml:para>#Will report on the documents in the folder identified by the folder path and all sub-folders. Will include audit trail and versions.</maml:para> <maml:para>Get-PWDocumentReportDataTable -ProjectWiseFolder "PWPS Connected Project Test 6\Projects 2\Project A" -Recurse -IncludeAuditTrail -IncludeVersions</maml:para> <maml:para>#Will report on the documents ONLY in the folder identified by the folder path</maml:para> <maml:para>Get-PWDocumentReportDataTable -ProjectWiseFolder "PWPS Connected Project Test 6\Projects 2\Project A"</maml:para> <maml:para>#Will report on the documents in the saved search.</maml:para> <maml:para>Get-PWDocumentReportDataTable -SearchName "60% Complete"</maml:para> <maml:para>#Will report on the documents in the saved search including the audit trail (will only include versions if they are included in search)</maml:para> <maml:para>Get-PWDocumentReportDataTable -SearchName "60% Complete" -IncludeAuditTrail</maml:para> <maml:para>#Will report on the documents in the folder and all sub-folders identified by the folder path. Will include audit trail between the given dates and will include versions.</maml:para> <maml:para>Get-PWDocumentReportDataTable -ProjectWiseFolder "PWPS Connected Project Test 6\Projects 2\Project A" -IncludeVersions -Recurse -IncludeAuditTrail -AuditTrailRecordsStart 2015-01-01 -AuditTrailRecordEnd 2015-12-31</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: CheckOut-PWDocuments --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>CheckOut-PWDocuments</command:name> <command:verb>CheckOut</command:verb> <command:noun>PWDocuments</command:noun> <maml:description> <maml:para>Check out documents passed in the pipeline.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>CheckOut-PWDocuments</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Input array of ProjectWiseDocument objects from the pipeline (Required). Use Get-PWDocumentBySearch or New-PWDocument to feed pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Export --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Export</maml:name> <maml:description> <maml:para>Use this switch to Export documents rather then checking them out. Must include ExportFolder.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: CopyOut --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>CopyOut</maml:name> <maml:description> <maml:para>Use this switch to copy out documents rather then checking them out.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ExportFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ExportFolder</maml:name> <maml:description> <maml:para>Provide an export location for exports (will create if it does not exist).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NoReferences --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>NoReferences</maml:name> <maml:description> <maml:para>Use this switch to skip the references on a copy out.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveCopies --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>RemoveCopies</maml:name> <maml:description> <maml:para>Use this switch in the fetch-files scenario where it is unnecessary to keep the documents in the working folder. The copy out should have handled getting the files cached on the caching server. No need to double the storage requirements.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Input array of ProjectWiseDocument objects from the pipeline (Required). Use Get-PWDocumentBySearch or New-PWDocument to feed pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Export --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Export</maml:name> <maml:description> <maml:para>Use this switch to Export documents rather then checking them out. Must include ExportFolder.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ExportFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ExportFolder</maml:name> <maml:description> <maml:para>Provide an export location for exports (will create if it does not exist).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CopyOut --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>CopyOut</maml:name> <maml:description> <maml:para>Use this switch to copy out documents rather then checking them out.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: NoReferences --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>NoReferences</maml:name> <maml:description> <maml:para>Use this switch to skip the references on a copy out.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveCopies --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>RemoveCopies</maml:name> <maml:description> <maml:para>Use this switch in the fetch-files scenario where it is unnecessary to keep the documents in the working folder. The copy out should have handled getting the files cached on the caching server. No need to double the storage requirements.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Input array of ProjectWiseDocument objects from the pipeline (Required). Use Get-PWDocumentBySearch or New-PWDocument to feed pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>New-PWLogin -DatasourceName Server:DSN</maml:para> <maml:para>#Get the documents in just this folder (and their versions) where the file name pattern matches %.pdf</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath 'Microstation J' -FileName '%.dgn' | CheckOut-PWDocuments | Select-Object CheckedOutLocalFileName</maml:para> <maml:para>#Should check out all the PDFs in that folder and populate the CheckedOutLocalFileName property on the document object</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Export-PWDocuments --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Export-PWDocuments</command:name> <command:verb>Export</command:verb> <command:noun>PWDocuments</command:noun> <maml:description> <maml:para>Export files to a folder and write metadata to a spreadsheet. Should match format from Save-PWDocumentReport. NOTE: Version support assumes Document Name consistency in the version stack. The export will probably work, but the import from the spreadsheet assumes that document names are constant through the stack.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocuments --> <command:syntaxItem> <maml:name>Export-PWDocuments</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Input array of ProjectWiseDocument objects from the pipeline (Required). Use Get-PWDocumentBySearch or New-PWDocument to feed pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFolder --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Folder on disk for output.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="10"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Set to find personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ProjectWiseFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ProjectWiseFolder</maml:name> <maml:description> <maml:para>Optional ProjectWise folder path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Searches --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Searches</maml:name> <maml:description> <maml:para>Optional semi-colon delimited list of saved searches to process.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExportMetadata --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ExportMetadata</maml:name> <maml:description> <maml:para>Export metadata if set.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ExportMetadataFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>ExportMetadataFile</maml:name> <maml:description> <maml:para>Metadata file name to use. Will use default name if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExportVersions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>ExportVersions</maml:name> <maml:description> <maml:para>If set, exports versions of files. Appends .verXXXX suffix before extension. Should always be used with ExportMetadata</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: JustOneFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>JustOneFolder</maml:name> <maml:description> <maml:para>If set, exports only the files in the given folder rather than including subfolders.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: BPRCFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>BPRCFile</maml:name> <maml:description> <maml:para>If included, will build MicroStation batch processing file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ServerIsUTC --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>ServerIsUTC</maml:name> <maml:description> <maml:para>Set if server is UTC. Will do file time comparison in UTC.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Input array of ProjectWiseDocument objects from the pipeline (Required). Use Get-PWDocumentBySearch or New-PWDocument to feed pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFolder --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Folder on disk for output.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectWiseFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ProjectWiseFolder</maml:name> <maml:description> <maml:para>Optional ProjectWise folder path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Searches --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Searches</maml:name> <maml:description> <maml:para>Optional semi-colon delimited list of saved searches to process.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExportMetadata --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ExportMetadata</maml:name> <maml:description> <maml:para>Export metadata if set.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ExportMetadataFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>ExportMetadataFile</maml:name> <maml:description> <maml:para>Metadata file name to use. Will use default name if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExportVersions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>ExportVersions</maml:name> <maml:description> <maml:para>If set, exports versions of files. Appends .verXXXX suffix before extension. Should always be used with ExportMetadata</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: JustOneFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>JustOneFolder</maml:name> <maml:description> <maml:para>If set, exports only the files in the given folder rather than including subfolders.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: BPRCFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>BPRCFile</maml:name> <maml:description> <maml:para>If included, will build MicroStation batch processing file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ServerIsUTC --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>ServerIsUTC</maml:name> <maml:description> <maml:para>Set if server is UTC. Will do file time comparison in UTC.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="10"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Set to find personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Input array of ProjectWiseDocument objects from the pipeline (Required). Use Get-PWDocumentBySearch or New-PWDocument to feed pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for reporting on documents.</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>New-PWLogin Server:DSN</maml:para> <maml:para>#Will export documents returned by the listed saved searches.</maml:para> <maml:para>Export-PWDocuments -OutputFolder c:\export -Searches "60% Complete;80% Complete;90% Complete" -ExportMetadata -ExportMetadataFile "output.xlsx"</maml:para> <maml:para>#Will export documents in given folder and write metadata file with default filename and set exported (copied out) files to final status.</maml:para> <maml:para>Export-PWDocuments -OutputFolder c:\export -ProjectWiseFolder "Source A\Subfolder 1" -ExportMetadata | Set-PWDocumentFinalStatus</maml:para> <maml:para>#Gets a document, exports it with metadat and sets final status.</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Test 6\Projects 2" -DocumentName 'Final Site Plan' | Export-PWDocuments -OutputFolder c:\export -ExportMetadata | Set-PWDocumentFinalStatus</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Import-PWDocuments --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Import-PWDocuments</command:name> <command:verb>Import</command:verb> <command:noun>PWDocuments</command:noun> <maml:description> <maml:para>Imports files from disk and creates corresponding folders and documents in ProjectWise.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Import-PWDocuments</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Path to the folder on disk to import from.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectWiseFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectWiseFolder</maml:name> <maml:description> <maml:para>ProjectWise folder path (e.g. "Target A\Subfolder 1\Sub Sub Folder 2").</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExtensionsOfInterest --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ExtensionsOfInterest</maml:name> <maml:description> <maml:para>Semi-colon delimited filter for the files from the disk (e.g. ".dgn;.dwg").</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultStorage --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>DefaultStorage</maml:name> <maml:description> <maml:para>Set default storage for new folders to be created.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultWorkflow --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>DefaultWorkflow</maml:name> <maml:description> <maml:para>Set default workflow for new folders to be created.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultEnvironment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>DefaultEnvironment</maml:name> <maml:description> <maml:para>Set default environment for new folders to be created.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MakeProjectWiseMatchDisk --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>MakeProjectWiseMatchDisk</maml:name> <maml:description> <maml:para>Delete documents in ProjectWise that are not present on disk. Useful for mirroring data from disk.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: CreateVersions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>CreateVersions</maml:name> <maml:description> <maml:para>Set to create a version when the file already exists in ProjectWise. If not set, will just overwrite.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Path to the folder on disk to import from.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectWiseFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectWiseFolder</maml:name> <maml:description> <maml:para>ProjectWise folder path (e.g. "Target A\Subfolder 1\Sub Sub Folder 2").</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExtensionsOfInterest --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ExtensionsOfInterest</maml:name> <maml:description> <maml:para>Semi-colon delimited filter for the files from the disk (e.g. ".dgn;.dwg").</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultStorage --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>DefaultStorage</maml:name> <maml:description> <maml:para>Set default storage for new folders to be created.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultWorkflow --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>DefaultWorkflow</maml:name> <maml:description> <maml:para>Set default workflow for new folders to be created.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultEnvironment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>DefaultEnvironment</maml:name> <maml:description> <maml:para>Set default environment for new folders to be created.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MakeProjectWiseMatchDisk --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>MakeProjectWiseMatchDisk</maml:name> <maml:description> <maml:para>Delete documents in ProjectWise that are not present on disk. Useful for mirroring data from disk.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: CreateVersions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>CreateVersions</maml:name> <maml:description> <maml:para>Set to create a version when the file already exists in ProjectWise. If not set, will just overwrite.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for reporting on documents.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>#Will import the documents from the input folder with one of the matching extensions into PW under the give ProjectWise folder. Creates folders as necessary.</maml:para> <maml:para>#Creates versions of duplicate files with the given switch.</maml:para> <maml:para>Import-PWDocuments -InputFolder "c:\files\subfolder" -ProjectWiseFolder "Target A\Folder 1" -ExtensionsOfInterest ".dgn;.dwg" -DefaultStorage Store01 -CreateVersions</maml:para> <maml:para>#Will import files from Input folder. Shows use of pipeline.</maml:para> <maml:para>Import-PWDocuments -InputFolder "c:\files" -ProjectWiseFolder "Target A" -DefaultStorage Store01 -DefaultWorkflow Normal | Set-PWDocumentState -State "Archived"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWDocuments --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWDocuments</command:name> <command:verb>Remove</command:verb> <command:noun>PWDocuments</command:noun> <maml:description> <maml:para>Removes documents.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes an array of document objects from the pipeline and deletes them.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>Remove-PWDocuments</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of document objects from pipeline (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UseSoftDelete --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>UseSoftDelete</maml:name> <maml:description> <maml:para>Set this to "soft" delete file into Deleted Items folder.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of document objects from pipeline (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UseSoftDelete --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>UseSoftDelete</maml:name> <maml:description> <maml:para>Set this to "soft" delete file into Deleted Items folder.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of document objects from pipeline (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Get the documents in the given path and delete them</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath 'Import\Test' -FileName '02_%.pdf'| Remove-PWDocuments</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Rename-PWDocuments --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Rename-PWDocuments</command:name> <command:verb>Rename</command:verb> <command:noun>PWDocuments</command:noun> </command:details> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>Rename-PWDocuments</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentNamePart --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DocumentNamePart</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentNameReplacement --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DocumentNameReplacement</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileNamePart --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FileNamePart</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileNameReplacement --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FileNameReplacement</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReplaceDocumentNameWithFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplaceDocumentNameWithFileName</maml:name> <command:parameterValue required="true">bool</command:parameterValue> <dev:type> <maml:name>System.Boolean</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ReplaceFileNameWithDocumentName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplaceFileNameWithDocumentName</maml:name> <command:parameterValue required="true">bool</command:parameterValue> <dev:type> <maml:name>System.Boolean</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReplaceFileNameWithDocumentName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplaceFileNameWithDocumentName</maml:name> <command:parameterValue required="true">bool</command:parameterValue> <dev:type> <maml:name>System.Boolean</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ReplaceDocumentNameWithFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplaceDocumentNameWithFileName</maml:name> <command:parameterValue required="true">bool</command:parameterValue> <dev:type> <maml:name>System.Boolean</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DocumentNamePart --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DocumentNamePart</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileNamePart --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FileNamePart</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentNameReplacement --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DocumentNameReplacement</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileNameReplacement --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FileNameReplacement</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Copy-PWDocumentsBetweenDatasources --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Copy-PWDocumentsBetweenDatasources</command:name> <command:verb>Copy</command:verb> <command:noun>PWDocumentsBetweenDatasources</command:noun> <maml:description> <maml:para>Copies documents to a target folder in another datasource.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes an array of document objects from the pipeline and copies them to a target folder in another datasource.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>Copy-PWDocumentsBetweenDatasources</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of document objects from pipeline (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetDatasource --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetDatasource</maml:name> <maml:description> <maml:para>Target datasource name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>TargetFolderPath</maml:name> <maml:description> <maml:para>Path to target folder (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of document objects from pipeline (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetDatasource --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetDatasource</maml:name> <maml:description> <maml:para>Target datasource name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>TargetFolderPath</maml:name> <maml:description> <maml:para>Path to target folder (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of document objects from pipeline (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Get documents and copy them to a target folder in another datasource</maml:para> <maml:para>New-PWLogin brumd09515rem:pwv8i</maml:para> <maml:para>$docs = Show-PWDocumentSelectionDialog</maml:para> <maml:para>$encryptedPassword = Read-Host -Prompt "Enter Password:" -AsSecureString</maml:para> <maml:para>New-PWLogin brumd09515rem:ImportTest2 -UserName pwadmin -Password $encryptedPassword</maml:para> <maml:para>$folder = Show-PWFolderBrowserDialog</maml:para> <maml:para>Set-PWSession brumd09515rem:pwv8i</maml:para> <maml:para>Copy-PWDocumentsBetweenDatasources $docs -TargetDatasource brumd09515rem:importtest2 -TargetFolderPath $folder.FullPath</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Copy-PWDocumentsByProject --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Copy-PWDocumentsByProject</command:name> <command:verb>Copy</command:verb> <command:noun>PWDocumentsByProject</command:noun> <maml:description> <maml:para>Copy the contents of a folder to another folder.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Copies the contents of a folder to another folder optionally creating new sub-folders to contain the documents.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Copy-PWDocumentsByProject</maml:name> <!-- Parameter: SourceFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SourceFolderPath</maml:name> <maml:description> <maml:para>Folder path to copy from (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetFolderPath</maml:name> <maml:description> <maml:para>Folder path to copy to (Required) (Must exist).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DoNotReplicatePaths --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>DoNotReplicatePaths</maml:name> <maml:description> <maml:para>If set, will attempt to copy all documents under the source folder tree to the target folder without creating subfolders.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: NewStorageArea --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>NewStorageArea</maml:name> <maml:description> <maml:para>If set, will create new folders in this storage area.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CreateVersions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>CreateVersions</maml:name> <maml:description> <maml:para>If set, will create new versions of existing documents. Default is to overwrite existing.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SourceFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SourceFolderPath</maml:name> <maml:description> <maml:para>Folder path to copy from (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetFolderPath</maml:name> <maml:description> <maml:para>Folder path to copy to (Required) (Must exist).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DoNotReplicatePaths --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>DoNotReplicatePaths</maml:name> <maml:description> <maml:para>If set, will attempt to copy all documents under the source folder tree to the target folder without creating subfolders.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: NewStorageArea --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>NewStorageArea</maml:name> <maml:description> <maml:para>If set, will create new folders in this storage area.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CreateVersions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>CreateVersions</maml:name> <maml:description> <maml:para>If set, will create new versions of existing documents. Default is to overwrite existing.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Copy contents of source folder to target folder</maml:para> <maml:para>Copy-PWDocumentsByProject -SourceFolderPath 'Top Level\Sub-Folder' -TargetFolderPath 'Top Level 2\Sub-Folder 2' -DefaultStorageArea Storage01</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Copy-PWDocumentsBySearch --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Copy-PWDocumentsBySearch</command:name> <command:verb>Copy</command:verb> <command:noun>PWDocumentsBySearch</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Copy-PWDocumentsBySearch</maml:name> <!-- Parameter: SearchName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SearchName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReplicatePaths --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ReplicatePaths</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DefaultStorageArea --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>DefaultStorageArea</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Personal</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SearchName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SearchName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReplicatePaths --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ReplicatePaths</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DefaultStorageArea --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>DefaultStorageArea</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Personal</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example copying documents.</maml:para> <maml:para>The following will copy all documents returned from the saved search to a target folder.</maml:para> <maml:para>Copy-PWDocumentsBySearch -SearchName 'DGNS' -FolderPath 'Projects\CopyToHere' -DefaultStorageArea 'Storage'</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Example copying documents with replicatepaths parameter included.</maml:para> <maml:para>The following will copy all documents returned from the saved search to a target folder and replicate source folder structure.</maml:para> <maml:para>Copy-PWDocumentsBySearch -SearchName 'DGNS' -FolderPath 'Projects\CopyToHere' -DefaultStorageArea 'Storage' -ReplicatePaths</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWDocumentsBySearch --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWDocumentsBySearch</command:name> <command:verb>Get</command:verb> <command:noun>PWDocumentsBySearch</command:noun> <maml:description> <maml:para>Get an array of ProjectWiseDocument objects based on a saved search or from a folder tree.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes a search name or a folder path, full-text search string, document name or pattern, file name or pattern and returns the matching documents.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWDocumentsBySearch</maml:name> <!-- Parameter: SearchName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>SearchName</maml:name> <maml:description> <maml:para>Search name to execute.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to search.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Slow --> <command:parameter required="false" globbing="false" pipelineInput="false" position="10"> <maml:name>Slow</maml:name> <maml:description> <maml:para>Set to fill in document name path and attributes in document object (same as -GetAttributes).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="11"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Set to use a personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ReturnDataTable --> <command:parameter required="false" globbing="false" pipelineInput="false" position="12"> <maml:name>ReturnDataTable</maml:name> <maml:description> <maml:para>Return DataTable object rather than array of Document objects.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Version --> <command:parameter required="false" globbing="false" pipelineInput="false" position="13"> <maml:name>Version</maml:name> <maml:description> <maml:para>Version to filter on.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: GetVersionsToo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>GetVersionsToo</maml:name> <maml:description> <maml:para>Return document versions.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: GetAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>GetAttributes</maml:name> <maml:description> <maml:para>Populate attributes in document object. Will degrade performance.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: JustThisFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>JustThisFolder</maml:name> <maml:description> <maml:para>Only search this folder and not its sub-folders.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>FileName</maml:name> <maml:description> <maml:para>Filename to search for. Supports wildcards like '%.pdf'</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>DocumentName</maml:name> <maml:description> <maml:para>Document Name to search for. Supports wildcards like '%.pdf'</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>SearchString</maml:name> <maml:description> <maml:para>Full text search string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Environment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>Environment</maml:name> <maml:description> <maml:para>Environment name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Attributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>Attributes</maml:name> <maml:description> <maml:para>Hashtable of attributes to search for. Hashtable in PowerShell looks like this @{Name = 'Value'; Name2 = 'Value2' }</maml:para> </maml:description> <command:parameterValue required="true">Hashtable</command:parameterValue> <dev:type> <maml:name>System.Collections.Hashtable</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SearchName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>SearchName</maml:name> <maml:description> <maml:para>Search name to execute.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to search.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: GetVersionsToo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>GetVersionsToo</maml:name> <maml:description> <maml:para>Return document versions.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: GetAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>GetAttributes</maml:name> <maml:description> <maml:para>Populate attributes in document object. Will degrade performance.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: JustThisFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>JustThisFolder</maml:name> <maml:description> <maml:para>Only search this folder and not its sub-folders.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>FileName</maml:name> <maml:description> <maml:para>Filename to search for. Supports wildcards like '%.pdf'</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>DocumentName</maml:name> <maml:description> <maml:para>Document Name to search for. Supports wildcards like '%.pdf'</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>SearchString</maml:name> <maml:description> <maml:para>Full text search string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Environment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>Environment</maml:name> <maml:description> <maml:para>Environment name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Attributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>Attributes</maml:name> <maml:description> <maml:para>Hashtable of attributes to search for. Hashtable in PowerShell looks like this @{Name = 'Value'; Name2 = 'Value2' }</maml:para> </maml:description> <command:parameterValue required="true">Hashtable</command:parameterValue> <dev:type> <maml:name>System.Collections.Hashtable</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Slow --> <command:parameter required="false" globbing="false" pipelineInput="false" position="10"> <maml:name>Slow</maml:name> <maml:description> <maml:para>Set to fill in document name path and attributes in document object (same as -GetAttributes).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="11"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Set to use a personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ReturnDataTable --> <command:parameter required="false" globbing="false" pipelineInput="false" position="12"> <maml:name>ReturnDataTable</maml:name> <maml:description> <maml:para>Return DataTable object rather than array of Document objects.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Version --> <command:parameter required="false" globbing="false" pipelineInput="false" position="13"> <maml:name>Version</maml:name> <maml:description> <maml:para>Version to filter on.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usages for searching for documents.</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>New-PWLogin Server:DSN</maml:para> <maml:para>#Get the documents in just this folder (and their versions) where the file name pattern matches %.pdf</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Test 6\Projects 2" -GetVersionsToo -JustThisFolder -Filename '%.pdf'</maml:para> <maml:para>#Get the documents in this folder tree (and their versions) where the file name pattern matches %.pdf and 'Primary' is in the full-text index</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Test 6\Projects 2" -GetVersionsToo -SearchString 'Primary' -Filename '%.pdf'</maml:para> <maml:para>#Get the active documents in this folder tree matching these attributes</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Test 6\Projects 2" -Attributes @{Name = 'Value'; Name2 = 'Value2' }</maml:para> <maml:para>#Get the documents returned by the saved search</maml:para> <maml:para>Get-PWDocumentsBySearch -SearchName "PDFs in Project"</maml:para> <maml:para>#Get the documents returned by the saved search (note path definition) and populate the attributes and extended information (can be quite slow)</maml:para> <maml:para>Get-PWDocumentsBySearch -SearchName "Rich Project From PowerShell\Project 02\PDF Search made by PowerShell" -GetAttributes</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWDocumentsBySearch --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWDocumentsBySearch</command:name> <command:verb>Remove</command:verb> <command:noun>PWDocumentsBySearch</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Remove-PWDocumentsBySearch</maml:name> <!-- Parameter: SearchName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SearchName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Is personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SearchName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SearchName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Is personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example removing documents.</maml:para> <maml:para>The following will remove all documents returned from the saved search.</maml:para> <maml:para>Remove-PWDocumentsBySearch -SearchName 'DGNS'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWDocumentsBySearchWithReturnColumns --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWDocumentsBySearchWithReturnColumns</command:name> <command:verb>Get</command:verb> <command:noun>PWDocumentsBySearchWithReturnColumns</command:noun> <maml:description> <maml:para>Get an array of ProjectWiseDocument objects based on a saved search or from a folder tree.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes a search name or a folder path, full-text search string, document name or pattern, file name or pattern and returns the matching documents.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWDocumentsBySearchWithReturnColumns</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to search.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: GetVersionsToo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>GetVersionsToo</maml:name> <maml:description> <maml:para>Return document versions.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FileUpdatedBefore --> <command:parameter required="false" globbing="false" pipelineInput="false" position="10"> <maml:name>FileUpdatedBefore</maml:name> <maml:description> <maml:para>File updated before this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: ColumnsToReturn --> <command:parameter required="false" globbing="false" pipelineInput="false" position="11"> <maml:name>ColumnsToReturn</maml:name> <maml:description> <maml:para>List of columns to populate in search results (not validated).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReturnDataTable --> <command:parameter required="false" globbing="false" pipelineInput="false" position="12"> <maml:name>ReturnDataTable</maml:name> <maml:description> <maml:para>If set, will return a data table. Default is to return an arrary of document objects.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: JustThisFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>JustThisFolder</maml:name> <maml:description> <maml:para>Only search this folder and not its sub-folders.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>FileName</maml:name> <maml:description> <maml:para>Filename to search for. Supports wildcards like '%.pdf'</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>DocumentName</maml:name> <maml:description> <maml:para>Document Name to search for. Supports wildcards like '%.pdf'</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>SearchString</maml:name> <maml:description> <maml:para>Full text search string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Environment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Environment</maml:name> <maml:description> <maml:para>Environment name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Attributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>Attributes</maml:name> <maml:description> <maml:para>Hashtable of attribute search parameters. Hashtable in PowerShell looks like this @{Name = 'Value'; Name2 = 'Value2' }</maml:para> </maml:description> <command:parameterValue required="true">Hashtable</command:parameterValue> <dev:type> <maml:name>System.Collections.Hashtable</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: States --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>States</maml:name> <maml:description> <maml:para>List of states to search for.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileUpdatedAfter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>FileUpdatedAfter</maml:name> <maml:description> <maml:para>File updated after this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to search.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: GetVersionsToo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>GetVersionsToo</maml:name> <maml:description> <maml:para>Return document versions.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: JustThisFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>JustThisFolder</maml:name> <maml:description> <maml:para>Only search this folder and not its sub-folders.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>FileName</maml:name> <maml:description> <maml:para>Filename to search for. Supports wildcards like '%.pdf'</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>DocumentName</maml:name> <maml:description> <maml:para>Document Name to search for. Supports wildcards like '%.pdf'</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>SearchString</maml:name> <maml:description> <maml:para>Full text search string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Environment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Environment</maml:name> <maml:description> <maml:para>Environment name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Attributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>Attributes</maml:name> <maml:description> <maml:para>Hashtable of attribute search parameters. Hashtable in PowerShell looks like this @{Name = 'Value'; Name2 = 'Value2' }</maml:para> </maml:description> <command:parameterValue required="true">Hashtable</command:parameterValue> <dev:type> <maml:name>System.Collections.Hashtable</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: States --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>States</maml:name> <maml:description> <maml:para>List of states to search for.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileUpdatedAfter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>FileUpdatedAfter</maml:name> <maml:description> <maml:para>File updated after this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: FileUpdatedBefore --> <command:parameter required="false" globbing="false" pipelineInput="false" position="10"> <maml:name>FileUpdatedBefore</maml:name> <maml:description> <maml:para>File updated before this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: ColumnsToReturn --> <command:parameter required="false" globbing="false" pipelineInput="false" position="11"> <maml:name>ColumnsToReturn</maml:name> <maml:description> <maml:para>List of columns to populate in search results (not validated).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReturnDataTable --> <command:parameter required="false" globbing="false" pipelineInput="false" position="12"> <maml:name>ReturnDataTable</maml:name> <maml:description> <maml:para>If set, will return a data table. Default is to return an arrary of document objects.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usages for searching for documents.</maml:para> <maml:para>#Get the active documents in this folder tree where the file name pattern matches %.pdf, is in one of the listed states and return the columns specified</maml:para> <maml:para>Get-PWDocumentsBySearchWithReturnColumns -FolderPath "Test 6\Projects 2" -Filename '%.pdf' -States "Draft","Pending Approval" -ColumnsToReturn "PercentComplete","DrawingNumber"</maml:para> <maml:para>#Get the documents in this folder tree (and their versions) where the file name pattern matches %.pdf and 'Primary' is in the full-text index</maml:para> <maml:para>Get-PWDocumentsBySearchWithReturnColumns -FolderPath "Test 6\Projects 2" -Filename '%.pdf' -GetVersionsToo -States "Draft","Pending Approval" -SearchString "Primary" -ColumnsToReturn "PercentComplete","DrawingNumber"</maml:para> <maml:para>#Get the active documents in this folder tree matching these attributes where the file was updated after the given date</maml:para> <maml:para>Get-PWDocumentsBySearchWithReturnColumns -FolderPath "Test 6\Projects 2" -Attributes @{Name = 'Value'; Name2 = 'Value2' } -FileUpdatedAfter 2017-01-01</maml:para> <maml:para>#Get the active documents in this folder tree matching these attributes where the file was updated between the given dates</maml:para> <maml:para>Get-PWDocumentsBySearchWithReturnColumns -FolderPath "Test 6\Projects 2" -Attributes @{Name = 'Value'; Name2 = 'Value2' } -FileUpdatedAfter 2017-01-01 -FileUpdatedBefore 2017-02-01</maml:para> <maml:para>#Get the active documents in this folder tree where the file name pattern matches %.pdf, is in one of the listed states and return the columns specified in a DataTable</maml:para> <maml:para>Get-PWDocumentsBySearchWithReturnColumns -FolderPath "Test 6\Projects 2" -Filename '%.pdf' -States "Draft","Pending Approval" -ColumnsToReturn "PercentComplete","DrawingNumber" -ReturnDataTable</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Import-PWDocumentsBySpreadsheet --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Import-PWDocumentsBySpreadsheet</command:name> <command:verb>Import</command:verb> <command:noun>PWDocumentsBySpreadsheet</command:noun> <maml:description> <maml:para>Imports files from a spreadsheet. Should match format from Save-PWDocumentReport and from Export-PWDocuments. NOTE: Does not support version stack imports where the document name varies through the stack. Will handle file name variation.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Import-PWDocumentsBySpreadsheet</maml:name> <!-- Parameter: InputFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InputFile</maml:name> <maml:description> <maml:para>Spreadsheet to import from.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetProjectWiseFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetProjectWiseFolder</maml:name> <maml:description> <maml:para>Target parent folder. Builds relative folders beneath.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultStorage --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>DefaultStorage</maml:name> <maml:description> <maml:para>Storage for new folders.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultWorkflow --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>DefaultWorkflow</maml:name> <maml:description> <maml:para>Workflow for new folders.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultEnvironment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>DefaultEnvironment</maml:name> <maml:description> <maml:para>Environment for new folders.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: VersionIfExists --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>VersionIfExists</maml:name> <maml:description> <maml:para>If file exists in ProjectWise, version it. Will overwrite if not set.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OnlyUpdateAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>OnlyUpdateAttributes</maml:name> <maml:description> <maml:para>Only update the attributes.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipAuditTrail --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>SkipAuditTrail</maml:name> <maml:description> <maml:para>Skip the Audit Trail.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InputFile</maml:name> <maml:description> <maml:para>Spreadsheet to import from.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetProjectWiseFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetProjectWiseFolder</maml:name> <maml:description> <maml:para>Target parent folder. Builds relative folders beneath.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultStorage --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>DefaultStorage</maml:name> <maml:description> <maml:para>Storage for new folders.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultWorkflow --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>DefaultWorkflow</maml:name> <maml:description> <maml:para>Workflow for new folders.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultEnvironment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>DefaultEnvironment</maml:name> <maml:description> <maml:para>Environment for new folders.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: VersionIfExists --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>VersionIfExists</maml:name> <maml:description> <maml:para>If file exists in ProjectWise, version it. Will overwrite if not set.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OnlyUpdateAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>OnlyUpdateAttributes</maml:name> <maml:description> <maml:para>Only update the attributes.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipAuditTrail --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>SkipAuditTrail</maml:name> <maml:description> <maml:para>Skip the Audit Trail.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for reporting on documents.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>#Will import the documents from the input folder with one of the matching extensions into PW under the give ProjectWise folder. Creates folders as necessary.</maml:para> <maml:para>#Creates versions of duplicate files with the given switch.</maml:para> <maml:para>Import-PWDocumentsBySpreadsheet -InputFile "c:\import\import.xlsx" -TargetProjectWiseFolder "Target A\Folder 1" -DefaultStorage Store01 -VersionIfExists</maml:para> <maml:para>#Will import files from spreadsheet. Shows use of pipeline.</maml:para> <maml:para>Import-PWDocumentsBySpreadsheet -InputFile "c:\import\import.xlsx" -TargetProjectWiseFolder "Target A\Folder 1" -DefaultStorage Store01 -DefaultWorkflow Normal | Set-PWDocumentState -State "Imported"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Copy-PWDocumentSecurity --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Copy-PWDocumentSecurity</command:name> <command:verb>Copy</command:verb> <command:noun>PWDocumentSecurity</command:noun> <maml:description> <maml:para>Copy document security from a template document onto one or more input documents.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocuments --> <command:syntaxItem> <maml:name>Copy-PWDocumentSecurity</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Target document object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</dev:defaultValue> </command:parameter> <!-- Parameter: SecurityTemplate --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>SecurityTemplate</maml:name> <maml:description> <maml:para>Source document object (security template).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ApplyToVersions --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>ApplyToVersions</maml:name> <maml:description> <maml:para>Apply the security to versions of the input documents.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Target document object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</dev:defaultValue> </command:parameter> <!-- Parameter: SecurityTemplate --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>SecurityTemplate</maml:name> <maml:description> <maml:para>Source document object (security template).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ApplyToVersions --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>ApplyToVersions</maml:name> <maml:description> <maml:para>Apply the security to versions of the input documents.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target document object(s) from pipeline.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Source document object (security template).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Apply the security to versions of the input documents.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>$templateDoc = Get-PWDocumentsBySearch -FolderPath "Template Documents\Folder 1" -Name "Security Template.dgn"</maml:para> <maml:para>$targetDocs = Get-PWDocumentsBySearch -FolderPath "Target Documents\Folder 1"</maml:para> <maml:para>Copy-PWDocumentSecurity $targetDocs -SecurityTemplate $templateDoc -ApplyToVersions</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Show-PWDocumentSelectionDialog --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Show-PWDocumentSelectionDialog</command:name> <command:verb>Show</command:verb> <command:noun>PWDocumentSelectionDialog</command:noun> <maml:description> <maml:para>Select one or more ProjectWise Documents from a dialog.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InitialFolderPath --> <command:syntaxItem> <maml:name>Show-PWDocumentSelectionDialog</maml:name> <!-- Parameter: InitialFolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>InitialFolderPath</maml:name> <maml:description> <maml:para>Initial folder path (Optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileExtension --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FileExtension</maml:name> <maml:description> <maml:para>File extension filter (Optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InitialFolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>InitialFolderPath</maml:name> <maml:description> <maml:para>Initial folder path (Optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileExtension --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FileExtension</maml:name> <maml:description> <maml:para>File extension filter (Optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: ProjectWiseDocument[] --> <command:returnValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>$docs = Show-PWDocumentSelectionDialog 'UDOT\Kofax\GAX\2013' -FileExtension tif</maml:para> <maml:para>Set-PWDocumentFinalStatus $docs</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Import-PWDocumentsFromArchive --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Import-PWDocumentsFromArchive</command:name> <command:verb>Import</command:verb> <command:noun>PWDocumentsFromArchive</command:noun> <maml:description> <maml:para>Imports files, metadata and audit trail infrom from a SQLite archive container generated by Export-PWDocumentsToArchive</maml:para> </maml:description> </command:details> <maml:description> <maml:para>#Will import documents from an archive container.</maml:para> <maml:para>Import-PWDocumentsFromArchive -InputFile c:\export\export.db -TargetFolder "Imports\From Disk" -DefaultStorage Storage01 -ReplaceIfExists</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Import-PWDocumentsFromArchive</maml:name> <!-- Parameter: InputFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InputFile</maml:name> <maml:description> <maml:para>Spreadsheet to import from.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetProjectWiseFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetProjectWiseFolder</maml:name> <maml:description> <maml:para>Target parent folder. Builds relative folders beneath.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultStorage --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>DefaultStorage</maml:name> <maml:description> <maml:para>Storage for new folders.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReplaceIfExists --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ReplaceIfExists</maml:name> <maml:description> <maml:para>If file exists in ProjectWise, replace it. Will version if not set.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LocalFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>LocalFolder</maml:name> <maml:description> <maml:para>Local folder for extracting files.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: EnvironmentsOnly --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>EnvironmentsOnly</maml:name> <maml:description> <maml:para>Just import environments.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InputFile</maml:name> <maml:description> <maml:para>Spreadsheet to import from.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetProjectWiseFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetProjectWiseFolder</maml:name> <maml:description> <maml:para>Target parent folder. Builds relative folders beneath.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultStorage --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>DefaultStorage</maml:name> <maml:description> <maml:para>Storage for new folders.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReplaceIfExists --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ReplaceIfExists</maml:name> <maml:description> <maml:para>If file exists in ProjectWise, replace it. Will version if not set.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LocalFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>LocalFolder</maml:name> <maml:description> <maml:para>Local folder for extracting files.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: EnvironmentsOnly --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>EnvironmentsOnly</maml:name> <maml:description> <maml:para>Just import environments.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Will import documents from an archive container.</maml:para> <maml:para>Import-PWDocumentsFromArchive -InputFile c:\export\export.db -TargetFolder "Imports\From Disk" -DefaultStorage Storage01 -ReplaceIfExists</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: CheckIn-PWDocumentsOrFree --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>CheckIn-PWDocumentsOrFree</command:name> <command:verb>CheckIn</command:verb> <command:noun>PWDocumentsOrFree</command:noun> <maml:description> <maml:para>Check in or free documents passed in the pipeline.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Input array of ProjectWiseDocument objects from the pipeline (Required). Use Get-PWDocumentBySearch to feed pipeline. Include the -Free switch parameter to free the documents. If the local file is missing, the file will be freed regardless of whether or not the -Free switch parameter is included.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>CheckIn-PWDocumentsOrFree</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Free --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Free</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Free --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Free</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for checking in document(s).</maml:para> <maml:para>#Get the documents in the folder where filename like *.dgn and check them in.</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath 'Microstation J' -FileName '%.dgn' | CheckIn-PWDocumentsOrFree | Select-Object FileName</maml:para> <maml:para>#Should check in all the checked out documents passed to the cmdlet</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for freeing a document(s).</maml:para> <maml:para>#Get the documents in the folder where filename like *.dgn and check them in.</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath 'Microstation J' -FileName '%.dgn' | CheckIn-PWDocumentsOrFree -Free | Select-Object FileName</maml:para> <maml:para>#Should free all the checked out documents passed to the cmdlet</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWDocumentState --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWDocumentState</command:name> <command:verb>Set</command:verb> <command:noun>PWDocumentState</command:noun> <maml:description> <maml:para>Sets a document's workflow state.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes a document object from the pipeline and sets it to the indicated workflow state.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputDocuments --> <command:syntaxItem> <maml:name>Set-PWDocumentState</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: State --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>State</maml:name> <maml:description> <maml:para>Name of state to change to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ChangeVersionStates --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ChangeVersionStates</maml:name> <maml:description> <maml:para>Change state of old versions passed, too.</maml:para> <maml:para>Requires current user to be an administrator.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipIntermediateStates --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>SkipIntermediateStates</maml:name> <maml:description> <maml:para>Go directly to passed state and don't pass through intermediate states.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ChangeFinalStatusStates --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ChangeFinalStatusStates</maml:name> <maml:description> <maml:para>Change state of documents with final status set.</maml:para> <maml:para>Requires current user to be an administrator.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IgnoreStatus --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>IgnoreStatus</maml:name> <maml:description> <maml:para>Change state of exported or checked out documents.</maml:para> <maml:para>Requires current user to be an administrator.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: State --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>State</maml:name> <maml:description> <maml:para>Name of state to change to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ChangeVersionStates --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ChangeVersionStates</maml:name> <maml:description> <maml:para>Change state of old versions passed, too.</maml:para> <maml:para>Requires current user to be an administrator.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipIntermediateStates --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>SkipIntermediateStates</maml:name> <maml:description> <maml:para>Go directly to passed state and don't pass through intermediate states.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ChangeFinalStatusStates --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ChangeFinalStatusStates</maml:name> <maml:description> <maml:para>Change state of documents with final status set.</maml:para> <maml:para>Requires current user to be an administrator.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IgnoreStatus --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>IgnoreStatus</maml:name> <maml:description> <maml:para>Change state of exported or checked out documents.</maml:para> <maml:para>Requires current user to be an administrator.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Setting all the documents in a folder to a given state.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>#Get all the documents in this folder and set them to state 'Completed'</maml:para> <maml:para>#Skipping intermediate states, changing the states of old version, changing the states of documents with final status,</maml:para> <maml:para>#and changing the status of checked out and exported documents. User must be administator for special switches to work.</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Test 6\Projects 2" -GetVersionsToo -JustThisFolder | Set-PWDocumentState -State 'Completed' -SkipIntermediateStates -ChangeVersionStates -ChangeFinalStatusStates -IgnoreStatus</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Export-PWDocumentsToArchive --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Export-PWDocumentsToArchive</command:name> <command:verb>Export</command:verb> <command:noun>PWDocumentsToArchive</command:noun> <maml:description> <maml:para>Export files, metadata, and audit trail data to a SQLite container. Should be able to import with Import-PWDocumentsFromArchive.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>#Will export documents returned by the listed saved searches to an archive container.</maml:para> <maml:para>#SQLiteStudio seems like an adequate managment tool (http://sqlitestudio.pl/?act=download) for the resulting container.</maml:para> <maml:para>Export-PWDocumentsToArchive -OutputFolder c:\export -Searches "60% Complete;80% Complete;90% Complete"</maml:para> <maml:para>#Will export documents in given folder to an archive container.</maml:para> <maml:para>Export-PWDocumentsToArchive -OutputFolder c:\export -ProjectWiseFolder "Source A\Subfolder 1"</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Export-PWDocumentsToArchive</maml:name> <!-- Parameter: OutputFolder --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Folder on disk for output.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectWiseFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectWiseFolder</maml:name> <maml:description> <maml:para>Optional ProjectWise folder path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Searches --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Searches</maml:name> <maml:description> <maml:para>Optional semi-colon delimited list of saved searches to process. Now supports full path to search.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Optional output file name to use. Will use default name if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DummyFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>DummyFileName</maml:name> <maml:description> <maml:para>Set this to short-circuit file transfer. Will use this dummy file to emulate the file storage in the archive. Mostly used for testing.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Set this if using a personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: OutputFolder --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Folder on disk for output.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectWiseFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectWiseFolder</maml:name> <maml:description> <maml:para>Optional ProjectWise folder path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Searches --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Searches</maml:name> <maml:description> <maml:para>Optional semi-colon delimited list of saved searches to process. Now supports full path to search.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Optional output file name to use. Will use default name if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DummyFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>DummyFileName</maml:name> <maml:description> <maml:para>Set this to short-circuit file transfer. Will use this dummy file to emulate the file storage in the archive. Mostly used for testing.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Set this if using a personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Will export documents returned by the listed saved searches to an archive container.</maml:para> <maml:para>#SQLiteStudio seems like an adequate managment tool (http://sqlitestudio.pl/?act=download) for the resulting container.</maml:para> <maml:para>Export-PWDocumentsToArchive -OutputFolder c:\export -Searches "60% Complete;80% Complete;90% Complete"</maml:para> <maml:para>#Will export documents in given folder to an archive container.</maml:para> <maml:para>Export-PWDocumentsToArchive -OutputFolder c:\export -ProjectWiseFolder "Source A\Subfolder 1"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Export-PWDocumentsToDataSet --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Export-PWDocumentsToDataSet</command:name> <command:verb>Export</command:verb> <command:noun>PWDocumentsToDataSet</command:noun> <maml:description> <maml:para>Report general data, metadata, and audit trail data to DataSet object. Should be usable with SQL Bulk Import.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>#Will report on the documents returned by the saved search to an DataSet.</maml:para> <maml:para>Export-PWDocumentsToDataSet -SearchName "60% Complete"</maml:para> <maml:para>#Will report on documents in given folder to a DataSet.</maml:para> <maml:para>Export-PWDocumentsToDataSet -ProjectWiseFolder "Source A\Subfolder 1"</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Export-PWDocumentsToDataSet</maml:name> <!-- Parameter: ProjectWiseFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ProjectWiseFolder</maml:name> <maml:description> <maml:para>Optional ProjectWise folder path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SearchName</maml:name> <maml:description> <maml:para>Optional saved search name to process.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFile</maml:name> <maml:description> <maml:para>SQLite output filename.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Is personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ProjectWiseFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ProjectWiseFolder</maml:name> <maml:description> <maml:para>Optional ProjectWise folder path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SearchName</maml:name> <maml:description> <maml:para>Optional saved search name to process.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFile</maml:name> <maml:description> <maml:para>SQLite output filename.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Is personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: DataSet --> <command:returnValue> <dev:type> <maml:name>System.Data.DataSet</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Will report on the documents returned by the saved search to an DataSet.</maml:para> <maml:para>Export-PWDocumentsToDataSet -SearchName "60% Complete"</maml:para> <maml:para>#Will report on documents in given folder treee to a DataSet.</maml:para> <maml:para>Export-PWDocumentsToDataSet -ProjectWiseFolder "Source A\Subfolder 1"</maml:para> <maml:para>#DataSet output handling in PowerShell</maml:para> <maml:para>$ds=Export-PWDocumentsToDataSet -ProjectWiseFolder "Add Test Docs 01"</maml:para> <maml:para>foreach ($table in $ds.Tables)</maml:para> <maml:para>{</maml:para> <maml:para>Write-Host "TableName: $($table.TableName)"</maml:para> <maml:para>foreach ($column in $table.Columns)</maml:para> <maml:para>{</maml:para> <maml:para>write-Host "ColumnName: $($column.ColumnName), ColumnType: $($column.DataType)"</maml:para> <maml:para>}</maml:para> <maml:para>foreach ($row in $table.Rows)</maml:para> <maml:para>{</maml:para> <maml:para>foreach ($column in $table.Columns)</maml:para> <maml:para>{</maml:para> <maml:para>write-Host "$($column.ColumnName): $($row[$($column.ColumnName)])"</maml:para> <maml:para>}</maml:para> <maml:para>}</maml:para> <maml:para>}</maml:para> <maml:para>#Bulk copy into SQL Server. NB: used the OutputFile argument to save a SQLite copy of the data and then used the SQLite DDL to build a SQL Server table. Direct cut and paste.</maml:para> <maml:para>$ds=Export-PWDocumentsToDataSet -ProjectWiseFolder "Add Test Docs 01"</maml:para> <maml:para>$cn = new-object System.Data.SqlClient.SqlConnection("Data Source=brumd09515rem;User ID=sa;Password=pwd;Initial Catalog=BulkCopyTest");</maml:para> <maml:para>$cn.Open()</maml:para> <maml:para>$bc = new-object ("System.Data.SqlClient.SqlBulkCopy") $cn</maml:para> <maml:para>$bc.DestinationTableName = "dbo.General_Documents_Table"</maml:para> <maml:para>$dtable=$ds.Tables["General_Documents_Table"]</maml:para> <maml:para>$bc.WriteToServer($dtable)</maml:para> <maml:para>$cn.Close()</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Copy-PWDocumentsToFolder --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Copy-PWDocumentsToFolder</command:name> <command:verb>Copy</command:verb> <command:noun>PWDocumentsToFolder</command:noun> <maml:description> <maml:para>Copies documents to a target folder.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes an array of document objects from the pipeline and copies them to a target folder.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>Copy-PWDocumentsToFolder</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of document objects from pipeline (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetFolderPath</maml:name> <maml:description> <maml:para>Path to target folder (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CreateVersion --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>CreateVersion</maml:name> <maml:description> <maml:para>Set this to create a new version if the document exists. If not set, document will be overwritten.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeVersions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>IncludeVersions</maml:name> <maml:description> <maml:para>Set this to include document versions with the copy process. If not set, document versions will not be copied.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of document objects from pipeline (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetFolderPath</maml:name> <maml:description> <maml:para>Path to target folder (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CreateVersion --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>CreateVersion</maml:name> <maml:description> <maml:para>Set this to create a new version if the document exists. If not set, document will be overwritten.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeVersions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>IncludeVersions</maml:name> <maml:description> <maml:para>Set this to include document versions with the copy process. If not set, document versions will not be copied.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of document objects from pipeline (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Get the documents in the given path and copy them to a target folder</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath 'Import\Test' -FileName '02_%.pdf'| Copy-PWDocumentsToFolder -TargetFolderPath 'New\Folder\Path' -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Get the documents in the given path and copy them to a target folder. Create versions if documents exist.</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath 'Import\Test' -FileName '02_%.pdf'| Copy-PWDocumentsToFolder -TargetFolderPath 'New\Folder\Path' -CreateVersion -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>#Get the documents in the given path and copy them to a target folder, including any document versions.</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath 'Import\Test' -FileName '02_%.pdf'| Copy-PWDocumentsToFolder -TargetFolderPath 'New\Folder\Path' -IncludeVersions -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Move-PWDocumentsToFolder --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Move-PWDocumentsToFolder</command:name> <command:verb>Move</command:verb> <command:noun>PWDocumentsToFolder</command:noun> <maml:description> <maml:para>Moves documents to a target folder.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes an array of document objects from the pipeline and moves them to a target folder.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>Move-PWDocumentsToFolder</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of document objects from pipeline (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetFolderPath</maml:name> <maml:description> <maml:para>Path to target folder (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CreateVersion --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>CreateVersion</maml:name> <maml:description> <maml:para>Set this to create a new version if the document exists. If not set, document will be overwritten.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DoNotPreserveState --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>DoNotPreserveState</maml:name> <maml:description> <maml:para>Set this to bypass workflow state preservation.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of document objects from pipeline (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetFolderPath</maml:name> <maml:description> <maml:para>Path to target folder (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CreateVersion --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>CreateVersion</maml:name> <maml:description> <maml:para>Set this to create a new version if the document exists. If not set, document will be overwritten.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DoNotPreserveState --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>DoNotPreserveState</maml:name> <maml:description> <maml:para>Set this to bypass workflow state preservation.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of document objects from pipeline (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Get the documents in the given path and move them to a target folder</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath 'Import\Test' -FileName '02_%.pdf'| Move-PWDocumentsToFolder -TargetFolderPath 'New\Folder\Path'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWDocumentsWithCode --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWDocumentsWithCode</command:name> <command:verb>Add</command:verb> <command:noun>PWDocumentsWithCode</command:noun> <maml:description> <maml:para>Create new abstract documents with document codes.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Will will create abstract documents using the document code.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Add-PWDocumentsWithCode</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of folders to process. Should use Get-PWFolders or related cmdlet to generate</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: Attributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Attributes</maml:name> <maml:description> <maml:para>Hashtable of attributes. Hashtable in PowerShell looks like this @{Name = 'Value'; Name2 = 'Value2' }</maml:para> </maml:description> <command:parameterValue required="true">Hashtable</command:parameterValue> <dev:type> <maml:name>System.Collections.Hashtable</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NumberOfDocuments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>NumberOfDocuments</maml:name> <maml:description> <maml:para>Number of documents to create (Required).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: StartNumber --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>StartNumber</maml:name> <maml:description> <maml:para>Start number for naming (Optional).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of folders to process. Should use Get-PWFolders or related cmdlet to generate</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: Attributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Attributes</maml:name> <maml:description> <maml:para>Hashtable of attributes. Hashtable in PowerShell looks like this @{Name = 'Value'; Name2 = 'Value2' }</maml:para> </maml:description> <command:parameterValue required="true">Hashtable</command:parameterValue> <dev:type> <maml:name>System.Collections.Hashtable</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NumberOfDocuments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>NumberOfDocuments</maml:name> <maml:description> <maml:para>Number of documents to create (Required).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: StartNumber --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>StartNumber</maml:name> <maml:description> <maml:para>Start number for naming (Optional).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of folders to process. Should use Get-PWFolders or related cmdlet to generate</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para># Create 5 abstract documents using document code populated with the passed default attribute values</maml:para> <maml:para>Get-PWFolders -FolderPath 'Replicated\Project 01' | Add-PWDocumentsWithCode -Attributes @{ ProjectNumber = 'BSI400'; AreaShort = 'RW'; DocumentTypeShort = '2DM'; LevelShort = 'NA' } -NumberOfDocuments 5</maml:para> <maml:para># Create 5 abstract documents using document code populated with the passed default attribute values and then attach a dummy file to each with the appropriate name</maml:para> <maml:para>Get-PWFolders -FolderPath 'Replicated\Project 01' | Add-PWDocumentsWithCode -Attributes @{ ProjectNumber = 'BSI400'; AreaShort = 'RW'; DocumentTypeShort = '2DM'; LevelShort = 'NA' } -NumberOfDocuments 5 | Update-PWDocumentFile -NewFile 'C:\temp\dummy.txt' -UseDocumentName</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Submit-PWDocumentToPrint --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Submit-PWDocumentToPrint</command:name> <command:verb>Submit</command:verb> <command:noun>PWDocumentToPrint</command:noun> <maml:description> <maml:para>Copy out files and submit them to print on the default printer. Probably works best for PDFs.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocuments --> <command:syntaxItem> <maml:name>Submit-PWDocumentToPrint</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Documents to copy out and print (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Wait --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>Wait</maml:name> <maml:description> <maml:para>Wait for print to complete.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Documents to copy out and print (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Wait --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>Wait</maml:name> <maml:description> <maml:para>Wait for print to complete.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Documents to copy out and print (Required).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Wait for print to complete.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#get all the printers, figure out which one is the current default, change the default printer to the one you want, print your documents, set the printer back to the original default</maml:para> <maml:para>$printers=Get-WMIObject Win32_Printer</maml:para> <maml:para>$defprinter01=Get-WMIObject Win32_Printer | Where{$_.Default -eq $true}</maml:para> <maml:para>$defprinter02=Get-WMIObject Win32_Printer | Where{$_.Name -eq "HP Laser Jet"}</maml:para> <maml:para>$defprinter02.SetDefaultPrinter()</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath 'Top Level\Sub-Folder' -FileName %.pdf | Submit-PWPDFPrint -Verbose</maml:para> <maml:para>$defprinter01.SetDefaultPrinter()</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWDocumentUserListAccess --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWDocumentUserListAccess</command:name> <command:verb>Set</command:verb> <command:noun>PWDocumentUserListAccess</command:noun> <maml:description> <maml:para>Set userlist access for one or more input documents.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocuments --> <command:syntaxItem> <maml:name>Set-PWDocumentUserListAccess</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Target document object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</dev:defaultValue> </command:parameter> <!-- Parameter: UserList --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>UserList</maml:name> <maml:description> <maml:para>UserList to apply access for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Access --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>Access</maml:name> <maml:description> <maml:para>Access specifies the access control to be applied.</maml:para> <maml:para>The available entries are:</maml:para> <maml:para>fc - full control,</maml:para> <maml:para>cp - change permissions,</maml:para> <maml:para>c - create,</maml:para> <maml:para>d - delete,</maml:para> <maml:para>r - read,</maml:para> <maml:para>w - write,</maml:para> <maml:para>cw - change workflow,</maml:para> <maml:para>fr - file read,</maml:para> <maml:para>fw - file write,</maml:para> <maml:para>f - free,</maml:para> <maml:para>na - no access</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ApplyToVersions --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>ApplyToVersions</maml:name> <maml:description> <maml:para>Apply the security to versions of the input documents.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Target document object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</dev:defaultValue> </command:parameter> <!-- Parameter: UserList --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>UserList</maml:name> <maml:description> <maml:para>UserList to apply access for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Access --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>Access</maml:name> <maml:description> <maml:para>Access specifies the access control to be applied.</maml:para> <maml:para>The available entries are:</maml:para> <maml:para>fc - full control,</maml:para> <maml:para>cp - change permissions,</maml:para> <maml:para>c - create,</maml:para> <maml:para>d - delete,</maml:para> <maml:para>r - read,</maml:para> <maml:para>w - write,</maml:para> <maml:para>cw - change workflow,</maml:para> <maml:para>fr - file read,</maml:para> <maml:para>fw - file write,</maml:para> <maml:para>f - free,</maml:para> <maml:para>na - no access</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ApplyToVersions --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>ApplyToVersions</maml:name> <maml:description> <maml:para>Apply the security to versions of the input documents.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target document object(s) from pipeline.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>UserList to apply access for.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Access specifies the access control to be applied.</maml:para> <maml:para>The available entries are:</maml:para> <maml:para>fc - full control,</maml:para> <maml:para>cp - change permissions,</maml:para> <maml:para>c - create,</maml:para> <maml:para>d - delete,</maml:para> <maml:para>r - read,</maml:para> <maml:para>w - write,</maml:para> <maml:para>cw - change workflow,</maml:para> <maml:para>fr - file read,</maml:para> <maml:para>fw - file write,</maml:para> <maml:para>f - free,</maml:para> <maml:para>na - no access</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Apply the security to versions of the input documents.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>$targetDocs = Get-PWDocumentsBySearch -FolderPath "Target Documents\Folder 1"</maml:para> <maml:para>Set-PWDocumentUserListAccess $targetDocs -UserList 'Drafters' -Access 'r','w','fr','fw'</maml:para> <maml:para>Set-PWDocumentUserListAccess $targetDocs -UserList 'Project Managers' -Access 'na'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWDocumentVersion --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWDocumentVersion</command:name> <command:verb>New</command:verb> <command:noun>PWDocumentVersion</command:noun> <maml:description> <maml:para>Creates new versions of ProjectWise documents passed on the pipeline.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>#Search for documents and version them to version A.</maml:para> <maml:para>Get-PWDocumentsBySearch -SearchName "Documents in Released State" | New-PWDocumentVersion -VersionString A</maml:para> <maml:para>#Search for documents in folder and version to next version.</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Project A\Files to Version" | New-PWDocumentVersion</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>New-PWDocumentVersion</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>List of documents from pipeline (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: VersionString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>VersionString</maml:name> <maml:description> <maml:para>Optional version string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>List of documents from pipeline (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: VersionString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>VersionString</maml:name> <maml:description> <maml:para>Optional version string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>List of documents from pipeline (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Search for documents and version them to version A.</maml:para> <maml:para>Get-PWDocumentsBySearch -SearchName "Documents in Released State" | New-PWDocumentVersion -VersionString A</maml:para> <maml:para>#Search for documents in folder version to next version.</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Project A\Files to Version" | New-PWDocumentVersion</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWDocumentVersions --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWDocumentVersions</command:name> <command:verb>Remove</command:verb> <command:noun>PWDocumentVersions</command:noun> <maml:description> <maml:para>Removes old document versions above a certain number.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes an array of document objects from the pipeline and a number of versions to keep parameter.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>Remove-PWDocumentVersions</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of document objects from pipeline (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NumberOfVersionsToKeep --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>NumberOfVersionsToKeep</maml:name> <maml:description> <maml:para>Number of versions to keep (Required).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of document objects from pipeline (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NumberOfVersionsToKeep --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>NumberOfVersionsToKeep</maml:name> <maml:description> <maml:para>Number of versions to keep (Required).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of document objects from pipeline (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Get the documents in the given path and delete old versions of the documents up to the "number of versions to keep"</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath 'Import\Test' | Remove-PWDocumentVersions -NumberOfVersionsToKeep 3</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWDocumentViaWSG --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWDocumentViaWSG</command:name> <command:verb>New</command:verb> <command:noun>PWDocumentViaWSG</command:noun> <maml:description> <maml:para>Use ProjectWise Connector to upload a file via WSG. Might be useful when ProjectWise client is not installed or port 5800 connection is not available.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>New-PWDocumentViaWSG</maml:name> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Token</maml:name> <maml:description> <maml:para>Token (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WSGURL --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>WSGURL</maml:name> <maml:description> <maml:para>WSG URL (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Datasource --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>Datasource</maml:name> <maml:description> <maml:para>Datasource Name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Folder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>Folder</maml:name> <maml:description> <maml:para>Target Folder Path (Required). Will be created if necessary.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SourceURL --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="4"> <maml:name>SourceURL</maml:name> <maml:description> <maml:para>URL of file to upload (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="5"> <maml:name>FileName</maml:name> <maml:description> <maml:para>File name (Optional). Provide if you know it particularly if URL is encoded.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Title --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="6"> <maml:name>Title</maml:name> <maml:description> <maml:para>Document description (Optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Email --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="7"> <maml:name>Email</maml:name> <maml:description> <maml:para>Provide email to get an email with a link to download the file from ProjectWise (Optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SuppressMakeUnique --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="8"> <maml:name>SuppressMakeUnique</maml:name> <maml:description> <maml:para>Web service appends a suffix to the filename/document name by default to ensure uniqueness (Optional).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Token</maml:name> <maml:description> <maml:para>Token (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WSGURL --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>WSGURL</maml:name> <maml:description> <maml:para>WSG URL (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Datasource --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>Datasource</maml:name> <maml:description> <maml:para>Datasource Name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Folder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>Folder</maml:name> <maml:description> <maml:para>Target Folder Path (Required). Will be created if necessary.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SourceURL --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="4"> <maml:name>SourceURL</maml:name> <maml:description> <maml:para>URL of file to upload (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="5"> <maml:name>FileName</maml:name> <maml:description> <maml:para>File name (Optional). Provide if you know it particularly if URL is encoded.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Title --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="6"> <maml:name>Title</maml:name> <maml:description> <maml:para>Document description (Optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Email --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="7"> <maml:name>Email</maml:name> <maml:description> <maml:para>Provide email to get an email with a link to download the file from ProjectWise (Optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SuppressMakeUnique --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="8"> <maml:name>SuppressMakeUnique</maml:name> <maml:description> <maml:para>Web service appends a suffix to the filename/document name by default to ensure uniqueness (Optional).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Token (Required).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>WSG URL (Required).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Datasource Name (Required).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target Folder Path (Required). Will be created if necessary.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>URL of file to upload (Required).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>File name (Optional). Provide if you know it particularly if URL is encoded.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Document description (Optional).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Provide email to get an email with a link to download the file from ProjectWise (Optional).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Web service appends a suffix to the filename/document name by default to ensure uniqueness (Optional).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>$encrytedPassword = Read-Host -Prompt "Enter Password:" -AsSecureString</maml:para> <maml:para>$token = Get-PWConnectorToken -UserName "user.name" -Password $encryptedPassword</maml:para> <maml:para>$params = @{</maml:para> <maml:para>Token=$token</maml:para> <maml:para>WSGURL="https://server-ws.bentley.com/ws/"</maml:para> <maml:para>Datasource="decide-pwce-us.bentley.com:decide-pwce-us-10"</maml:para> <maml:para>Folder="PowerShell Connector\Cmdlet"</maml:para> <maml:para>Email="user.name@email.com"</maml:para> <maml:para>SourceURL="https://1drv.ms/u/s!ArLe7rEb_guVgpRjGIN_5DcJkLhD2Q"</maml:para> <maml:para>Title="Upload from One Drive via PowerShell"</maml:para> <maml:para>Filename="test20180209a.zip"</maml:para> <maml:para>SuppressMakeUnique=$true</maml:para> <maml:para>}</maml:para> <maml:para>New-PWDocumentViaWSG @params</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Equivalent to first example, but uses Invoke-RestMethod instead of New-PWDocumentViaWSG</maml:para> <maml:para>$encrytedPassword = Read-Host -Prompt "Enter Password:" -AsSecureString</maml:para> <maml:para>$token = Get-PWConnectorToken -UserName "user.name" -Password $encryptedPassword</maml:para> <maml:para>$uploadBody = ConverTo-Json @{</maml:para> <maml:para>Token=$token</maml:para> <maml:para>WSGURL="https://server-ws.bentley.com/ws/"</maml:para> <maml:para>Datasource="decide-pwce-us.bentley.com:decide-pwce-us-10"</maml:para> <maml:para>Folder="PowerShell Connector\REST Upload"</maml:para> <maml:para>Email="user.name@email.com"</maml:para> <maml:para>SourceURL="https://1drv.ms/u/s!ArLe7rEb_guVgpRjGIN_5DcJkLhD2Q"</maml:para> <maml:para>Title="Upload from One Drive via PowerShell and REST"</maml:para> <maml:para>Filename="test20180209b.zip"</maml:para> <maml:para>MakeUnique=$false</maml:para> <maml:para>}</maml:para> <maml:para>$urlForUpload="https://projectwiseconnector.azurewebsites.net/api/PostFileToDatasource?code=24g5wGbJOf/k5bCla0ddjOpu06SNApVpvvMOl60tfQ0bbrDoxnGwPA=="</maml:para> <maml:para>Invoke-RestMethod -ContentType "Application/Json" -Method Post -Body $uploadBody -Uri $urlForUpload</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Search-PWDocumentWithMissingFile --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Search-PWDocumentWithMissingFile</command:name> <command:verb>Search</command:verb> <command:noun>PWDocumentWithMissingFile</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Search-PWDocumentWithMissingFile</maml:name> <!-- Parameter: Document --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Document</maml:name> <maml:description> <maml:para>Document(s) to check if there is an associated file, if yes verify the physical file exists.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseDocument</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Document --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Document</maml:name> <maml:description> <maml:para>Document(s) to check if there is an associated file, if yes verify the physical file exists.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseDocument</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Document(s) to check if there is an associated file, if yes verify the physical file exists.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Get-PWDSConfigEntry --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWDSConfigEntry</command:name> <command:verb>Get</command:verb> <command:noun>PWDSConfigEntry</command:noun> <maml:description> <maml:para>Returns datasource information based on server name, FQDN, IPAddress, and datasource name.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWDSConfigEntry</maml:name> <!-- Parameter: Server --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Server</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DatasourceName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>DatasourceName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Server --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Server</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DatasourceName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>DatasourceName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Get-PWDSConfigEntry.</maml:para> <maml:para>#Will return information for all datasources configured on local system.</maml:para> <maml:para>Get-PWDSConfigEntry</maml:para> <maml:para>#Will return information for all datasources configured on specified server by servername.</maml:para> <maml:para>Get-PWDSConfigEntry -Server 'PWConnect'</maml:para> <maml:para>#Will return information for all datasources configured on specified server by FQDN.</maml:para> <maml:para>Get-PWDSConfigEntry -Server 'Alpo.Bentley.Com'</maml:para> <maml:para>#Will return information for all datasources configured on specified server by IPAddress.</maml:para> <maml:para>Get-PWDSConfigEntry -Server '192.168.1.5'</maml:para> <maml:para>#Will return information for specified datasource.</maml:para> <maml:para>Get-PWDSConfigEntry -DatasourceName 'PWConnectEdition'</maml:para> <maml:para>#Will return information for specified datasource configured on specified server by FQDN.</maml:para> <maml:para>Get-PWDSConfigEntry -Server 'Alpo.Bentley.Com' -DatasourceName 'PWConnectEdition'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWDSSession --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWDSSession</command:name> <command:verb>Set</command:verb> <command:noun>PWDSSession</command:noun> <maml:description> <maml:para>Set-PWDSSession sets the current ProjectWise datasource session.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-PWDSSession sets the current ProjectWise datasource session using the session information passed.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWDSSession</maml:name> <!-- Parameter: PWDSSession --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>PWDSSession</maml:name> <command:parameterValue required="true">IntPtr</command:parameterValue> <dev:type> <maml:name>System.IntPtr</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: PWDSSession --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>PWDSSession</maml:name> <command:parameterValue required="true">IntPtr</command:parameterValue> <dev:type> <maml:name>System.IntPtr</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for setting the ProjectWise current datasource session using the session information passed.</maml:para> <maml:para>Set-PWDSSession -PWDSSession $session</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWEmptyFolders --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWEmptyFolders</command:name> <command:verb>Remove</command:verb> <command:noun>PWEmptyFolders</command:noun> <maml:description> <maml:para>Delete the empty folders in the given folder path.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: FolderPath --> <command:syntaxItem> <maml:name>Remove-PWEmptyFolders</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path. Will search whole datasource if not provided.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NoRecursion --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>NoRecursion</maml:name> <maml:description> <maml:para>If set, will only make one pass to delete empty leaf folders.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveRichProjects --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>RemoveRichProjects</maml:name> <maml:description> <maml:para>If set, will also remove rich projects. Otherwise, rich projects will remain even if empty.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path. Will search whole datasource if not provided.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NoRecursion --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>NoRecursion</maml:name> <maml:description> <maml:para>If set, will only make one pass to delete empty leaf folders.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveRichProjects --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>RemoveRichProjects</maml:name> <maml:description> <maml:para>If set, will also remove rich projects. Otherwise, rich projects will remain even if empty.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>New-PWFolder "Testing\Remove-PWEmptyFolders\Cmdlet\From\PowerShell" -StorageArea Storage</maml:para> <maml:para>$folders=Get-PWEmptyLeafFolders -FillPaths</maml:para> <maml:para>foreach ($folder in $folders) { $folder.FullPath }</maml:para> <maml:para>Remove-PWEmptyFolders</maml:para> <maml:para>$folders=Get-PWEmptyLeafFolders -FillPaths</maml:para> <maml:para>foreach ($folder in $folders) { $folder.FullPath }</maml:para> <maml:para>Get-PWEmptyLeafFolders -FolderPath "Top Level Folder\Sub-Folder"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWEmptyLeafFolders --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWEmptyLeafFolders</command:name> <command:verb>Get</command:verb> <command:noun>PWEmptyLeafFolders</command:noun> <maml:description> <maml:para>Returns array of empty leaf folders.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Get-PWEmptyLeafFolders</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Folders from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path. Will search whole datasource if not provided and no folders passed in pipeline.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FillPaths --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>FillPaths</maml:name> <maml:description> <maml:para>Fill paths (Slow).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Folders from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path. Will search whole datasource if not provided and no folders passed in pipeline.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FillPaths --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>FillPaths</maml:name> <maml:description> <maml:para>Fill paths (Slow).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Folders from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>$folders=Get-PWEmptyLeafFolders</maml:para> <maml:para>Get-PWEmptyLeafFolders -FolderPath "Top Level Folder\Sub-Folder"</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Get-PWFolders -FolderPath "Top Level Folder\Sub-Folder" -JustOne | Get-PWEmptyLeafFolders</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWEnvironment --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWEnvironment</command:name> <command:verb>New</command:verb> <command:noun>PWEnvironment</command:noun> <maml:description> <maml:para>Create a new environment with one column. Use Add-PWEnvironmentColumn to flesh out environment.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>New-PWEnvironment</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Name of new environment to create.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TableName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TableName</maml:name> <maml:description> <maml:para>Name of new table to create.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ColumnName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>ColumnName</maml:name> <maml:description> <maml:para>Name of default column to create. Will be nvarchar(55).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Interface --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Interface</maml:name> <maml:description> <maml:para>Name of default interface to create. Defaults to "Default".</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Name of new environment to create.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TableName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TableName</maml:name> <maml:description> <maml:para>Name of new table to create.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ColumnName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>ColumnName</maml:name> <maml:description> <maml:para>Name of default column to create. Will be nvarchar(55).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Interface --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Interface</maml:name> <maml:description> <maml:para>Name of default interface to create. Defaults to "Default".</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>New-PWLogin -DatasourceName server:DSN</maml:para> <maml:para>New-PWEnvironment -EnvironmentName NewEnvironment -TableName t_NewEnvironment -ColumnName DrawingNumber -Interface NewEnvironment -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Clear-PWEnvironmentByFolderPath --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Clear-PWEnvironmentByFolderPath</command:name> <command:verb>Clear</command:verb> <command:noun>PWEnvironmentByFolderPath</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Clear-PWEnvironmentByFolderPath</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SubFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SubFolders</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SubFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SubFolders</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Set-PWEnvironmentByFolderPath --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWEnvironmentByFolderPath</command:name> <command:verb>Set</command:verb> <command:noun>PWEnvironmentByFolderPath</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWEnvironmentByFolderPath</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Environment --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Environment</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SubFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SubFolders</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Environment --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Environment</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SubFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SubFolders</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Add-PWEnvironmentColumn --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWEnvironmentColumn</command:name> <command:verb>Add</command:verb> <command:noun>PWEnvironmentColumn</command:noun> <maml:description> <maml:para>Add-PWEnvironmentColumn adds a new column to the current datasource.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Adds a new column of types (text, integer, decimal, date) to the current datasource. NOTE: Requires that you log out and back in to see the new columns.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Add-PWEnvironmentColumn</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment to add a new column to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ColumnName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ColumnName</maml:name> <maml:description> <maml:para>Name of new column to be added to environment.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ColumnType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>ColumnType</maml:name> <maml:description> <maml:para>Data type of column to be added to environment.</maml:para> <maml:para>Acceptable values: 'date', 'text', 'decimal', 'integer'</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ColumnWidth --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ColumnWidth</maml:name> <maml:description> <maml:para>Width of column to be added to environment.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ColumnScale --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ColumnScale</maml:name> <maml:description> <maml:para>Scale of column to be added to environment.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment to add a new column to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ColumnName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ColumnName</maml:name> <maml:description> <maml:para>Name of new column to be added to environment.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ColumnType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>ColumnType</maml:name> <maml:description> <maml:para>Data type of column to be added to environment.</maml:para> <maml:para>Acceptable values: 'date', 'text', 'decimal', 'integer'</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ColumnWidth --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ColumnWidth</maml:name> <maml:description> <maml:para>Width of column to be added to environment.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ColumnScale --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ColumnScale</maml:name> <maml:description> <maml:para>Scale of column to be added to environment.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for adding a new text column to an environment.</maml:para> </maml:introduction> <dev:code>Add-PWEnvironmentColumn -EnvironmentName 'Default' -ColumnName 'MyNewTextAttribute' -ColumnType 'text' -ColumnWidth 100</dev:code> <dev:remarks> <maml:para>This adds a new text column named MyNewTextAttribute with a width of 100 to the 'Default' environment.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Example usage for adding a new integer column to an environment.</maml:para> </maml:introduction> <dev:code>Add-PWEnvironmentColumn -EnvironmentName 'Default' -ColumnName 'MyNewIntegerAttribute' -ColumnType 'integer'</dev:code> <dev:remarks> <maml:para>This adds a new integer column named MyNewIntegerAttribute to the 'Default' environment.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>Example usage for adding a new decimal column to an environment.</maml:para> </maml:introduction> <dev:code>Add-PWEnvironmentColumn -EnvironmentName 'Default' -ColumnName 'MyNewDecimalAttribute' -ColumnType 'decimal' -ColumnWidth 10 -ColumnScale 2</dev:code> <dev:remarks> <maml:para>This adds a new decimal column named MyNewDecimalAttribute with a width of 10 and a scale of 2 to the 'Default' environment.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>---------- EXAMPLE 4 ----------</maml:title> <maml:introduction> <maml:para>Example usage for adding a new date column to an environment.</maml:para> </maml:introduction> <dev:code>Add-PWEnvironmentColumn -EnvironmentName 'Default' -ColumnName 'MyNewDateAttribute' -ColumnType 'date'</dev:code> <dev:remarks> <maml:para>This adds a new date column named MyNewDateAttribute to the 'Default' environment.</maml:para> </dev:remarks> </command:example> </command:examples> </command:command> <!-- Cmdlet: Copy-PWEnvironmentColumn --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Copy-PWEnvironmentColumn</command:name> <command:verb>Copy</command:verb> <command:noun>PWEnvironmentColumn</command:noun> <maml:description> <maml:para>Copy-PWEnvironmentColumn copies an environment attribute (column) from one environment to another within the current datasource. NOTE: Requires that you log out and back in to see the new column.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Copies an environment attribute (column) from a source environment to a target environment within the current datasource</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Copy-PWEnvironmentColumn</maml:name> <!-- Parameter: SourceEnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SourceEnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute (column) from.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetEnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetEnvironmentName</maml:name> <maml:description> <maml:para>Environment to copy attribute (column) to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ColumnName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>ColumnName</maml:name> <maml:description> <maml:para>Name of column to be copied.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SourceEnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SourceEnvironmentName</maml:name> <maml:description> <maml:para>Environment containing attribute (column) from.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetEnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetEnvironmentName</maml:name> <maml:description> <maml:para>Environment to copy attribute (column) to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ColumnName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>ColumnName</maml:name> <maml:description> <maml:para>Name of column to be copied.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for copying an Environment Attribute.</maml:para> </maml:introduction> <dev:code>Copy-PWEnvironmentColumn -SourceEnvironmentName 'MySourceEnvironment' -TargetEnvironmentName 'MyTargetEnvironment -ColumnName 'MyAttributeToCopy' -Verbose</dev:code> <dev:remarks> <maml:para>This copies the MyAttributeToCopy environment attribute from MySourceEnvironment to MyTargetEnvironment.</maml:para> </dev:remarks> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWEnvironmentColumnName --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWEnvironmentColumnName</command:name> <command:verb>Update</command:verb> <command:noun>PWEnvironmentColumnName</command:noun> <maml:description> <maml:para>Changes the name of a column in an environment.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Update-PWEnvironmentColumnName</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Name of environment to modify.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ColumnName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ColumnName</maml:name> <maml:description> <maml:para>Name of column to modify.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>NewName</maml:name> <maml:description> <maml:para>New name for column.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Name of environment to modify.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ColumnName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ColumnName</maml:name> <maml:description> <maml:para>Name of column to modify.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>NewName</maml:name> <maml:description> <maml:para>New name for column.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for changing the name of a column in an environment.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>Update-PWEnvironmentColumnName -Environment Environment_1 -Column Column_1 -NewName Column_2</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWEnvironmentColumns --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWEnvironmentColumns</command:name> <command:verb>Get</command:verb> <command:noun>PWEnvironmentColumns</command:noun> <maml:description> <maml:para>Returns all columns for a specified environment within the current datasource.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWEnvironmentColumns</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment to return column information.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment to return column information.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Get-PWEnvironmentColumns.</maml:para> <maml:para>#Will return all columns for the 'Simple' environment within the current datasource.</maml:para> <maml:para>Get-PWEnvironmentColumns -EnvironmentName 'Simple' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWEnvironmentColumnWidth --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWEnvironmentColumnWidth</command:name> <command:verb>Update</command:verb> <command:noun>PWEnvironmentColumnWidth</command:noun> <maml:description> <maml:para>Changes width of a column in an environment.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Update-PWEnvironmentColumnWidth</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Name of environment to modify.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ColumnName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ColumnName</maml:name> <maml:description> <maml:para>Name of column to modify.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewWidth --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>NewWidth</maml:name> <maml:description> <maml:para>New width to set for column.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Name of environment to modify.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ColumnName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ColumnName</maml:name> <maml:description> <maml:para>Name of column to modify.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewWidth --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>NewWidth</maml:name> <maml:description> <maml:para>New width to set for column.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for changing the width of a column.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>Update-PWEnvironmentColumnWidth -Environment Environment_1 -Column Column_1 -NewWidth 256</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWEnvironmentCopyData --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWEnvironmentCopyData</command:name> <command:verb>Update</command:verb> <command:noun>PWEnvironmentCopyData</command:noun> <maml:description> <maml:para>Copies data from one column to another within an environment. Used when adding new columns. May fail on a large quantity of data.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Update-PWEnvironmentCopyData</maml:name> <!-- Parameter: Environment --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Environment</maml:name> <maml:description> <maml:para>Name of environment to modify.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Column --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Column</maml:name> <maml:description> <maml:para>Name of column to modify.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetColumn --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>TargetColumn</maml:name> <maml:description> <maml:para>New name for column.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Environment --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Environment</maml:name> <maml:description> <maml:para>Name of environment to modify.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Column --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Column</maml:name> <maml:description> <maml:para>Name of column to modify.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetColumn --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>TargetColumn</maml:name> <maml:description> <maml:para>New name for column.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for copying data from one column to another in an environment.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>Update-PWEnvironmentCopyData -Environment Environment_1 -Column Column_1 -TargetColumn Column_2</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWEnvironments --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWEnvironments</command:name> <command:verb>Get</command:verb> <command:noun>PWEnvironments</command:noun> <maml:description> <maml:para>Returns all environment objects from current datasource.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Get-PWEnvironments.</maml:para> <maml:para>#Will return all environments from current datasource.</maml:para> <maml:para>Get-PWEnvironments -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWEnvironmentsReport --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWEnvironmentsReport</command:name> <command:verb>New</command:verb> <command:noun>PWEnvironmentsReport</command:noun> <maml:description> <maml:para>Report on environments including triggers, default values and lookups.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Provide report in SQLite format or XLSX or in a format suitable for insert into SQL Server database.</maml:para> <maml:para>#Will save report to a local SQLite database.</maml:para> <maml:para>#SQLiteStudio seems like a decent managment tool (http://sqlitestudio.pl/?act=download).</maml:para> <maml:para>New-PWEnvironmenstReport -OutputFileName c:\report\environments.db</maml:para> <maml:para>#Will save report to a local XLSX file.</maml:para> <maml:para>New-PWEnvironmentsReport -OutputFileName c:\report\stats.xlsx</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>New-PWEnvironmentsReport</maml:name> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Output file name. If no XLSX extension, will save in SQLite format. If not provided, will output as data table suitable for insert to SQL Server</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Environment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Environment</maml:name> <maml:description> <maml:para>Provide environment name if just reporting on one environment.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Output file name. If no XLSX extension, will save in SQLite format. If not provided, will output as data table suitable for insert to SQL Server</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Environment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Environment</maml:name> <maml:description> <maml:para>Provide environment name if just reporting on one environment.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Provide report in SQLite format or XLSX or in a format suitable for insert into SQL Server database.</maml:para> <maml:para>#Will save report to a local SQLite database.</maml:para> <maml:para>#SQLiteStudio seems like a decent managment tool (http://sqlitestudio.pl/?act=download).</maml:para> <maml:para>New-PWEnvironmenstReport -OutputFileName c:\report\environments.db</maml:para> <maml:para>#Will save report to a local XLSX file. Just report on one environment.</maml:para> <maml:para>New-PWEnvironmentsReport -OutputFileName c:\report\stats.xlsx -Environment Titleblock</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Save-PWEnvironmentViewScript --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Save-PWEnvironmentViewScript</command:name> <command:verb>Save</command:verb> <command:noun>PWEnvironmentViewScript</command:noun> <maml:description> <maml:para>Build view script.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Save-PWEnvironmentViewScript</maml:name> <!-- Parameter: ScriptPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>ScriptPath</maml:name> <maml:description> <maml:para>Script name to generate.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: EnvironmentName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment to build view script for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment to build view script for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ScriptPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>ScriptPath</maml:name> <maml:description> <maml:para>Script name to generate.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Will build script for environment views.</maml:para> <maml:para>Save-PWEnvironmentViewScript -EnvironmentName 'Simple' -ScriptName c:\temp\CreateViews.sql</maml:para> <maml:para>Save-PWEnvironmentViewScript -ScriptName c:\temp\CreateAllViews.sql</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWError --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWError</command:name> <command:verb>Get</command:verb> <command:noun>PWError</command:noun> <maml:description> <maml:para>Get ProjectWise error description given ID.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: ErrorID --> <command:syntaxItem> <maml:name>Get-PWError</maml:name> <!-- Parameter: ErrorID --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>ErrorID</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ErrorID --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>ErrorID</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWFolders -FolderPah 'Top Level\Sub-Folder' | Get-PWManagedWorkspaces</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWExternalUsersToConnectedProject --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWExternalUsersToConnectedProject</command:name> <command:verb>Add</command:verb> <command:noun>PWExternalUsersToConnectedProject</command:noun> <maml:description> <maml:para>Takes a comma-delimited list of email addresses and adds them as external users to the CONNECTed project associated with the rich project given by the ProjectWise folder path.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Add-PWExternalUsersToConnectedProject</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Path to the rich project from which we'll find the associated CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExternalUsers --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ExternalUsers</maml:name> <maml:description> <maml:para>Comma-delimited list of emails for the external user.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Review --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Review</maml:name> <maml:description> <maml:para>Set to grant Review privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Issue --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Issue</maml:name> <maml:description> <maml:para>Set to grant Issue privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Receive --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Receive</maml:name> <maml:description> <maml:para>Set to grant Receive privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Administrator --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Administrator</maml:name> <maml:description> <maml:para>Set to grant Administrator privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Path to the rich project from which we'll find the associated CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExternalUsers --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ExternalUsers</maml:name> <maml:description> <maml:para>Comma-delimited list of emails for the external user.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Review --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Review</maml:name> <maml:description> <maml:para>Set to grant Review privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Issue --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Issue</maml:name> <maml:description> <maml:para>Set to grant Issue privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Receive --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Receive</maml:name> <maml:description> <maml:para>Set to grant Receive privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Administrator --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Administrator</maml:name> <maml:description> <maml:para>Set to grant Administrator privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for adding an external user to a CONNECTED project.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>Add-PWExternalUsersToConnectedProject -FolderPath "PWPS Connected Project Test 6\Projects 2\Project A" -ExternalUsers address1@external.com,address2@external.com,address3@external.com</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWFileCheckSumReport --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWFileCheckSumReport</command:name> <command:verb>Get</command:verb> <command:noun>PWFileCheckSumReport</command:noun> <maml:description> <maml:para>Generates a file checksum report. The idea is to identify files with duplicate content across the datasource.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWFileCheckSumReport</maml:name> <!-- Parameter: SearchName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>SearchName</maml:name> <maml:description> <maml:para>Search name (can be full path).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to search.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputReportName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputReportName</maml:name> <maml:description> <maml:para>Report path (.xlsx).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Is a personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SearchName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>SearchName</maml:name> <maml:description> <maml:para>Search name (can be full path).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to search.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputReportName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputReportName</maml:name> <maml:description> <maml:para>Report path (.xlsx).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Is a personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWFileCheckSumReport -FolderPath 'Top Level\Sub-Folder' -OutputReportName c:\temp\CheckSumReport.xlsx</maml:para> <maml:para>Get-PWFileCheckSumReport -SearchName 'Top Level\Sub-Folder\Search 01' -OutputReportName c:\temp\CheckSumReport.xlsx -Personal</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWFileTypeAssocation --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWFileTypeAssocation</command:name> <command:verb>Add</command:verb> <command:noun>PWFileTypeAssocation</command:noun> <maml:description> <maml:para>The Add-PWFileTypeAssociation cmdlet offers a method to add File Type Associations to the document processors.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Used to add File Type Associations to the document processors.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Add-PWFileTypeAssocation</maml:name> <!-- Parameter: Type --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Type</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Application --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Application</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExtensionFrom --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ExtensionFrom</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DoNotProcessFiles --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DoNotProcessFiles</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ExtensionTo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ExtensionTo</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Type --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Type</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Application --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Application</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExtensionFrom --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ExtensionFrom</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ExtensionTo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ExtensionTo</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DoNotProcessFiles --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DoNotProcessFiles</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for adding a file type association to the File Property document processor.</maml:para> </maml:introduction> <dev:code>Add-PWFileTypeAssocation -Type "File Property" -DoNotProcessFiles -Verbose </dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Copy-PWFolder --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Copy-PWFolder</command:name> <command:verb>Copy</command:verb> <command:noun>PWFolder</command:noun> <maml:description> <maml:para>Copies a folder.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Copy an existing folder into another folder. Can include subfolders and/or documents.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Copy-PWFolder</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Full folder path of parent target folder. Required. Folder must exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderToCopy --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderToCopy</maml:name> <maml:description> <maml:para>Path Name of folder to be copied. Required. Folder must exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DontCopyWorkflow --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DontCopyWorkflow</maml:name> <maml:description> <maml:para>If included, all sub-folders will be copied.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeAccessControl --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeAccessControl</maml:name> <maml:description> <maml:para>If included, all access control will be copied.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeDocumentAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeDocumentAttributes</maml:name> <maml:description> <maml:para>If included, document attributes will be copied. IncludeDocuments must also be included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeDocuments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeDocuments</maml:name> <maml:description> <maml:para>If included, all documents will be copied.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeSubFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeSubFolders</maml:name> <maml:description> <maml:para>If included, all sub-folders will be copied.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Full folder path of parent target folder. Required. Folder must exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderToCopy --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderToCopy</maml:name> <maml:description> <maml:para>Path Name of folder to be copied. Required. Folder must exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IncludeSubFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeSubFolders</maml:name> <maml:description> <maml:para>If included, all sub-folders will be copied.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DontCopyWorkflow --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DontCopyWorkflow</maml:name> <maml:description> <maml:para>If included, all sub-folders will be copied.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeDocuments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeDocuments</maml:name> <maml:description> <maml:para>If included, all documents will be copied.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeAccessControl --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeAccessControl</maml:name> <maml:description> <maml:para>If included, all access control will be copied.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeDocumentAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeDocumentAttributes</maml:name> <maml:description> <maml:para>If included, document attributes will be copied. IncludeDocuments must also be included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for Copying a folder.</maml:para> <maml:para>This copies the dwgs folder into the projects folder. No documents or sub-folders are included.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>Copy-PWFolder -FolderPath "Projects" -FolderToCopy 'DWGS'</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>This copies the DWGS folder into the Project01 folder. Sub-folders and documents will be copied.</maml:para> <maml:para>Copy-PWFolder -FolderPath "Project Folder\Project 01" -FolderToCopy 'Working Folder\DWGS' -IncludeSubFolders -IncludeDocuments</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>This copies the DWGS folder into the Project01 folder. Sub-folders and documents will be copied. Document attribute values will also be copied.</maml:para> <maml:para>Copy-PWFolder -FolderPath "Project Folder\Project 01" -FolderToCopy 'Working Folder\DWGS' -IncludeSubFolders -IncludeDocuments -IncludeDocumentAttributes</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Move-PWFolder --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Move-PWFolder</command:name> <command:verb>Move</command:verb> <command:noun>PWFolder</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Move-PWFolder</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewParentPath_Or_ROOT_ --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>NewParentPath_Or_ROOT_</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewParentPath_Or_ROOT_ --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>NewParentPath_Or_ROOT_</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: New-PWFolder --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWFolder</command:name> <command:verb>New</command:verb> <command:noun>PWFolder</command:noun> <maml:description> <maml:para>Create a new folder path.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Given a folder path, storage area, and optionally an environment and workflow, create the path and return the folder on the pipeline.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>New-PWFolder</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to create.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StorageArea --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>StorageArea</maml:name> <maml:description> <maml:para>Storage area name to create it in.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Environment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Environment</maml:name> <maml:description> <maml:para>Environment name to apply to new folder.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Workflow --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Workflow</maml:name> <maml:description> <maml:para>Workflow name to apply to new folder.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Description --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Description</maml:name> <maml:description> <maml:para>Description to apply to new folder.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to create.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StorageArea --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>StorageArea</maml:name> <maml:description> <maml:para>Storage area name to create it in.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Environment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Environment</maml:name> <maml:description> <maml:para>Environment name to apply to new folder.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Workflow --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Workflow</maml:name> <maml:description> <maml:para>Workflow name to apply to new folder.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Description --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Description</maml:name> <maml:description> <maml:para>Description to apply to new folder.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage getting folders and populating path.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>#Create the path in storage area Storage01</maml:para> <maml:para>New-PWFolder -FolderPath 'New Folder\From PowerShell\Folder 1' -StorageArea Storage01</maml:para> <maml:para>#Create the path in storage area 'Storage01' with environment 'Default' and workflow 'Normal'</maml:para> <maml:para>New-PWFolder -FolderPath 'Level 1\Level 2\Level 3\Level 4' -StorageArea Storage01 -Environment Default -Workflow Normal</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWFolder --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWFolder</command:name> <command:verb>Remove</command:verb> <command:noun>PWFolder</command:noun> <maml:description> <maml:para>Remove folders in a tree given folder path or array from pipeline. -RemoveFolders switch will just delete the empty leaf folders. -RemoveDocuments will just remove the documents in the given tree. Combine -RemoveFolders -RemoveDocuments to completely remove the tree.</maml:para> <maml:para>-ProceedWithDelete is a required parameter.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Remove-PWFolder</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder Path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RemoveDocuments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>RemoveDocuments</maml:name> <maml:description> <maml:para>Set to remove documents.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>RemoveFolders</maml:name> <maml:description> <maml:para>Set to remove folders.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ProceedWithDelete --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>ProceedWithDelete</maml:name> <maml:description> <maml:para>Required to proceed.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DeletePasses --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>DeletePasses</maml:name> <maml:description> <maml:para>Defaults to 10. Less is probably fine. More probably not required.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>10</dev:defaultValue> </command:parameter> <!-- Parameter: AlternateFolderRemovalProcess --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>AlternateFolderRemovalProcess</maml:name> <maml:description> <maml:para>Do not use.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: FullPathToFileRemovalScript --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>FullPathToFileRemovalScript</maml:name> <maml:description> <maml:para>Do not use.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder Path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RemoveDocuments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>RemoveDocuments</maml:name> <maml:description> <maml:para>Set to remove documents.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>RemoveFolders</maml:name> <maml:description> <maml:para>Set to remove folders.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ProceedWithDelete --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>ProceedWithDelete</maml:name> <maml:description> <maml:para>Required to proceed.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DeletePasses --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>DeletePasses</maml:name> <maml:description> <maml:para>Defaults to 10. Less is probably fine. More probably not required.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>10</dev:defaultValue> </command:parameter> <!-- Parameter: AlternateFolderRemovalProcess --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>AlternateFolderRemovalProcess</maml:name> <maml:description> <maml:para>Do not use.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: FullPathToFileRemovalScript --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>FullPathToFileRemovalScript</maml:name> <maml:description> <maml:para>Do not use.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWFolders -FolderPath 'Top Level\Sub-Folder' | Remove-PWFolder -RemoveDocuments -RemoveFolders -ProceedWithDelete</maml:para> <maml:para>Remove-PWFolder -FolderPath 'Top Level\Sub-Folder' -RemoveDocuments -RemoveFolders -ProceedWithDelete</maml:para> <maml:para>Remove-PWFolder -FolderPath 'Top Level\Sub-Folder' -RemoveDocuments -RemoveFolders -ProceedWithDelete -DeletePasses 15</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWFolderAuditTrailRecords --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWFolderAuditTrailRecords</command:name> <command:verb>Get</command:verb> <command:noun>PWFolderAuditTrailRecords</command:noun> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Get-PWFolderAuditTrailRecords</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. Connected projects will be added to this folders</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFilePathName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFilePathName</maml:name> <maml:description> <maml:para>Provide file path and name if you want to write data to a spreadsheet.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFormat --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>OutputFormat</maml:name> <maml:description> <maml:para>If OutputFilePathName is provided, the OutputFormat is required. Specifies export type. Valid entries are Excel and SQLite.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IncludeDocuments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeDocuments</maml:name> <maml:description> <maml:para>When the IncludeDocuments switch parameter is included, the document audit trail entries will be included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeSecondary --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeSecondary</maml:name> <maml:description> <maml:para>When the IncludeSecondary switch parameter is included, the document audit trail entries from the secondary table will be included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeSubFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeSubFolders</maml:name> <maml:description> <maml:para>When the IncludeSubFolder switch parameter is included, the subfolder audit trail entries will be included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: FolderPath --> <command:syntaxItem> <maml:name>Get-PWFolderAuditTrailRecords</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Full folder path to folder containing document of retrieve audit trail records of.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFilePathName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFilePathName</maml:name> <maml:description> <maml:para>Provide file path and name if you want to write data to a spreadsheet.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFormat --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>OutputFormat</maml:name> <maml:description> <maml:para>If OutputFilePathName is provided, the OutputFormat is required. Specifies export type. Valid entries are Excel and SQLite.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IncludeDocuments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeDocuments</maml:name> <maml:description> <maml:para>When the IncludeDocuments switch parameter is included, the document audit trail entries will be included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeSecondary --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeSecondary</maml:name> <maml:description> <maml:para>When the IncludeSecondary switch parameter is included, the document audit trail entries from the secondary table will be included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeSubFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeSubFolders</maml:name> <maml:description> <maml:para>When the IncludeSubFolder switch parameter is included, the subfolder audit trail entries will be included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. Connected projects will be added to this folders</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Full folder path to folder containing document of retrieve audit trail records of.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IncludeSubFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeSubFolders</maml:name> <maml:description> <maml:para>When the IncludeSubFolder switch parameter is included, the subfolder audit trail entries will be included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeDocuments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeDocuments</maml:name> <maml:description> <maml:para>When the IncludeDocuments switch parameter is included, the document audit trail entries will be included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeSecondary --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeSecondary</maml:name> <maml:description> <maml:para>When the IncludeSecondary switch parameter is included, the document audit trail entries from the secondary table will be included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFilePathName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFilePathName</maml:name> <maml:description> <maml:para>Provide file path and name if you want to write data to a spreadsheet.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFormat --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>OutputFormat</maml:name> <maml:description> <maml:para>If OutputFilePathName is provided, the OutputFormat is required. Specifies export type. Valid entries are Excel and SQLite.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. Connected projects will be added to this folders</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Full folder path to folder containing document of retrieve audit trail records of.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Show-PWFolderBrowserDialog --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Show-PWFolderBrowserDialog</command:name> <command:verb>Show</command:verb> <command:noun>PWFolderBrowserDialog</command:noun> <maml:description> <maml:para>Pick a ProjectWise Folder from a dialog.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InitialFolderPath --> <command:syntaxItem> <maml:name>Show-PWFolderBrowserDialog</maml:name> <!-- Parameter: InitialFolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>InitialFolderPath</maml:name> <maml:description> <maml:para>Initial folder path (Optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InitialFolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>InitialFolderPath</maml:name> <maml:description> <maml:para>Initial folder path (Optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: ProjectWiseFolder --> <command:returnValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>$folder = Show-PWFolderBrowserDialog "Top level\second level\third level"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWFolderDocumentSize --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWFolderDocumentSize</command:name> <command:verb>Get</command:verb> <command:noun>PWFolderDocumentSize</command:noun> <maml:description> <maml:para>Returns information pertaining to each folder passed. Includes IsRichProject, Top Level ProjectID, Top Level FolderPath, Number of contained documents, sum of document sizes. .</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Get-PWFolderDocumentSize</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWFolders -FolderPath "Top Level Folder\Sub-Folder" | Get-PWFolderDocumentSize"</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Get-PWFolders -FolderPath "Top Level Folder\Sub-Folder" | Get-PWFolderDocumentSize -OutputFileName "D:\TEMP\FolderDocSizeReport.xlsx"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Clear-PWFolderEnvironment --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Clear-PWFolderEnvironment</command:name> <command:verb>Clear</command:verb> <command:noun>PWFolderEnvironment</command:noun> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Clear-PWFolderEnvironment</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Set-PWFolderEnvironment --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWFolderEnvironment</command:name> <command:verb>Set</command:verb> <command:noun>PWFolderEnvironment</command:noun> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Set-PWFolderEnvironment</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: NewEnvironment --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>NewEnvironment</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: NewEnvironment --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>NewEnvironment</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Get-PWFolderGeoSpatialLocation --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWFolderGeoSpatialLocation</command:name> <command:verb>Get</command:verb> <command:noun>PWFolderGeoSpatialLocation</command:noun> <maml:description> <maml:para>Prints out the location of a folder in WKT. Takes a folder path or array of folder objects and retrieves location.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolders --> <command:syntaxItem> <maml:name>Get-PWFolderGeoSpatialLocation</maml:name> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Array of folder objects from the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Path of folder to read location from.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: GetKML --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>GetKML</maml:name> <maml:description> <maml:para>Set for KML output.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: GetGeoJSON --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>GetGeoJSON</maml:name> <maml:description> <maml:para>Set for GeoJSON output.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Array of folder objects from the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Path of folder to read location from.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: GetKML --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>GetKML</maml:name> <maml:description> <maml:para>Set for KML output.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: GetGeoJSON --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>GetGeoJSON</maml:name> <maml:description> <maml:para>Set for GeoJSON output.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of folder objects from the pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for reading a folder's location in GeoJSON.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>Get-PWFolder -FolderPath "My Locations\Folder 2" -JustOne| Get-PWFolderGeoSpatialLocation -GetGeoJSON</maml:para> <maml:para>#Example usage for reading a folder's location in KML.</maml:para> <maml:para>Get-PWFolder -FolderPath "My Locations\Folder 2" -JustOne| Get-PWFolderGeoSpatialLocation -GetKML</maml:para> <maml:para>#Example usage for reading a folder's location in WKT.</maml:para> <maml:para>Get-PWFolder -FolderPath "My Locations\Folder 2" -JustOne| Get-PWFolderGeoSpatialLocation</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWFolderGeoSpatialLocation --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWFolderGeoSpatialLocation</command:name> <command:verb>Set</command:verb> <command:noun>PWFolderGeoSpatialLocation</command:noun> <maml:description> <maml:para>Very simple location assignment for a folder. Takes a folder path or array of folder objects and assigns a block or a point on the input Lat/Long or Address and box size.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolders --> <command:syntaxItem> <maml:name>Set-PWFolderGeoSpatialLocation</maml:name> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Array of folder objects from the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Path of folder to assign location to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Latitude --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Latitude</maml:name> <maml:description> <maml:para>Latitude in decimal degrees (Required).</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Longitude --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Longitude</maml:name> <maml:description> <maml:para>Longitude in decimal degrees (Required).</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: SizeOfBoxInDegrees --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>SizeOfBoxInDegrees</maml:name> <maml:description> <maml:para>Size of box in decimal degrees. Defaults to a 10th of a second.</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>2.77777777777778E-05</dev:defaultValue> </command:parameter> <!-- Parameter: Point --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Point</maml:name> <maml:description> <maml:para>Set to mark with a point rather than a polygon.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Address --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Address</maml:name> <maml:description> <maml:para>Set to mark with a point rather than a polygon.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WKT --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>WKT</maml:name> <maml:description> <maml:para>Well Known Text string describing polygon.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Array of folder objects from the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Path of folder to assign location to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Latitude --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Latitude</maml:name> <maml:description> <maml:para>Latitude in decimal degrees (Required).</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Longitude --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Longitude</maml:name> <maml:description> <maml:para>Longitude in decimal degrees (Required).</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: SizeOfBoxInDegrees --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>SizeOfBoxInDegrees</maml:name> <maml:description> <maml:para>Size of box in decimal degrees. Defaults to a 10th of a second.</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>2.77777777777778E-05</dev:defaultValue> </command:parameter> <!-- Parameter: Point --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Point</maml:name> <maml:description> <maml:para>Set to mark with a point rather than a polygon.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Address --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Address</maml:name> <maml:description> <maml:para>Set to mark with a point rather than a polygon.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WKT --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>WKT</maml:name> <maml:description> <maml:para>Well Known Text string describing polygon.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of folder objects from the pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for creating a new folder and assigning a location to it.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>New-PWFolder -FolderPath "My Locations\Folder 2" -StorageArea "Storage 1" | Set-PWFolderGeoSpatialLocation -Latitude 45 -Longitude 90</maml:para> <maml:para>New-PWFolder -FolderPath "My Locations\Folder 3" -StorageArea "Storage 1" | Set-PWFolderGeoSpatialLocation -Address "704 15th Street, Durham, NC" -Point</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWFolderNameProps --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWFolderNameProps</command:name> <command:verb>Update</command:verb> <command:noun>PWFolderNameProps</command:noun> <maml:description> <maml:para>Used to rename or change the description of a folder.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Update-PWFolderNameProps</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>NewName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewDescription --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>NewDescription</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>NewName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewDescription --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>NewDescription</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Update-PWFolderNameProps.</maml:para> <maml:para>#Will rename the folder passed in the FolderPath parameter.</maml:para> <maml:para>Update-PWFolderNameProps -FolderPath 'Projects' -NewName 'NewProjects'</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Update-PWFolderNameProps.</maml:para> <maml:para>#Will update the description of the folder passed in the FolderPath parameter.</maml:para> <maml:para>Update-PWFolderNameProps -FolderPath 'Projects' -NewDescription 'New Projects'</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Update-PWFolderNameProps.</maml:para> <maml:para>#Will rename and update the description of the folder passed in the FolderPath parameter.</maml:para> <maml:para>Update-PWFolderNameProps -FolderPath 'Projects' -NewName 'NewProjects' -NewDescription 'New Projects'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWFolderOwner --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWFolderOwner</command:name> <command:verb>Set</command:verb> <command:noun>PWFolderOwner</command:noun> <maml:description> <maml:para>Returns an array containing immediate child folder object(s) from the specified parent folder.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Returns an array containing immediate child folder object(s) from the specified parent folder.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWFolderOwner</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>The InputFolders parameter contains the folder(s) to apply the access control to.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: MemberType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>MemberType</maml:name> <maml:description> <maml:para>The Membertype specifies whether the owner is a user, group, or userlist.</maml:para> <maml:para>Valid entries are</maml:para> <maml:para>For users: "User"</maml:para> <maml:para>For groups: "Group"</maml:para> <maml:para>For userlists: "UserList"</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MemberName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>MemberName</maml:name> <maml:description> <maml:para>Name of user, group or userlist</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>The InputFolders parameter contains the folder(s) to apply the access control to.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: MemberType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>MemberType</maml:name> <maml:description> <maml:para>The Membertype specifies whether the owner is a user, group, or userlist.</maml:para> <maml:para>Valid entries are</maml:para> <maml:para>For users: "User"</maml:para> <maml:para>For groups: "Group"</maml:para> <maml:para>For userlists: "UserList"</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MemberName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>MemberName</maml:name> <maml:description> <maml:para>Name of user, group or userlist</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>The InputFolders parameter contains the folder(s) to apply the access control to.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Returns the immediate child folder object(s) for the project with FolderID of the project selected.</maml:para> </maml:introduction> <dev:code>Get-PWFoldersImmediateChildren -FolderID (Show-PWFolderBrowserDialog).ProjectID -Verbose</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Returns all file folders within the ROOT.</maml:para> </maml:introduction> <dev:code>Get-PWFoldersImmediateChildren -Root -Verbose</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>Returns and exports the immediate child folder object(s) of 'MyProject'.</maml:para> </maml:introduction> <dev:code>Get-PWFoldersImmediateChildren -FolderPath 'MyProject' -OutputFilePathName 'd:\temp\export.xlsx' -Verbose</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWFolderPathAndProperties --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWFolderPathAndProperties</command:name> <command:verb>Get</command:verb> <command:noun>PWFolderPathAndProperties</command:noun> <maml:description> <maml:para>Given a folder object, populate the path and the project properties if available.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Designed to take a folder from the pipeline and fill in the full path and project properties if the folder is also a rich project.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Get-PWFolderPathAndProperties</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Folder object from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Folder object from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Folder object from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage getting folders and populating path.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>#Get the path and all properties for folder number 20315</maml:para> <maml:para>Get-PWFolders 20315 | Get-PWFolderPathAndProperties</maml:para> <maml:para>#Get the folder number and all properties for the given folder path</maml:para> <maml:para>Get-PWFolders -FolderPath 'Level 1\Level 2\Level 3\Level 4' -JustOne | Get-PWFolderPathAndProperties</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWFolderRenditionProfile --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWFolderRenditionProfile</command:name> <command:verb>Get</command:verb> <command:noun>PWFolderRenditionProfile</command:noun> <maml:description> <maml:para>Gets the default rendition profile for the specified folder.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Get-PWFolderRenditionProfile</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. Rendition profile will be applied to each folder.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: FolderPath --> <command:syntaxItem> <maml:name>Get-PWFolderRenditionProfile</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to apply default rendition profile.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. Rendition profile will be applied to each folder.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to apply default rendition profile.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. Rendition profile will be applied to each folder.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for getting a default rendition profile.</maml:para> <maml:para>Get-PWFolderRenditionProfile -FolderPath 'Projects\My Project'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWFolderRenditionProfile --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWFolderRenditionProfile</command:name> <command:verb>Remove</command:verb> <command:noun>PWFolderRenditionProfile</command:noun> <maml:description> <maml:para>Removes the default rendition profile set for the specified folder.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Remove-PWFolderRenditionProfile</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. Rendition profile will be removed for each folder.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: FolderPath --> <command:syntaxItem> <maml:name>Remove-PWFolderRenditionProfile</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to remove the default rendition profile from.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. Rendition profile will be removed for each folder.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to remove the default rendition profile from.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. Rendition profile will be removed for each folder.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for removing the default rendition profile.</maml:para> <maml:para>Remove-PWFolderRenditionProfile -FolderPath 'Projects\My Project'</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for removing the default rendition profile via pipeline.</maml:para> <maml:para>Get-PWFolders -FolderPath 'BSI900 - Adelaide Tower' -Slow -Justone | 'Remove-PWFolderRenditionProfile -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for removing the default rendition profile using InputFolders.</maml:para> <maml:para>$folders = Get-PWFolders -FolderPath 'BSI900 - Adelaide Tower' -Slow Remove-PWFolderRenditionProfile -InputFolders $folders -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWFolderRenditionProfile --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWFolderRenditionProfile</command:name> <command:verb>Set</command:verb> <command:noun>PWFolderRenditionProfile</command:noun> <maml:description> <maml:para>Sets the default rendition profile for the specified folder.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Set-PWFolderRenditionProfile</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. Rendition profile will be applied to each folder.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: ProfileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProfileName</maml:name> <maml:description> <maml:para>Rendition Profile name. Must exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: FolderPath --> <command:syntaxItem> <maml:name>Set-PWFolderRenditionProfile</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to apply default rendition profile.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProfileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProfileName</maml:name> <maml:description> <maml:para>Rendition Profile name. Must exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. Rendition profile will be applied to each folder.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to apply default rendition profile.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProfileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProfileName</maml:name> <maml:description> <maml:para>Rendition Profile name. Must exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. Rendition profile will be applied to each folder.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for setting a default rendition profile.</maml:para> <maml:para>Set-PWFolderRenditionProfile -FolderPath "Projects\My Project" -ProfileName "PDF to Source Folder" -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for setting a default rendition profile via pipeline.</maml:para> <maml:para>Get-PWFolders -FolderPath 'BSI900 - Adelaide Tower' -Slow -Justone | 'Set-PWFolderRenditionProfile -ProfileName "PDF to Source Folder" -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for setting a default rendition profile using InputFolders.</maml:para> <maml:para>$folders = Get-PWFolders -FolderPath 'BSI900 - Adelaide Tower' -Slow Set-PWFolderRenditionProfile -InputFolders $folders -ProfileName "PDF to Source Folder" -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWFolders --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWFolders</command:name> <command:verb>Get</command:verb> <command:noun>PWFolders</command:noun> <maml:description> <maml:para>Gets a list of the folders in a given path or under a given folder ID.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes a folder ID or folder path and enumerates all the folders beneath it in the tree.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWFolders</maml:name> <!-- Parameter: FolderID --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderID</maml:name> <maml:description> <maml:para>Folder ID for enumerating sub-folders.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path for enumerating sub-folders.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>FolderName</maml:name> <maml:description> <maml:para>Folder name for enumerating folders. Instructs to search for matching folder names.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: JustOne --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>JustOne</maml:name> <maml:description> <maml:para>Just return specified folder.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: BypassSearchAssembly --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>BypassSearchAssembly</maml:name> <maml:description> <maml:para>Search assembly has been shown to cause issues on some platforms. Will cause slower search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Provide if you desire a report.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Slow --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Slow</maml:name> <maml:description> <maml:para>Specify to populate folder path and project properties. Can take a long time for a dense folder tree.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderID --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderID</maml:name> <maml:description> <maml:para>Folder ID for enumerating sub-folders.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path for enumerating sub-folders.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>FolderName</maml:name> <maml:description> <maml:para>Folder name for enumerating folders. Instructs to search for matching folder names.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: JustOne --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>JustOne</maml:name> <maml:description> <maml:para>Just return specified folder.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: BypassSearchAssembly --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>BypassSearchAssembly</maml:name> <maml:description> <maml:para>Search assembly has been shown to cause issues on some platforms. Will cause slower search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Provide if you desire a report.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Slow --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Slow</maml:name> <maml:description> <maml:para>Specify to populate folder path and project properties. Can take a long time for a dense folder tree.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for getting all the folders in a given folder path.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>#Get all the folders in this tree</maml:para> <maml:para>$folders = Get-PWFolders -FolderPath "PWPS Connected Project Test 6\Projects 2"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWFolderSecurity --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWFolderSecurity</command:name> <command:verb>Get</command:verb> <command:noun>PWFolderSecurity</command:noun> <maml:description> <maml:para>The Get-PWFolderSecurity cmdlet is used to get access control information for a specific project/folder.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>The Get-PWFolderSecurity cmdlet is used to get access control information for a specific project/folder. This cmdlet will return a datatable specifying the project/folder access control type, name, security type (document or project/folder), the access control settings (mask value), and if it is inheriting access control, where from. If nothing is listed in the Inherited_From column, that indicates the access settings are applied directly to the project/folder. ProjectName | Type | Name | SecurityType | Access_Control_Settings | Workflow | State |Inheriting_From | FullPath ------------|-----------|-----------------|-----------------|---------------------------|--------------|-------------|-------------------|---------------------- DWGs | user | admin | Project/Folder | 65535 | | | Projects | Projects\DWGs DWGs | group | administrators | Project/Folder | 65535 | | | Projects | Projects\DWGs DWGs | userlist | all_users | Project/Folder | 6 | | | Projects | Projects\DWGs DWGs | user | admin | Document | 65535 | Workflow 1 | Initiated | | Projects\DWGS DWGs | userlist | all_users | Document | 190 | | | | Projects\DWGs</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Get-PWFolderSecurity</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage getting project/folder access control.</maml:para> <maml:para>The following will return a datatable containing the access control of the specified project/folder.</maml:para> <maml:para>Get-PWFolders -FolderPath 'projects' -JustOne -Slow | Get-PWFolderSecurity</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWFolderSecurity --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWFolderSecurity</command:name> <command:verb>Remove</command:verb> <command:noun>PWFolderSecurity</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Remove-PWFolderSecurity</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: MemberType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>MemberType</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MemberName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>MemberName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentSecurity --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DocumentSecurity</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FolderSecurity --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FolderSecurity</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: StateName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>StateName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WorkflowName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WorkflowName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: MemberType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>MemberType</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MemberName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>MemberName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderSecurity --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FolderSecurity</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DocumentSecurity --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DocumentSecurity</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: WorkflowName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WorkflowName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StateName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>StateName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>The following will remove the specified user from the project/folder and document security.</maml:para> <maml:para>Remove-PWFolderSecurity -InputFolder (Show-PWFolderBrowserDialog) -MemberType 'u' -MemberName 'username' -FolderSecurity -DocumentSecurity -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>The following will remove the specified user from the project/folder.</maml:para> <maml:para>Remove-PWFolderSecurity -InputFolder (Show-PWFolderBrowserDialog) -MemberType Everyone -FolderSecurity -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>The following will remove the specified user from the project/folder access control for the specified workflow and state.</maml:para> <maml:para>Remove-PWFolderSecurity -InputFolder (Show-PWFolderBrowserDialog) -MemberType Everyone -FolderSecurity -WorkflowName "Default Workflow" -StateName "Draft" -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Reset-PWFolderSecurity --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Reset-PWFolderSecurity</command:name> <command:verb>Reset</command:verb> <command:noun>PWFolderSecurity</command:noun> <maml:description> <maml:para>The Reset-PWFolderSecurity cmdlet is used to remove all explicitly set access control items for either folder security, document security or both, from the project/folder.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>The Reset-PWFolderSecurity cmdlet is used to remove all explicitly set access control items for either folder security, document security or both, from the project/folder.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: AllSecurity --> <command:syntaxItem> <maml:name>Reset-PWFolderSecurity</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: AllSecurity --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>AllSecurity</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeWorkflows --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeWorkflows</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: Security --> <command:syntaxItem> <maml:name>Reset-PWFolderSecurity</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: DocumentSecurity --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DocumentSecurity</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FolderSecurity --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FolderSecurity</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeWorkflows --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeWorkflows</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: AllSecurity --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>AllSecurity</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FolderSecurity --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FolderSecurity</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DocumentSecurity --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DocumentSecurity</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeWorkflows --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeWorkflows</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage resetting project/folder access control.</maml:para> <maml:para>The following will reset only the folder security access control items for the specified project/folder.</maml:para> <maml:para>Get-PWFolders -FolderPath 'Projects' -JustOne -Slow | Reset-PWFolderSecurity -FolderSecurity</maml:para> <maml:para>The following will reset only the document security access control items for the specified project/folder.</maml:para> <maml:para>Get-PWFolders -FolderPath 'Projects' -JustOne -Slow | Reset-PWFolderSecurity -DocumentSecurity</maml:para> <maml:para>The following will reset all access control items for the specified project/folder.</maml:para> <maml:para>Get-PWFolders -FolderPath 'Projects' -JustOne -Slow | Reset-PWFolderSecurity -AllSecurity</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWFolderSecurity --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWFolderSecurity</command:name> <command:verb>Update</command:verb> <command:noun>PWFolderSecurity</command:noun> <maml:description> <maml:para>UpdatePWFolderSecurity is used to add user(s), group(s), or userlist(s) access control to specified folders</maml:para> </maml:description> </command:details> <maml:description> <maml:para>The Membertype specifies whether access should be applied for a user, group, or userlist</maml:para> <maml:para>Valid entries:</maml:para> <maml:para>For users: "u", "user"</maml:para> <maml:para>For groups: "g", "group"</maml:para> <maml:para>For userlists: "ul", "userlist"</maml:para> <maml:para>For Everyone: "Everyone"</maml:para> <maml:para>The MemberAccess specifies the access control to be applied.</maml:para> <maml:para>Valid entries:</maml:para> <maml:para>fc - full control,</maml:para> <maml:para>cp - change permissions,</maml:para> <maml:para>c - create,</maml:para> <maml:para>d - delete,</maml:para> <maml:para>r - read,</maml:para> <maml:para>w - write,</maml:para> <maml:para>cw - change workflow,</maml:para> <maml:para>fr - file read,</maml:para> <maml:para>fw - file write,</maml:para> <maml:para>f - free,</maml:para> <maml:para>na - no access</maml:para> </maml:description> <command:syntax> <!-- Parameter set: Access --> <command:syntaxItem> <maml:name>Update-PWFolderSecurity</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>The InputFolders parameter contains the folder(s) to apply the access control to.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: MemberType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>MemberType</maml:name> <maml:description> <maml:para>The Membertype specifies whether access should be applied</maml:para> <maml:para>for a user, group, or userlist</maml:para> <maml:para>Valid entries are</maml:para> <maml:para>For users: "u", "User"</maml:para> <maml:para>For groups: "g", "Group"</maml:para> <maml:para>For userlists: "ul", "UserList"</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MemberName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>MemberName</maml:name> <maml:description> <maml:para>Name of user, group or userlist</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MemberAccess --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>MemberAccess</maml:name> <maml:description> <maml:para>The MemberAccess specifies the access control to be applied.</maml:para> <maml:para>The available entries are:</maml:para> <maml:para>fc - full control,</maml:para> <maml:para>cp - change permissions,</maml:para> <maml:para>c - create,</maml:para> <maml:para>d - delete,</maml:para> <maml:para>r - read,</maml:para> <maml:para>w - write,</maml:para> <maml:para>cw - change workflow,</maml:para> <maml:para>fr - file read,</maml:para> <maml:para>fw - file write,</maml:para> <maml:para>f - free,</maml:para> <maml:para>na - no access</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentSecurity --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DocumentSecurity</maml:name> <maml:description> <maml:para>Apply Document Security.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FolderSecurity --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FolderSecurity</maml:name> <maml:description> <maml:para>Apply Folder Security.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeInheritance --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeInheritance</maml:name> <maml:description> <maml:para>When included, if access control is being inherited, it will be added directly to the folder or document security.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: StateName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>StateName</maml:name> <maml:description> <maml:para>Name of workflow state to apply access control to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WorkFlowName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WorkFlowName</maml:name> <maml:description> <maml:para>Name of workflow to apply access control to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: Roles --> <command:syntaxItem> <maml:name>Update-PWFolderSecurity</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>The InputFolders parameter contains the folder(s) to apply the access control to.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: MemberType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>MemberType</maml:name> <maml:description> <maml:para>The Membertype specifies whether access should be applied</maml:para> <maml:para>for a user, group, or userlist</maml:para> <maml:para>Valid entries are</maml:para> <maml:para>For users: "u", "User"</maml:para> <maml:para>For groups: "g", "Group"</maml:para> <maml:para>For userlists: "ul", "UserList"</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MemberName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>MemberName</maml:name> <maml:description> <maml:para>Name of user, group or userlist</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Role --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Role</maml:name> <maml:description> <maml:para>The role name to be applied. Valid roles are:</maml:para> <maml:para>"Project Administrator"</maml:para> <maml:para>"Project Leader"</maml:para> <maml:para>"Team Member"</maml:para> <maml:para>"Project Observer"</maml:para> <maml:para>"No Access"</maml:para> <maml:para>"(Roles resolve to a specific set of rights on a project)"</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IncludeInheritance --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeInheritance</maml:name> <maml:description> <maml:para>When included, if access control is being inherited, it will be added directly to the folder or document security.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: StateName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>StateName</maml:name> <maml:description> <maml:para>Name of workflow state to apply access control to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WorkFlowName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WorkFlowName</maml:name> <maml:description> <maml:para>Name of workflow to apply access control to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>The InputFolders parameter contains the folder(s) to apply the access control to.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: MemberType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>MemberType</maml:name> <maml:description> <maml:para>The Membertype specifies whether access should be applied</maml:para> <maml:para>for a user, group, or userlist</maml:para> <maml:para>Valid entries are</maml:para> <maml:para>For users: "u", "User"</maml:para> <maml:para>For groups: "g", "Group"</maml:para> <maml:para>For userlists: "ul", "UserList"</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MemberName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>MemberName</maml:name> <maml:description> <maml:para>Name of user, group or userlist</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MemberAccess --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>MemberAccess</maml:name> <maml:description> <maml:para>The MemberAccess specifies the access control to be applied.</maml:para> <maml:para>The available entries are:</maml:para> <maml:para>fc - full control,</maml:para> <maml:para>cp - change permissions,</maml:para> <maml:para>c - create,</maml:para> <maml:para>d - delete,</maml:para> <maml:para>r - read,</maml:para> <maml:para>w - write,</maml:para> <maml:para>cw - change workflow,</maml:para> <maml:para>fr - file read,</maml:para> <maml:para>fw - file write,</maml:para> <maml:para>f - free,</maml:para> <maml:para>na - no access</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Role --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Role</maml:name> <maml:description> <maml:para>The role name to be applied. Valid roles are:</maml:para> <maml:para>"Project Administrator"</maml:para> <maml:para>"Project Leader"</maml:para> <maml:para>"Team Member"</maml:para> <maml:para>"Project Observer"</maml:para> <maml:para>"No Access"</maml:para> <maml:para>"(Roles resolve to a specific set of rights on a project)"</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderSecurity --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FolderSecurity</maml:name> <maml:description> <maml:para>Apply Folder Security.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DocumentSecurity --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DocumentSecurity</maml:name> <maml:description> <maml:para>Apply Document Security.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: WorkFlowName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WorkFlowName</maml:name> <maml:description> <maml:para>Name of workflow to apply access control to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StateName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>StateName</maml:name> <maml:description> <maml:para>Name of workflow state to apply access control to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IncludeInheritance --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeInheritance</maml:name> <maml:description> <maml:para>When included, if access control is being inherited, it will be added directly to the folder or document security.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>The InputFolders parameter contains the folder(s) to apply the access control to.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>The following example will update the security for the folders being passed via the pipeline, project/folder security only. The user will be added with create, read, write, and delete permissions.</maml:para> <maml:para>PS C:\>Get-PWFolders -FolderPath 'Projects' -Slow |</maml:para> <maml:para>Update‐PWFolderSecurity ‐MemberType ʺuʺ ‐MemberName “username” ‐MemberAccess “c”, “r”, “w”, “d” ‐FolderSecurity -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>The following example will update the security for the one folder, both project/folder and document security. The group, New Group, will be added with read, write for project/folder and read, write, file read, and file write permissions.</maml:para> <maml:para>PS C:\>Get-PWFolders -FolderPath 'Projects' -JustOne -Slow |</maml:para> <maml:para>Update‐PWFolderSecurity ‐MemberType ʺgʺ ‐MemberName “New Group” ‐MemberAccess “r”, “w”, “fr”, “fw” ‐FolderSecurity ‐DocumentSecurity -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>The following example will update the security for the folders being passed via the pipeline, document security only. The userlist, All_Users will be added with read, file read permissions.</maml:para> <maml:para>PS C:\>Get-PWFolders -FolderPath 'Projects' -Slow |</maml:para> <maml:para>Update‐PWFolderSecurity ‐MemberType ʺulʺ ‐MemberName “All_Users” ‐MemberAccess “r”, “fr” ‐DocumentSecurity -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 4 ----------</maml:title> <maml:introduction> <maml:para>The following example will update the security for the folders passed via the pipeline, document security only. The userlist, All_Users will be added with read, file read permissions.</maml:para> <maml:para>PS C:\>Get-PWFolders -FolderPath 'Projects' -Slow |</maml:para> <maml:para>Update‐PWFolderSecurity ‐MemberType ʺulʺ ‐MemberName “All_Users” ‐Role “Project Observer” -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 5 ----------</maml:title> <maml:introduction> <maml:para>The following example will update the security for the specified folder to include the inherited access control. Both folder and document security will be updated. The userlist, All_Users will be added with read, file read permissions.</maml:para> <maml:para>PS C:\>Get-PWFolders -FolderPath 'Projects' -JustOne -Slow |</maml:para> <maml:para>Update‐PWFolderSecurity ‐MemberType ʺulʺ ‐MemberName “All_Users” ‐Role “Project Observer” -IncludeInheritance -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 6 ----------</maml:title> <maml:introduction> <maml:para>The following example will update the security for the specified folder to include the inherited access control. Both folder and document security will be updated. The 'Everyone' user will be added with the role of Project Observer.</maml:para> <maml:para>PS C:\>Get-PWFolders -FolderPath 'Projects' -JustOne -Slow |</maml:para> <maml:para>Update‐PWFolderSecurity ‐MemberType ʺEveryoneʺ ‐Role “Project Observer” -IncludeInheritance -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWFolderSecurityByUserListSwap --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWFolderSecurityByUserListSwap</command:name> <command:verb>Update</command:verb> <command:noun>PWFolderSecurityByUserListSwap</command:noun> <maml:description> <maml:para>Update-PWFolderSecurityByUserListSwap is used to replace a userlist with another userlist within the access control to the specified folders</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Update-PWFolderSecurityByUserListSwap</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: NewUserListName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>NewUserListName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OldUserListName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>OldUserListName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: NewUserListName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>NewUserListName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OldUserListName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>OldUserListName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage updating project/folder access control.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>The following example will update the security for the folders being passed via the pipeline, project/folder security only.</maml:para> <maml:para>The user will be added with create, read, write, and delete permissions.</maml:para> <maml:para>Get-PWFolders -FolderPath 'Projects' -Slow | Update‐PWFolderSecurityByUserListSwap -NewUserListName "NewUserList" -OldUserListName "OldUserList" -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWFolderSecurityByUserListSwapWithWorkflow --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWFolderSecurityByUserListSwapWithWorkflow</command:name> <command:verb>Update</command:verb> <command:noun>PWFolderSecurityByUserListSwapWithWorkflow</command:noun> <maml:description> <maml:para>UpdatePWFolderSecurity is used to add user(s), group(s), or userlist(s) access control to specified folders</maml:para> </maml:description> </command:details> <maml:description> <maml:para>The Membertype specifies whether access should be applied for a user, group, or userlist</maml:para> <maml:para>Valid entries:</maml:para> <maml:para>For users: "u", "user"</maml:para> <maml:para>For groups: "g", "group"</maml:para> <maml:para>For userlists: "ul", "userlist"</maml:para> <maml:para>The MemberAccess specifies the access control to be applied.</maml:para> <maml:para>Valid entries:</maml:para> <maml:para>fc - full control,</maml:para> <maml:para>cp - change permissions,</maml:para> <maml:para>c - create,</maml:para> <maml:para>d - delete,</maml:para> <maml:para>r - read,</maml:para> <maml:para>w - write,</maml:para> <maml:para>cw - change workflow,</maml:para> <maml:para>fr - file read,</maml:para> <maml:para>fw - file write,</maml:para> <maml:para>f - free,</maml:para> <maml:para>na - no access</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Update-PWFolderSecurityByUserListSwapWithWorkflow</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: NewUserListName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>NewUserListName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OldUserListName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>OldUserListName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: JustOne --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>JustOne</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: NewUserListName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>NewUserListName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OldUserListName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>OldUserListName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: JustOne --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>JustOne</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage updating project/folder access control.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>The following example will update the security for the folders being passed via the pipeline, project/folder security only.</maml:para> <maml:para>The user will be added with create, read, write, and delete permissions.</maml:para> <maml:para>Get-PWFolders -FolderPath 'Projects' -Slow | Update‐PWFolderSecurity ‐MemberType ʺuʺ</maml:para> <maml:para>‐MemberName “username” ‐MemberAccess “c”, “r”, “w”, “d” ‐FolderSecurity</maml:para> <maml:para>The following example will update the security for the one folder, both project/folder and</maml:para> <maml:para>document security. The group, New Group, will be added with read, write for project/folder</maml:para> <maml:para>and read, write, file read, and file write permissions.</maml:para> <maml:para>Get-PWFolders -FolderPath 'Projects' -JustOne -Slow | Update‐PWFolderSecurity ‐MemberType ʺgʺ ‐MemberName “New Group”</maml:para> <maml:para>‐MemberAccess “r”, “w”, “fr”, “fw” ‐FolderSecurity ‐DocumentSecurity</maml:para> <maml:para>The following example will update the security for the folders being passed via the pipeline, document security only.</maml:para> <maml:para>The userlist, All_Users will be added with read, file read permissions.</maml:para> <maml:para>Get-PWFolders -FolderPath 'Projects' -Slow | Update‐PWFolderSecurity ‐MemberType ʺulʺ</maml:para> <maml:para>‐MemberName “All_Users” ‐MemberAccess “r”, “fr” ‐DocumentSecurity</maml:para> <maml:para>The following example will update the security for the folders passed via the pipelin, document security only.</maml:para> <maml:para>The userlist, All_Users will be added with read, file read permissions.</maml:para> <maml:para>Get-PWFolders -FolderPath 'Projects' -Slow | Update‐PWFolderSecurity ‐MemberType ʺulʺ</maml:para> <maml:para>‐MemberName “All_Users” ‐Role “Project Observer” -Verbose</maml:para> <maml:para>The following example will update the security for the specified folder to include the inherited access control.</maml:para> <maml:para>Both folder and document security will be updated. The userlist, All_Users will be added with read, file read permissions.</maml:para> <maml:para>Get-PWFolders -FolderPath 'Projects' -JustOne -Slow | Update‐PWFolderSecurity ‐MemberType ʺulʺ</maml:para> <maml:para>‐MemberName “All_Users” ‐Role “Project Observer” -IncludeInheritance</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWFoldersFromSpreadsheet --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWFoldersFromSpreadsheet</command:name> <command:verb>New</command:verb> <command:noun>PWFoldersFromSpreadsheet</command:noun> <maml:description> <maml:para>New-PWFoldersFromSpreadsheet is used to create folders from an Excel spreadsheet. Required fields for the Excel spreadsheet: FullPath, NewParentPath, Description, Storage, Environment, Workflow Example: FullPath | NewParentPath | Description | Storage | Environment | Workflow ----------|----------------------------------|-------------------------------|-----------|--------------|-------------------- | Projects\MyNewProject | My new project | Storage | Simple | Default Workflow | Projects\MyNewProject\Sub1 | My new project sub 1 | Storage | Simple | | Projects\MyNewProject\Sub2 | My new project sub 2 | Storage | Complex | | Projects\MyNewProject\Sub2\Sub2a | My new project sub 2 - sub 2a | | |</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Create new folders based on information passed via an Excel spreadsheet.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>New-PWFoldersFromSpreadsheet</maml:name> <!-- Parameter: InputFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultNewParentPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>DefaultNewParentPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultStorageArea --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>DefaultStorageArea</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultEnvironment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>DefaultEnvironment</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultWorkflow --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>DefaultWorkflow</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultNewParentPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>DefaultNewParentPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultStorageArea --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>DefaultStorageArea</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultEnvironment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>DefaultEnvironment</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultWorkflow --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>DefaultWorkflow</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for creating folders from an Excel spreadsheet.</maml:para> <maml:para>New-PWFoldersFromSpreadsheet -InputFileName 'd:\temp\import\newprojects.xlsx' -DefaultStorageArea 'Storage'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWFoldersImmediateChildren --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWFoldersImmediateChildren</command:name> <command:verb>Get</command:verb> <command:noun>PWFoldersImmediateChildren</command:noun> <maml:description> <maml:para>Returns an array containing immediate child folder object(s) from the specified parent folder.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Returns an array containing immediate child folder object(s) from the specified parent folder.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: FolderID --> <command:syntaxItem> <maml:name>Get-PWFoldersImmediateChildren</maml:name> <!-- Parameter: FolderID --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderID</maml:name> <maml:description> <maml:para>Folder ID for parent folder.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFilePathName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFilePathName</maml:name> <maml:description> <maml:para>Path and Name of output file to export report to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: FolderPath --> <command:syntaxItem> <maml:name>Get-PWFoldersImmediateChildren</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path for parent folder.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFilePathName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFilePathName</maml:name> <maml:description> <maml:para>Path and Name of output file to export report to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: Root --> <command:syntaxItem> <maml:name>Get-PWFoldersImmediateChildren</maml:name> <!-- Parameter: OutputFilePathName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFilePathName</maml:name> <maml:description> <maml:para>Path and Name of output file to export report to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Root --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Root</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderID --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderID</maml:name> <maml:description> <maml:para>Folder ID for parent folder.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path for parent folder.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Root --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Root</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFilePathName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFilePathName</maml:name> <maml:description> <maml:para>Path and Name of output file to export report to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Returns the immediate child folder object(s) for the project with FolderID of the project selected.</maml:para> </maml:introduction> <dev:code>Get-PWFoldersImmediateChildren -FolderID (Show-PWFolderBrowserDialog).ProjectID -Verbose</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Returns all file folders within the ROOT.</maml:para> </maml:introduction> <dev:code>Get-PWFoldersImmediateChildren -Root -Verbose</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>Returns and exports the immediate child folder object(s) of 'MyProject'.</maml:para> </maml:introduction> <dev:code>Get-PWFoldersImmediateChildren -FolderPath 'MyProject' -OutputFilePathName 'd:\temp\export.xlsx' -Verbose</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWFolderTreeDocumentSize --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWFolderTreeDocumentSize</command:name> <command:verb>Get</command:verb> <command:noun>PWFolderTreeDocumentSize</command:noun> <maml:description> <maml:para>Returns information pertaining to each folder passed. Includes IsRichProject, Top Level ProjectID, Top Level FolderPath, Number of contained documents, sum of document sizes. .</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Get-PWFolderTreeDocumentSize</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWFolders -FolderPath "Top Level Folder\Sub-Folder" | Get-PWFolderTreeDocumentSize"</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Get-PWFolders -FolderPath "Top Level Folder\Sub-Folder" | Get-PWFolderTreeDocumentSize -OutputFileName "D:\TEMP\FolderDocSizeReport.xlsx"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWFolderTreeDocumentStateCount --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWFolderTreeDocumentStateCount</command:name> <command:verb>Get</command:verb> <command:noun>PWFolderTreeDocumentStateCount</command:noun> <maml:description> <maml:para>Report on a scalar documents and states for a folder tree.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Get-PWFolderTreeDocumentStateCount</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of folders from pipeline from Get-PWFolders or Get-PWRichProjects.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Full path to XLSX output file. Will create default name if not provided.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of folders from pipeline from Get-PWFolders or Get-PWRichProjects.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Full path to XLSX output file. Will create default name if not provided.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of folders from pipeline from Get-PWFolders or Get-PWRichProjects.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWFolders -FolderPath "Top Level Folder\Sub-Folder" | Get-PWFolderTreeDocumentStateCount -IncludeVersions -OutputFileName "c:\temp\Output.xlsx"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWFolderTreeDocumentStateCountDataTable --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWFolderTreeDocumentStateCountDataTable</command:name> <command:verb>Get</command:verb> <command:noun>PWFolderTreeDocumentStateCountDataTable</command:noun> <maml:description> <maml:para>Report on a scalar documents and states for a folder tree and output datatable for .</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Get-PWFolderTreeDocumentStateCountDataTable</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: DataTable --> <command:returnValue> <dev:type> <maml:name>System.Data.DataTable</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWFolders -FolderPath "Top Level Folder\Sub-Folder" | Get-PWFolderTreeDocumentStateCount -IncludeVersions -OutputFileName "c:\temp\Output.xlsx"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWFolderTreeScalar --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWFolderTreeScalar</command:name> <command:verb>Get</command:verb> <command:noun>PWFolderTreeScalar</command:noun> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Get-PWFolderTreeScalar</maml:name> <!-- Parameter: DocumentAttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>DocumentAttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: DocumentAttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>DocumentAttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Get-PWFolderTreeScalarDataTable --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWFolderTreeScalarDataTable</command:name> <command:verb>Get</command:verb> <command:noun>PWFolderTreeScalarDataTable</command:noun> <maml:description> <maml:para>Report on a scalar attribute value for a folder tree.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Get-PWFolderTreeScalarDataTable</maml:name> <!-- Parameter: DocumentAttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>DocumentAttributeName</maml:name> <maml:description> <maml:para>Document environment attribute to report on (must be of numeric type).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of folders from Get-PWFolders or Get-PWRichProjects.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of folders from Get-PWFolders or Get-PWRichProjects.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: DocumentAttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>DocumentAttributeName</maml:name> <maml:description> <maml:para>Document environment attribute to report on (must be of numeric type).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of folders from Get-PWFolders or Get-PWRichProjects.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: DataTable --> <command:returnValue> <dev:type> <maml:name>System.Data.DataTable</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWFolders -FolderPath "Top Level Folder\Sub-Folder" | Get-PWFolderTreeScalarDataTable -IncludeVersions -DocumentAttributeName "PercentComplete" -ShowColumns</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWFolderView --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWFolderView</command:name> <command:verb>Set</command:verb> <command:noun>PWFolderView</command:noun> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Set-PWFolderView</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: View --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>View</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PreviewPaneView --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>PreviewPaneView</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: View --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>View</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PreviewPaneView --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>PreviewPaneView</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Clear-PWFolderWorkflow --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Clear-PWFolderWorkflow</command:name> <command:verb>Clear</command:verb> <command:noun>PWFolderWorkflow</command:noun> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Clear-PWFolderWorkflow</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Set-PWFolderWorkflow --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWFolderWorkflow</command:name> <command:verb>Set</command:verb> <command:noun>PWFolderWorkflow</command:noun> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Set-PWFolderWorkflow</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: NewWorkflow --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>NewWorkflow</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewState --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>NewState</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: NewWorkflow --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>NewWorkflow</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewState --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>NewState</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Get-PWFonts --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWFonts</command:name> <command:verb>Get</command:verb> <command:noun>PWFonts</command:noun> <maml:description> <maml:para>Get-PWFonts returns a list of available fonts.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>Get-PWFonts</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWGroupNames --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWGroupNames</command:name> <command:verb>Get</command:verb> <command:noun>PWGroupNames</command:noun> <maml:description> <maml:para>Get list of group names.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Remove users from a group</maml:para> <maml:para>$groupNames = Get-PWGroupNames</maml:para> <maml:para>$users = Get-PWUsersByMatch -UserName 'dave*','bryan*'</maml:para> <maml:para>foreach ($group in $groupNames)</maml:para> <maml:para>{</maml:para> <maml:para>Remove-PWUserFromGroup $users -GroupName $group</maml:para> <maml:para>}</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWGroupOwners --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWGroupOwners</command:name> <command:verb>Set</command:verb> <command:noun>PWGroupOwners</command:noun> <maml:description> <maml:para>Set-PWGroupOwners is used to add a user/group/userlist to the Owners of a Group.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-PWGroupOwners is used to add a user/group/userlist to the Owners of a Group. Requires a GroupName, Owner, and OwnerType (Possible entries: u, g, ul)</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWGroupOwners</maml:name> <!-- Parameter: GroupName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>GroupName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Owner --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Owner</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OwnerType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OwnerType</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: GroupName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>GroupName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OwnerType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OwnerType</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Owner --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Owner</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for adding a user to the Owners of the specified Group.</maml:para> <maml:para>Set-PWGroupOwners -GroupName 'Groupies' -Owner 'MyUserName' -OwnerType 'u'</maml:para> <maml:para>#Example usage for adding a group to the Owners of the specified Group.</maml:para> <maml:para>Set-PWGroupOwners -GroupName 'Groupies' -Owner 'MyGroup' -OwnerType 'g'</maml:para> <maml:para>#Example usage for adding a userlist to the Owners of the specified Group.</maml:para> <maml:para>Set-PWPWUserListOwners -GroupName 'Groupies' -Owner 'ULA' -OwnerType 'ul'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWGroupsByUser --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWGroupsByUser</command:name> <command:verb>Get</command:verb> <command:noun>PWGroupsByUser</command:noun> <maml:description> <maml:para>Returns all groups the user is a member of.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: UserName --> <command:syntaxItem> <maml:name>Get-PWGroupsByUser</maml:name> <!-- Parameter: UserName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>UserName</maml:name> <maml:description> <maml:para>User name to return group membership information. (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>UserName</maml:name> <maml:description> <maml:para>User name to return group membership information. (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>User name to return group membership information. (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWGroupsByUser -UserName 'admin'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWInputOutputPerformanceReport --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWInputOutputPerformanceReport</command:name> <command:verb>New</command:verb> <command:noun>PWInputOutputPerformanceReport</command:noun> <maml:description> <maml:para>Keep track of performance statistics for datasource.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Intent is to keep an on-going log of performance. Reports on performance of individual storage areas, and saves list of currently connected users.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>New-PWInputOutputPerformanceReport</maml:name> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Output file name. If no XLSX extension, will save in SQLite format. If not provided, will output as data table suitable for insert to SQL Server</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OptOutOfCentralReporting --> <command:parameter required="false" globbing="false" pipelineInput="false" position="10"> <maml:name>OptOutOfCentralReporting</maml:name> <maml:description> <maml:para>Set this to opt out of central data collection</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: NoCleanup --> <command:parameter required="false" globbing="false" pipelineInput="false" position="11"> <maml:name>NoCleanup</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FileSizeK --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>FileSizeK</maml:name> <maml:description> <maml:para>Size for test file to use for file transfer tests</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: CleanUpAuditTrail --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>CleanUpAuditTrail</maml:name> <maml:description> <maml:para>If set, will remove audit trail entries for the currently connected user (prevents extraneous entries for admin connections)</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: CollectExpensiveStatistics --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>CollectExpensiveStatistics</maml:name> <maml:description> <maml:para>If set, will collect statistics, which can take a while.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Use this folder to write sqlite output.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Storages --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Storages</maml:name> <maml:description> <maml:para>Provide a list of storage areas to test. Tests all storage areas by default.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NumberOfFiles --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>NumberOfFiles</maml:name> <maml:description> <maml:para>Number of files to use in test. Defaults to 5.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>5</dev:defaultValue> </command:parameter> <!-- Parameter: CustomerName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="8"> <maml:name>CustomerName</maml:name> <maml:description> <maml:para>Required for central reporting purposes. Users will be able to extract reports based on this value. Use something unique and descriptive. ("My company, Hosted datasources, Melbourne office")</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CustomerInfo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>CustomerInfo</maml:name> <maml:description> <maml:para>Optional extra information to collect about test instance (customer address, project name, etc.)</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Output file name. If no XLSX extension, will save in SQLite format. If not provided, will output as data table suitable for insert to SQL Server</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileSizeK --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>FileSizeK</maml:name> <maml:description> <maml:para>Size for test file to use for file transfer tests</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: CleanUpAuditTrail --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>CleanUpAuditTrail</maml:name> <maml:description> <maml:para>If set, will remove audit trail entries for the currently connected user (prevents extraneous entries for admin connections)</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: CollectExpensiveStatistics --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>CollectExpensiveStatistics</maml:name> <maml:description> <maml:para>If set, will collect statistics, which can take a while.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Use this folder to write sqlite output.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Storages --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Storages</maml:name> <maml:description> <maml:para>Provide a list of storage areas to test. Tests all storage areas by default.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NumberOfFiles --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>NumberOfFiles</maml:name> <maml:description> <maml:para>Number of files to use in test. Defaults to 5.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>5</dev:defaultValue> </command:parameter> <!-- Parameter: CustomerName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="8"> <maml:name>CustomerName</maml:name> <maml:description> <maml:para>Required for central reporting purposes. Users will be able to extract reports based on this value. Use something unique and descriptive. ("My company, Hosted datasources, Melbourne office")</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CustomerInfo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>CustomerInfo</maml:name> <maml:description> <maml:para>Optional extra information to collect about test instance (customer address, project name, etc.)</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OptOutOfCentralReporting --> <command:parameter required="false" globbing="false" pipelineInput="false" position="10"> <maml:name>OptOutOfCentralReporting</maml:name> <maml:description> <maml:para>Set this to opt out of central data collection</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: NoCleanup --> <command:parameter required="false" globbing="false" pipelineInput="false" position="11"> <maml:name>NoCleanup</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Will save report to a local SQLite database, clean up the audit trial entries for this user and collect some statistics which can take time.</maml:para> <maml:para>New-PWInputOutputPerformanceReport -OutputFileName c:\report\stats.db -FileSizeK 100 -CleanUpAuditTrail -CollectExpensiveStatistics -CustomerName "My Company, Melbourne"</maml:para> <maml:para>#SQLiteStudio seems like an adequate managment tool (http://sqlitestudio.pl/?act=download).</maml:para> <maml:para>#Will save report to a local XLSX file (will append if file exists), clean up the audit trial entries for this user and collect some statistics which can take time.</maml:para> <maml:para>New-PWInputOutputPerformanceReport -OutputFileName c:\report\stats.xlsx -FileSizeK 100 -NumberOfFiles 10 -CleanUpAuditTrail -CollectExpensiveStatistics -CustomerName "My Company, Melbourne"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWInterface --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWInterface</command:name> <command:verb>New</command:verb> <command:noun>PWInterface</command:noun> <maml:description> <maml:para>Creates a new interface within the current datasource.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>New-PWInterface</maml:name> <!-- Parameter: InterfaceName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InterfaceName</maml:name> <maml:description> <maml:para>Name of Interface to be created.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InterfaceDescription --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>InterfaceDescription</maml:name> <maml:description> <maml:para>Description of Interface to be created.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InterfaceName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InterfaceName</maml:name> <maml:description> <maml:para>Name of Interface to be created.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InterfaceDescription --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>InterfaceDescription</maml:name> <maml:description> <maml:para>Description of Interface to be created.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for New-PWInterface.</maml:para> <maml:para>#Will create a new interface with a description.</maml:para> <maml:para>New-PWInterface -InterfaceName 'MyInterface' -InterfaceDescription "My New Interface" -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWInterfaceGUIDefinition --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWInterfaceGUIDefinition</command:name> <command:verb>Get</command:verb> <command:noun>PWInterfaceGUIDefinition</command:noun> <maml:description> <maml:para>Returns all attribute definitions pertaining to specified interface and environment.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWInterfaceGUIDefinition</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment to use to get Interface definition for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InterfaceName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>InterfaceName</maml:name> <maml:description> <maml:para>Interface to get GUI definition for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment to use to get Interface definition for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InterfaceName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>InterfaceName</maml:name> <maml:description> <maml:para>Interface to get GUI definition for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Get-PWInterfaceGUIDefinition.</maml:para> <maml:para>#Will return all attributes for the specified interface.</maml:para> <maml:para>Get-PWInterfaceGUIDefinition -EnvironmentName 'Simple' -InterfaceName 'Default' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Show-PWInterfaceGUIDefinition --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Show-PWInterfaceGUIDefinition</command:name> <command:verb>Show</command:verb> <command:noun>PWInterfaceGUIDefinition</command:noun> <maml:description> <maml:para>Displays a dialog showing an estimation of where attributes are placed on an interface. NOTE: This will not be exact and is intended to be a simple representation of the interface. Use (Get-PWEnvironments).Name to get a list of the environments available in the current datasource. Use (Get-PWEnvironmentColumns -EnvironmentName 'Simple').Name to get a list of the the available columns for a specified environment. Use (Get-PWInterfaces).Values to get a list of the available interfaces. Use Show-PWInterfaceGUIDefinition to see a representation of an interface.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Show-PWInterfaceGUIDefinition</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment to use to get Interface definition for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InterfaceName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>InterfaceName</maml:name> <maml:description> <maml:para>Interface to get GUI definition for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment to use to get Interface definition for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InterfaceName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>InterfaceName</maml:name> <maml:description> <maml:para>Interface to get GUI definition for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Show-PWInterfaceGUIDefinition.</maml:para> <maml:para>Show-PWInterfaceGUIDefinition -EnvironmentName "Simple" -InterfaceName "Default" -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWInterfaceGUILabel --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWInterfaceGUILabel</command:name> <command:verb>Set</command:verb> <command:noun>PWInterfaceGUILabel</command:noun> <maml:description> <maml:para>Sets interface label for the provided environment, interface, and attribute. Use (Get-PWEnvironments).Name to get a list of the environments available in the current datasource. Use (Get-PWEnvironmentColumns -EnvironmentName 'Simple').Name to get a list of the the available columns for a specified environment. Use (Get-PWInterfaces).Values to get a list of the available interfaces.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWInterfaceGUILabel</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment to use to update Interface definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InterfaceName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>InterfaceName</maml:name> <maml:description> <maml:para>Interface name to use when updating the attribute label text.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>AttributeName</maml:name> <maml:description> <maml:para>Attribute name to update the label for in the GUI definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LabelText --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>LabelText</maml:name> <maml:description> <maml:para>Label text used to update GUI definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment to use to update Interface definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InterfaceName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>InterfaceName</maml:name> <maml:description> <maml:para>Interface name to use when updating the attribute label text.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>AttributeName</maml:name> <maml:description> <maml:para>Attribute name to update the label for in the GUI definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LabelText --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>LabelText</maml:name> <maml:description> <maml:para>Label text used to update GUI definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Set-PWInterfaceGUILabel.</maml:para> <maml:para>Set-PWInterfaceGUILabel -EnvironmentName "Simple" -InterfaceName "Default" -AttributeName "Column_03" -LabelText "COLUMN 03:" -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWInterfaceGUILabelFont --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWInterfaceGUILabelFont</command:name> <command:verb>Set</command:verb> <command:noun>PWInterfaceGUILabelFont</command:noun> <maml:description> <maml:para>Sets interface label font and/or font height for the provided environment, interface, and attribute. Use (Get-PWEnvironments).Name to get a list of the environments available in the current datasource. Use (Get-PWEnvironmentColumns -EnvironmentName 'Simple').Name to get a list of the the available columns for a specified environment. Use (Get-PWInterfaces).Values to get a list of the available interfaces. Use Get-PWFonts to get a list of available fonts.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWInterfaceGUILabelFont</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment to use to update Interface definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InterfaceName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>InterfaceName</maml:name> <maml:description> <maml:para>Interface to update GUI definition for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>AttributeName</maml:name> <maml:description> <maml:para>Attribute name to update the GUI definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LabelFont --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>LabelFont</maml:name> <maml:description> <maml:para>Label font used to update GUI definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LabelFontHeight --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>LabelFontHeight</maml:name> <maml:description> <maml:para>Label font height used to update GUI definition.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment to use to update Interface definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InterfaceName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>InterfaceName</maml:name> <maml:description> <maml:para>Interface to update GUI definition for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>AttributeName</maml:name> <maml:description> <maml:para>Attribute name to update the GUI definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LabelFont --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>LabelFont</maml:name> <maml:description> <maml:para>Label font used to update GUI definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LabelFontHeight --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>LabelFontHeight</maml:name> <maml:description> <maml:para>Label font height used to update GUI definition.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Set-PWInterfaceGUILabelFont.</maml:para> <maml:para>Set-PWInterfaceGUILabelFont -EnvironmentName "Simple" -InterfaceName "Default" -AttributeName "Column_03" -LabelFont "Calibri" -LabelHeight 12 -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWInterfaceGUIPrompt --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWInterfaceGUIPrompt</command:name> <command:verb>Set</command:verb> <command:noun>PWInterfaceGUIPrompt</command:noun> <maml:description> <maml:para>Sets the interface prompt for the provided environment, interface, and attribute. Use (Get-PWEnvironments).Name to get a list of the environments available in the current datasource. Use (Get-PWEnvironmentColumns -EnvironmentName 'Simple').Name to get a list of the the available columns for a specified environment. Use (Get-PWInterfaces).Values to get a list of the available interfaces.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWInterfaceGUIPrompt</maml:name> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment to use to update Interface definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InterfaceName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>InterfaceName</maml:name> <maml:description> <maml:para>Interface name to use when updating the attribute prompt.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>AttributeName</maml:name> <maml:description> <maml:para>Attribute name to update the prompt for in the GUI definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Prompt --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>Prompt</maml:name> <maml:description> <maml:para>Prompt value used to update GUI definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment to use to update Interface definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InterfaceName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>InterfaceName</maml:name> <maml:description> <maml:para>Interface name to use when updating the attribute prompt.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>AttributeName</maml:name> <maml:description> <maml:para>Attribute name to update the prompt for in the GUI definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Prompt --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>Prompt</maml:name> <maml:description> <maml:para>Prompt value used to update GUI definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Set-PWInterfaceGUIPrompt.</maml:para> <maml:para>Set-PWInterfaceGUIPrompt -EnvironmentName "Simple" -InterfaceName "Default" -AttributeName "Column_03" -Prompt "Enter value for COLUMN 03." -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWInterfaces --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWInterfaces</command:name> <command:verb>Get</command:verb> <command:noun>PWInterfaces</command:noun> <maml:description> <maml:para>Get-PWInterfaces returns all interface ids and names.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-PWInterfaces is used to get the names and ids of all interfaces within the active datasource.</maml:para> </maml:description> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for getting all interfaces in the datasouce.</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>Get-PWInterfaces</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Publish-PWIPlotCreatePDF --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Publish-PWIPlotCreatePDF</command:name> <command:verb>Publish</command:verb> <command:noun>PWIPlotCreatePDF</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Publish-PWIPlotCreatePDF</maml:name> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserPassword --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserPassword</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>IPSFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>IPSFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PDFFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>PDFFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PDFFileFolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PDFFileFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserPassword --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserPassword</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>IPSFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>IPSFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PDFFileFolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PDFFileFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PDFFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>PDFFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for creating a PDF file from an IPS file.</maml:para> </maml:introduction> <dev:code>Publish-PWIPlotCreatePDF -UserName 'admin' -UserPassword 'admin' -IPSFolderPath 'IPlot\IPS Files' -IPSFileName 'MyDesignFiles.ips -PDFFileFolderPath 'IPlot\PDF Files' -PDFFileName 'MyDesignFiles.pdf'</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWIPlotDocumentsToIPSFile --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWIPlotDocumentsToIPSFile</command:name> <command:verb>Add</command:verb> <command:noun>PWIPlotDocumentsToIPSFile</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Add-PWIPlotDocumentsToIPSFile</maml:name> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserPassword --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserPassword</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>IPSFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>IPSFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>SetFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PlotFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>PlotFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PlotFileFolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PlotFileFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetFileFolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SetFileFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserPassword --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserPassword</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>IPSFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>IPSFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetFileFolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SetFileFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>SetFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PlotFileFolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PlotFileFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PlotFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>PlotFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for adding a document to an IPS file.</maml:para> </maml:introduction> <dev:code>Add-PWIPlotDocumentsToIPSFile -UserName 'admin' -UserPassword 'admin' -IPSFolderPath 'IPlot\IPS Files' -IPSFileName 'MyDesignFiles.ips' -SetFileFolderPath 'IPlot\Set Files' -SetFileName 'IPlot.set' -PlotFileFolderPath 'Project\Design Files' -PlotFileName 'ArchitecturalSheets.dgn'</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWIPlotIPSFile --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWIPlotIPSFile</command:name> <command:verb>New</command:verb> <command:noun>PWIPlotIPSFile</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>New-PWIPlotIPSFile</maml:name> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserPassword --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserPassword</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>IPSFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>IPSFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserPassword --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserPassword</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>IPSFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>IPSFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for creating new IPS file.</maml:para> </maml:introduction> <dev:code>New-PWIPlotIPSFile -UserName 'admin' -UserPassword 'admin' -IPSFolderPath 'IPlot\IPS Files' -IPSFileName 'MyDesignFiles.ips'</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWIPlotPlotsInIPSFile --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWIPlotPlotsInIPSFile</command:name> <command:verb>Get</command:verb> <command:noun>PWIPlotPlotsInIPSFile</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWIPlotPlotsInIPSFile</maml:name> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserPassword --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserPassword</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>IPSFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>IPSFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserPassword --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserPassword</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>IPSFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>IPSFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage to get the plots within an IPS file.</maml:para> </maml:introduction> <dev:code>Get-PWIPlotPlotsInIPSFile -UserName 'admin' -UserPassword 'admin' -IPSFolderPath 'IPlot\IPS Files' -IPSFileName 'Drawings.ips'</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWIPlotSetFile --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWIPlotSetFile</command:name> <command:verb>Add</command:verb> <command:noun>PWIPlotSetFile</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Add-PWIPlotSetFile</maml:name> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserPassword --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserPassword</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>IPSFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>IPSFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>SetFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AllPlots --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AllPlots</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: PlotFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PlotFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetFileFolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SetFileFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserPassword --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserPassword</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>IPSFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IPSFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>IPSFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetFileFolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SetFileFolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SetFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>SetFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PlotFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PlotFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AllPlots --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AllPlots</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage to add a set file to a specific plot within an IPS file when the set file is in the same folder as the IPS file.</maml:para> </maml:introduction> <dev:code>Add-PWIPlotSetFile -UserName 'admin' -UserPassword 'admin' -IPSFolderPath 'IPlot\IPS Files' -IPSFileName 'Drawings.ips' -SetFileName 'iplot.set' -PlotFileName 'architecturalsheets'</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Example usage to add a set file to ALL plots within an IPS file when the set file is in the same folder as the IPS file.</maml:para> </maml:introduction> <dev:code>Add-PWIPlotSetFile -UserName 'admin' -UserPassword 'admin' -IPSFolderPath 'IPlot\IPS Files' -IPSFileName 'Drawings.ips' -SetFileName 'iplot.set' -AllPlots</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>Example usage to add a set file to a specific plot within an IPS file when the set file is NOT located in the same folder as the IPS file.</maml:para> </maml:introduction> <dev:code>Add-PWIPlotSetFile -UserName 'admin' -UserPassword 'admin' -IPSFolderPath 'IPlot\IPS Files' -IPSFileName 'Drawings.ips' -SetFileFolderPath 'IPlot\Set Files' -SetFileName 'iplot.set' -PlotFileName 'architecturalsheets'</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 4 ----------</maml:title> <maml:introduction> <maml:para>Example usage to add a set file to ALL plots within an IPS file when the set file is NOT located in the same folder as the IPS file.</maml:para> </maml:introduction> <dev:code>Add-PWIPlotSetFile -UserName 'admin' -UserPassword 'admin' -IPSFolderPath 'IPlot\IPS Files' -IPSFileName 'Drawings.ips' -SetFileFolderPath 'IPlot\Set Files' -SetFileName 'iplot.set' -AllPlots</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWLogin --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWLogin</command:name> <command:verb>New</command:verb> <command:noun>PWLogin</command:noun> <maml:description> <maml:para>Login cmdlet native to this module.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: DatasourceName --> <command:syntaxItem> <maml:name>New-PWLogin</maml:name> <!-- Parameter: DatasourceName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>DatasourceName</maml:name> <maml:description> <maml:para>Datasource to log into (Required). ServerName:DatasourceName format is suggested though will probably work with just display name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>UserName</maml:name> <maml:description> <maml:para>User name. Leave blank for single sign-on</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Password --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Password</maml:name> <maml:description> <maml:para>Password. Leave blank for single sign-on</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UseGui --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>UseGui</maml:name> <maml:description> <maml:para>Flag to force Login GUI</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DoNotCreateWorkingDirectory --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>DoNotCreateWorkingDirectory</maml:name> <maml:description> <maml:para>Do not create working directory</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: BentleyIMS --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>BentleyIMS</maml:name> <maml:description> <maml:para>Use Connection Client to log in</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LoadWRE --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>LoadWRE</maml:name> <maml:description> <maml:para>Load Workflow Rules Engine</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: NonAdminLogin --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>NonAdminLogin</maml:name> <maml:description> <maml:para>Load Workflow Rules Engine</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: DatasourceName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>DatasourceName</maml:name> <maml:description> <maml:para>Datasource to log into (Required). ServerName:DatasourceName format is suggested though will probably work with just display name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>UserName</maml:name> <maml:description> <maml:para>User name. Leave blank for single sign-on</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Password --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Password</maml:name> <maml:description> <maml:para>Password. Leave blank for single sign-on</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UseGui --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>UseGui</maml:name> <maml:description> <maml:para>Flag to force Login GUI</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DoNotCreateWorkingDirectory --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>DoNotCreateWorkingDirectory</maml:name> <maml:description> <maml:para>Do not create working directory</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: BentleyIMS --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>BentleyIMS</maml:name> <maml:description> <maml:para>Use Connection Client to log in</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LoadWRE --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>LoadWRE</maml:name> <maml:description> <maml:para>Load Workflow Rules Engine</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: NonAdminLogin --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>NonAdminLogin</maml:name> <maml:description> <maml:para>Load Workflow Rules Engine</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Regular login (will fail if user is not admin)</maml:para> <maml:para>$encryptedPassword = Read-Host -Prompt "Enter Password:" -AsSecureString</maml:para> <maml:para>New-PWLogin Server:DSN -UserName UserName -Password $encryptedPassword</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Single sign-on login (will fail if user is not admin)</maml:para> <maml:para>New-PWLogin Server:DSN</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Undo-PWLogin --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Undo-PWLogin</command:name> <command:verb>Undo</command:verb> <command:noun>PWLogin</command:noun> <maml:description> <maml:para>Logout cmdlet native to this module.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Regular logout</maml:para> <maml:para>Undo-PWLogin</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Move-PWLogInOutAuditTrailRecords --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Move-PWLogInOutAuditTrailRecords</command:name> <command:verb>Move</command:verb> <command:noun>PWLogInOutAuditTrailRecords</command:noun> <maml:description> <maml:para>Moves user login/logout audit trail entries from the primary audit trail table to the secondary.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Dates --> <command:syntaxItem> <maml:name>Move-PWLogInOutAuditTrailRecords</maml:name> <!-- Parameter: StartDate --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>StartDate</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: EndDate --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>EndDate</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: StartDate --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>StartDate</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: EndDate --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>EndDate</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Moves all user login/logout records to the secondary audit trail table.</maml:para> <maml:para>Move-PWLogInOutAuditTrailRecords -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Moves all user login/logout records between the two provided dates to the secondary audit trail table.</maml:para> <maml:para>Move-PWLogInOutAuditTrailRecords -StartDate 04/01/2018 -EndDate 04/05/2018 -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>Moves all user login/logout records between the start date provided and the current date to the secondary audit trail table.</maml:para> <maml:para>Move-PWLogInOutAuditTrailRecords -StartDate 04/01/2018 -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWLoginStatus --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWLoginStatus</command:name> <command:verb>Get</command:verb> <command:noun>PWLoginStatus</command:noun> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Remove-PWManagedWorkspaceAssociationFromFolders --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWManagedWorkspaceAssociationFromFolders</command:name> <command:verb>Remove</command:verb> <command:noun>PWManagedWorkspaceAssociationFromFolders</command:noun> <maml:description> <maml:para>Removes specified configuration block from input folders.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolders --> <command:syntaxItem> <maml:name>Remove-PWManagedWorkspaceAssociationFromFolders</maml:name> <!-- Parameter: InputFolders --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: WorkspaceType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>WorkspaceType</maml:name> <maml:description> <maml:para>Select the type of Managed workspace containing the desired configuration settings block to be used. Valid entries: "Predefined", "Global", "Application", "Customer", "Site", "Workspace", "WorkSet", "Role", "User"</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConfigurationBlockName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ConfigurationBlockName</maml:name> <maml:description> <maml:para>Name of configuration block to remove association from project. Use Get-PWManagedWorkspaceConfigBlocks to get a list of available configuration blocks.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolders --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: WorkspaceType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>WorkspaceType</maml:name> <maml:description> <maml:para>Select the type of Managed workspace containing the desired configuration settings block to be used. Valid entries: "Predefined", "Global", "Application", "Customer", "Site", "Workspace", "WorkSet", "Role", "User"</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConfigurationBlockName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ConfigurationBlockName</maml:name> <maml:description> <maml:para>Name of configuration block to remove association from project. Use Get-PWManagedWorkspaceConfigBlocks to get a list of available configuration blocks.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWFolders -FolderPath 'Top Level\Sub-Folder' | Remove-PWManagedWorkspaceAssocationFromFolders -WorkspaceType 'WorkSet' -ConfigurationBlockName 'MyConfigBlockName' -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>$folders = Get-PWFolders -FolderPath 'Top Level\Sub-Folder' Remove-PWManagedWorkspaceAssocationFromFolders -InputFolders $folders -WorkspaceType 'WorkSet' -ConfigurationBlockName 'MyConfigBlockName' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWManagedWorkspaceAssociationsFromSubFolders --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWManagedWorkspaceAssociationsFromSubFolders</command:name> <command:verb>Remove</command:verb> <command:noun>PWManagedWorkspaceAssociationsFromSubFolders</command:noun> <maml:description> <maml:para>Removes ALL managed workspace object assocations from SUB-FOLDERS of specified folder.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Remove-PWManagedWorkspaceAssociationsFromSubFolders</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Target folder object from pipeline containing sub-folders to remove the Managed Workspace object assocations.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Target folder object from pipeline containing sub-folders to remove the Managed Workspace object assocations.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target folder object from pipeline containing sub-folders to remove the Managed Workspace object assocations.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWFolders -FolderPath 'Top Level\Sub-Folder' | Remove-PWManagedWorkspaceAssocationsFromSubFolders -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWManagedWorkspaceConfigBlocks --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWManagedWorkspaceConfigBlocks</command:name> <command:verb>Get</command:verb> <command:noun>PWManagedWorkspaceConfigBlocks</command:noun> <maml:description> <maml:para>Get the managed workspace configuration settings blocks for all or a specified type of Managed Workspace. Valid types: "All", "Predefined", "Global", "Application", "Customer", "Site", "Workspace", "WorkSet", "Role", "User"</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWManagedWorkspaceConfigBlocks</maml:name> <!-- Parameter: WorkspaceType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>WorkspaceType</maml:name> <maml:description> <maml:para>Select the type of Managed workspace to return the configuration settings blocks for. Valid entries: "All", "Predefined", "Global", "Application", "Customer", "Site", "Workspace", "WorkSet", "Role", "User"</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: WorkspaceType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>WorkspaceType</maml:name> <maml:description> <maml:para>Select the type of Managed workspace to return the configuration settings blocks for. Valid entries: "All", "Predefined", "Global", "Application", "Customer", "Site", "Workspace", "WorkSet", "Role", "User"</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Returns the configuration blocks for all Managed Workspace types.</maml:para> <maml:para>Get-PWAllManagedWorkspaces -WorkspaceType 'All' -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Returns the configuration blocks for Managed Workspace type Site.</maml:para> <maml:para>Get-PWAllManagedWorkspaceConfigBlocks -WorkspaceType 'Site' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWManagedWorkspaceForFolders --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWManagedWorkspaceForFolders</command:name> <command:verb>Set</command:verb> <command:noun>PWManagedWorkspaceForFolders</command:noun> <maml:description> <maml:para>Associates the specified Managed Workspace Configuration Block to the Input Folder(s).</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolders --> <command:syntaxItem> <maml:name>Set-PWManagedWorkspaceForFolders</maml:name> <!-- Parameter: InputFolders --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: WorkspaceType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>WorkspaceType</maml:name> <maml:description> <maml:para>Select the type of Managed Workspace containing the desired configuration settings block to be used. Valid entries: "Predefined", "Global", "Application", "Customer", "Site", "Workspace", "WorkSet", "Role", "User"</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConfigurationBlockName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>ConfigurationBlockName</maml:name> <maml:description> <maml:para>Name of configuration block to be added to project. Use Get-PWManagedWorkspaceConfigBlocks to get a list of available configuration blocks.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NoInheritance --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NoInheritance</maml:name> <maml:description> <maml:para>When included, inheritance will be toggled off for the folder.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolders --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: WorkspaceType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>WorkspaceType</maml:name> <maml:description> <maml:para>Select the type of Managed Workspace containing the desired configuration settings block to be used. Valid entries: "Predefined", "Global", "Application", "Customer", "Site", "Workspace", "WorkSet", "Role", "User"</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConfigurationBlockName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>ConfigurationBlockName</maml:name> <maml:description> <maml:para>Name of configuration block to be added to project. Use Get-PWManagedWorkspaceConfigBlocks to get a list of available configuration blocks.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NoInheritance --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NoInheritance</maml:name> <maml:description> <maml:para>When included, inheritance will be toggled off for the folder.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Associates MyConfigBlockName to the folder's Managed Workspace type Workset/Project. Turns off inheritance.</maml:para> <maml:para>Get-PWFolders -FolderPath 'Top Level\Sub-Folder' -JustOne | Set-PWManagedWorkspaceForFolders -WorkspaceType 'WorkSet' -ConfigurationBlockName 'MyConfigBlockName' -NoInheritance -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Associates MyConfigBlockName to each of the folder's Managed Workspace type Workset/Project.</maml:para> <maml:para>$folders = Get-PWFolders -FolderPath 'Top Level\Sub-Folder' Set-PWManagedWorkspaceForFolders -InputFolders $folders -WorkspaceType 'WorkSet' -ConfigurationBlockName 'MyConfigBlockName' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWManagedWorkspaces --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWManagedWorkspaces</command:name> <command:verb>Get</command:verb> <command:noun>PWManagedWorkspaces</command:noun> <maml:description> <maml:para>Get the managed workspace configuration settings blocks for projects from the pipeline, from a folder path, or for the whole datasource.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolders --> <command:syntaxItem> <maml:name>Get-PWManagedWorkspaces</maml:name> <!-- Parameter: InputFolders --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolders --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWFolders -FolderPah 'Top Level\Sub-Folder' | Get-PWManagedWorkspaces</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWManagedWorkspaceVariables --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWManagedWorkspaceVariables</command:name> <command:verb>Get</command:verb> <command:noun>PWManagedWorkspaceVariables</command:noun> <maml:description> <maml:para>Get the configuration variables for the passed managed workspaces.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputWorkspaces --> <command:syntaxItem> <maml:name>Get-PWManagedWorkspaceVariables</maml:name> <!-- Parameter: InputWorkspaces --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputWorkspaces</maml:name> <maml:description> <maml:para>Target workspace object(s) from pipeline (required).</maml:para> </maml:description> <command:parameterValue required="true">ManagedWorkspaceConfigurationSettingsBlock[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.ManagedWorkspaceConfigurationSettingsBlock[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.ManagedWorkspaceConfigurationSettingsBlock[]</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputWorkspaces --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputWorkspaces</maml:name> <maml:description> <maml:para>Target workspace object(s) from pipeline (required).</maml:para> </maml:description> <command:parameterValue required="true">ManagedWorkspaceConfigurationSettingsBlock[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.ManagedWorkspaceConfigurationSettingsBlock[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.ManagedWorkspaceConfigurationSettingsBlock[]</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.ManagedWorkspaceConfigurationSettingsBlock[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target workspace object(s) from pipeline (required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWRichProjects | Get-PWManagedWorkspaces | Get-PWManagedWorkspaceVariables</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWMembers --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWMembers</command:name> <command:verb>Get</command:verb> <command:noun>PWMembers</command:noun> <maml:description> <maml:para>Returns all members of a group or userlist.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Name --> <command:syntaxItem> <maml:name>Get-PWMembers</maml:name> <!-- Parameter: Type --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Type</maml:name> <maml:description> <maml:para>Access control type. Either Group or UserList. (Required)</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Name</maml:name> <maml:description> <maml:para>Group or Userlist name to return membership information. (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Type --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Type</maml:name> <maml:description> <maml:para>Access control type. Either Group or UserList. (Required)</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Name</maml:name> <maml:description> <maml:para>Group or Userlist name to return membership information. (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWMembers -Type Group -Name 'ProjectWise Administrators' -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Get-PWMembers -Type UserList -Name 'MyUserList' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWMemberToGroup --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWMemberToGroup</command:name> <command:verb>Add</command:verb> <command:noun>PWMemberToGroup</command:noun> <maml:description> <maml:para>Add-PWMemberToGroup adds a ProjectWise User to a ProjectWise Group.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputUser --> <command:syntaxItem> <maml:name>Add-PWMemberToGroup</maml:name> <!-- Parameter: InputUser --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects from the pipeline to add to group.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: GroupName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>GroupName</maml:name> <maml:description> <maml:para>Name of group to add user to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: GroupID UserName --> <command:syntaxItem> <maml:name>Add-PWMemberToGroup</maml:name> <!-- Parameter: GroupName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>GroupName</maml:name> <maml:description> <maml:para>Name of group to add user to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserNames --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>UserNames</maml:name> <maml:description> <maml:para>Array of user names to add to Group.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputUser --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects from the pipeline to add to group.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: GroupName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>GroupName</maml:name> <maml:description> <maml:para>Name of group to add user to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserNames --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>UserNames</maml:name> <maml:description> <maml:para>Array of user names to add to Group.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user objects from the pipeline to add to group.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Add-PWMemberToGroup.</maml:para> <maml:para>Get-PWUsersByMatch -UserName 'dave*','bryan*' -Email '*@bentley.com' | Add-PWMemberToGroup -GroupName "Design"</maml:para> <maml:para>Add-PWMemberToGroup -UserNames "dave","brian" -GroupName "Design"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWMemberToUserList --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWMemberToUserList</command:name> <command:verb>Add</command:verb> <command:noun>PWMemberToUserList</command:noun> <maml:description> <maml:para>Add-PWMemberToUserList adds a ProjectWise User to a ProjectWise User List.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputUser --> <command:syntaxItem> <maml:name>Add-PWMemberToUserList</maml:name> <!-- Parameter: InputUser --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects from the pipeline to add to group.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserList --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserList</maml:name> <maml:description> <maml:para>Name of group to add user to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserNames --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>UserNames</maml:name> <maml:description> <maml:para>Array of user names to add to Group.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputUser --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects from the pipeline to add to group.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserList --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserList</maml:name> <maml:description> <maml:para>Name of group to add user to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserNames --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>UserNames</maml:name> <maml:description> <maml:para>Array of user names to add to Group.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user objects from the pipeline to add to group.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Add-PWMemberToUserList.</maml:para> <maml:para>Get-PWUsersByMatch -UserName 'dave*','bryan*' -Email '*@bentley.com' | Add-PWMemberToUserList -UserList "Project Managers"</maml:para> <maml:para>Add-PWMemberToGroup -UserNames "dave","brian" -UserList "Project Managers"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWMonthlyCheckOutsByProject --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWMonthlyCheckOutsByProject</command:name> <command:verb>Get</command:verb> <command:noun>PWMonthlyCheckOutsByProject</command:noun> <maml:description> <maml:para>Gets monthly document checkouts per user and project.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Gets monthly document checkouts per user and project.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Get-PWMonthlyCheckOutsByProject</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: Month --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Month</maml:name> <maml:description> <maml:para>Month to report on. Defaults to current month.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Year --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Year</maml:name> <maml:description> <maml:para>Year to report on. Defaults to current year.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Provide file name if you want to write data to a spreadsheet.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WholeYear --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>WholeYear</maml:name> <maml:description> <maml:para>If set, generate report for the whole year.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DataTable --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>DataTable</maml:name> <maml:description> <maml:para>If set, output a data table of the results.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: Month --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Month</maml:name> <maml:description> <maml:para>Month to report on. Defaults to current month.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Year --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Year</maml:name> <maml:description> <maml:para>Year to report on. Defaults to current year.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Provide file name if you want to write data to a spreadsheet.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WholeYear --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>WholeYear</maml:name> <maml:description> <maml:para>If set, generate report for the whole year.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DataTable --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>DataTable</maml:name> <maml:description> <maml:para>If set, output a data table of the results.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of ProjectWise folders from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Get all the rich projects in this tree and pass to this cmdlet</maml:para> <maml:para>$rps = Get-PWRichProjects -FolderPath "PWPS Connected Project Test 6\Projects 2"</maml:para> <maml:para>Get-PWMonthlyCheckOutsByProjectDataTable $rps -Year 2017 -Month 5</maml:para> <maml:para>Get-PWMonthlyCheckOutsByProjectDataTable $rps -Year 2017 -WholeYear</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWMonthlyLogins --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWMonthlyLogins</command:name> <command:verb>Get</command:verb> <command:noun>PWMonthlyLogins</command:noun> <maml:description> <maml:para>Get monthly count of logins by user.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWMonthlyLogins</maml:name> <!-- Parameter: Month --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>Month</maml:name> <maml:description> <maml:para>Month to report on. Defaults to current month.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Year --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Year</maml:name> <maml:description> <maml:para>Year to report on. Defaults to current year.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Provide file name if you want to write data to a spreadsheet.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IncludeSecondary --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeSecondary</maml:name> <maml:description> <maml:para>When the IncludeSecondary switch parameter is included, the audit trail entries from the secondary table will be included.Unnecessary, because backup audit trail table is always included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: WholeYear --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WholeYear</maml:name> <maml:description> <maml:para>If set, generate report for the whole year.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Month --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>Month</maml:name> <maml:description> <maml:para>Month to report on. Defaults to current month.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Year --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Year</maml:name> <maml:description> <maml:para>Year to report on. Defaults to current year.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Provide file name if you want to write data to a spreadsheet.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IncludeSecondary --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeSecondary</maml:name> <maml:description> <maml:para>When the IncludeSecondary switch parameter is included, the audit trail entries from the secondary table will be included.Unnecessary, because backup audit trail table is always included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: WholeYear --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WholeYear</maml:name> <maml:description> <maml:para>If set, generate report for the whole year.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Will count user logins by month and save to spreadsheet.</maml:para> <maml:para>Get-PWMonthlyLogins -Month 9 -Year 2015 -OutputFileName "201509Logins.xlsx"</maml:para> <maml:para>#Will count user logins for the current month.</maml:para> <maml:para>Get-PWMonthlyLogins</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWMonthlyLoginsDataTable --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWMonthlyLoginsDataTable</command:name> <command:verb>Get</command:verb> <command:noun>PWMonthlyLoginsDataTable</command:noun> <maml:description> <maml:para>Get monthly count of logins by user and return data table suitable for use in SqlBulkCopy insert.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWMonthlyLoginsDataTable</maml:name> <!-- Parameter: Month --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>Month</maml:name> <maml:description> <maml:para>Month to report on. Defaults to current month.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Year --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Year</maml:name> <maml:description> <maml:para>Year to report on. Defaults to current year.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: ShowColumns --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ShowColumns</maml:name> <maml:description> <maml:para>Show columns.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeSecondary --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeSecondary</maml:name> <maml:description> <maml:para>When the IncludeSecondary switch parameter is included, the audit trail entries from the secondary table will be included. Unnecessary because backup audit trail table is always included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: WholeYear --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WholeYear</maml:name> <maml:description> <maml:para>If set, generate report for the whole year.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Month --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>Month</maml:name> <maml:description> <maml:para>Month to report on. Defaults to current month.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Year --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Year</maml:name> <maml:description> <maml:para>Year to report on. Defaults to current year.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: ShowColumns --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ShowColumns</maml:name> <maml:description> <maml:para>Show columns.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IncludeSecondary --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeSecondary</maml:name> <maml:description> <maml:para>When the IncludeSecondary switch parameter is included, the audit trail entries from the secondary table will be included. Unnecessary because backup audit trail table is always included.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: WholeYear --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WholeYear</maml:name> <maml:description> <maml:para>If set, generate report for the whole year.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: DataTable --> <command:returnValue> <dev:type> <maml:name>System.Data.DataTable</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Will count user logins by month and output to data table on pipeline.</maml:para> <maml:para>Get-PWMonthlyLoginsDataTable -Month 9 -Year 2015"</maml:para> <maml:para>#Will count user logins for the current month.</maml:para> <maml:para>Get-PWMonthlyLoginsDataTable</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWODSTables --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWODSTables</command:name> <command:verb>Add</command:verb> <command:noun>PWODSTables</command:noun> <maml:description> <maml:para>Create and update AAODS and PW Components tables and classes. And Creates dmsSystem folder and subfolders and other items required for PW Components datasources, if they have not already been created. No parameters available.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Add-PWODSTables -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWOutgoingTransmittalsReport --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWOutgoingTransmittalsReport</command:name> <command:verb>Get</command:verb> <command:noun>PWOutgoingTransmittalsReport</command:noun> <maml:description> <maml:para>Generates a report of all the Outgoing Transmittals in the CONNECTed project associated with the rich project given a ProjectWise folder object array, path, or folder id.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Generates a report of all the Outgoing Transmittals in the CONNECTed project associated with the rich project given a ProjectWise folder path or folder id. If no path or id provided, all CONNECTed projects in the datasource will be reported on otherwise.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputFolders --> <command:syntaxItem> <maml:name>Get-PWOutgoingTransmittalsReport</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Path to the rich project from which we'll find the associated CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. These folders will be included in report if they are rich projects and have CONNECTed projects.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderId</maml:name> <maml:description> <maml:para>Id of rich project from which we'll find the associated CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Output file name for report.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. These folders will be included in report if they are rich projects and have CONNECTed projects.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Path to the rich project from which we'll find the associated CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderId</maml:name> <maml:description> <maml:para>Id of rich project from which we'll find the associated CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Output file name for report.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of ProjectWise folders from pipeline. These folders will be included in report if they are rich projects and have CONNECTed projects.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: DataTable[] --> <command:returnValue> <dev:type> <maml:name>System.Data.DataTable[]</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for reporting on outgoing transmittals for a CONNECTED project.</maml:para> <maml:para>#Will report on the Outgoing Transmittals for the CONNECTed Project associated with the ProjectWise Rich Project identified by that path</maml:para> <maml:para>Get-PWOutgoingTransmittalsReport -FolderPath "PWPS Connected Project Test 6\Projects 2\Project A" -OutputFileName "c:\\temp\\xmittalReport.xlsx"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWPath --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWPath</command:name> <command:verb>Get</command:verb> <command:noun>PWPath</command:noun> <maml:description> <maml:para>Get-PWPath is used to retrieve the folder path ( ProjectWise Bin directory ).</maml:para> </maml:description> </command:details> <maml:description> <maml:para>There are no parameters required.</maml:para> </maml:description> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for getting the folder path information.</maml:para> <maml:para>$pwBinPath = Get-PWPath</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWPDFQRCode --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWPDFQRCode</command:name> <command:verb>Add</command:verb> <command:noun>PWPDFQRCode</command:noun> <maml:description> <maml:para>Apply a WSG or arbitrary QR Code to PDF in ProjectWise.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocuments --> <command:syntaxItem> <maml:name>Add-PWPDFQRCode</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Documents to copy out and print (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WSGURL --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>WSGURL</maml:name> <maml:description> <maml:para>If provided, will affix a QR code which will resolve to this same document via your WSG web server.</maml:para> <maml:para>Example value like: "https://decide-pwce-us-ws.bentley.com/ws/v2.5/Repositories/Bentley.PW--decide-pwce-us.bentley.com~3Adecide-pwce-us-10/"</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: URL --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>URL</maml:name> <maml:description> <maml:para>Provide this value instead to produce a generic code.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: X --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>X</maml:name> <maml:description> <maml:para>X coordinate of lower left corner of code image.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>50</dev:defaultValue> </command:parameter> <!-- Parameter: Y --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Y</maml:name> <maml:description> <maml:para>Y coordinate of lower left corner of code image.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>50</dev:defaultValue> </command:parameter> <!-- Parameter: Size --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Size</maml:name> <maml:description> <maml:para>Size of image.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>100</dev:defaultValue> </command:parameter> <!-- Parameter: NativeUnits --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>NativeUnits</maml:name> <maml:description> <maml:para>Units are in PDF Units.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: CropBorder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>CropBorder</maml:name> <maml:description> <maml:para>Number of units to crop around the edge of the QR Code (can have a lot of white border based on the size of the image).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveImages --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>RemoveImages</maml:name> <maml:description> <maml:para>Remove the existing images.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Documents to copy out and print (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WSGURL --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>WSGURL</maml:name> <maml:description> <maml:para>If provided, will affix a QR code which will resolve to this same document via your WSG web server.</maml:para> <maml:para>Example value like: "https://decide-pwce-us-ws.bentley.com/ws/v2.5/Repositories/Bentley.PW--decide-pwce-us.bentley.com~3Adecide-pwce-us-10/"</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: URL --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>URL</maml:name> <maml:description> <maml:para>Provide this value instead to produce a generic code.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: X --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>X</maml:name> <maml:description> <maml:para>X coordinate of lower left corner of code image.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>50</dev:defaultValue> </command:parameter> <!-- Parameter: Y --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Y</maml:name> <maml:description> <maml:para>Y coordinate of lower left corner of code image.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>50</dev:defaultValue> </command:parameter> <!-- Parameter: Size --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Size</maml:name> <maml:description> <maml:para>Size of image.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>100</dev:defaultValue> </command:parameter> <!-- Parameter: NativeUnits --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>NativeUnits</maml:name> <maml:description> <maml:para>Units are in PDF Units.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: CropBorder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>CropBorder</maml:name> <maml:description> <maml:para>Number of units to crop around the edge of the QR Code (can have a lot of white border based on the size of the image).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: RemoveImages --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>RemoveImages</maml:name> <maml:description> <maml:para>Remove the existing images.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Documents to copy out and print (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#WSG Url needs to be specified down to the repository level. Resolves to the file when I scan on an iPad. Less luck on Android.</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath 'Top Level\Sub-Folder' -FileName %.pdf | Add-PWPDFQRCode -WSGURL "https://decide-pwce-us-ws.bentley.com/ws/v2.5/Repositories/Bentley.PW--decide-pwce-us.bentley.com~3Adecide-pwce-us-10"</maml:para> <maml:para>#URL can be anything.</maml:para> <maml:para>#Try NativeUnits flag if QR Code is too small or invisible.</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath 'Top Level\Sub-Folder' -FileName %.pdf | Add-PWPDFQRCode -URL "http://www.bentley.com"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Merge-PWPDFs --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Merge-PWPDFs</command:name> <command:verb>Merge</command:verb> <command:noun>PWPDFs</command:noun> <maml:description> <maml:para>Merge input PDFs into a single file and store it back in ProjectWise</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocuments --> <command:syntaxItem> <maml:name>Merge-PWPDFs</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Documents to copy out and print (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Target folder for merged document.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>OutputName</maml:name> <maml:description> <maml:para>Target name for merged document.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Documents to copy out and print (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Target folder for merged document.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>OutputName</maml:name> <maml:description> <maml:para>Target name for merged document.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Documents to copy out and print (Required).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target folder for merged document.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target name for merged document.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#use a variable to hold all the returned documents so they are passed to the merge process properly</maml:para> <maml:para>$pdfs = Get-PWDocumentsBySearch -FolderPath 'Top Level\Sub-Folder' -FileName %.pdf</maml:para> <maml:para>Merge-PWPDFs $pdfs -OutputFolder 'Merged\PDFs' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Split-PWPDFs --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Split-PWPDFs</command:name> <command:verb>Split</command:verb> <command:noun>PWPDFs</command:noun> <maml:description> <maml:para>Split input PDFs into constituent pages and store back in ProjectWise.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocuments --> <command:syntaxItem> <maml:name>Split-PWPDFs</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Documents to copy out and print (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Target folder for split out pages (defaults to source folder).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Documents to copy out and print (Required).</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Target folder for split out pages (defaults to source folder).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Documents to copy out and print (Required).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target folder for split out pages (defaults to source folder).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWDocumentsBySearch -FolderPath 'Top Level\Sub-Folder' -FileName %.pdf | Split-PWPDFs</maml:para> <maml:para>New-PWPDFMergedDocument $pdfs -OutputFolder 'Merged\PDFs' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWPicklist --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWPicklist</command:name> <command:verb>Add</command:verb> <command:noun>PWPicklist</command:noun> <maml:description> <maml:para>Add-PWPicklist adds new custom picklist within the current datasource.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Adds new custom picklist within the current datasource. Once a custom picklist is created, it can be added to an environment attribute. Within ProjectWise Administrator, enter the following into the attribute value tab: SELECT PicklistValue FROM CustomPicklists WHERE PicklistName='MyPicklist' Be sure to replace the picklistname with a valid name.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Add-PWPicklist</maml:name> <!-- Parameter: PicklistName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>PicklistName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PicklistValues --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>PicklistValues</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: PicklistName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>PicklistName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PicklistValues --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>PicklistValues</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for adding a new custom picklist.</maml:para> <maml:para>Add-PWPicklist -PicklistName 'MyPicklist' -PicklistValues 'one', 'two', 'three' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Export-PWPicklist --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Export-PWPicklist</command:name> <command:verb>Export</command:verb> <command:noun>PWPicklist</command:noun> <maml:description> <maml:para>Export-PWPicklist saves the current datasources custom picklists to an XLSX file.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Export-PWPicklist saves the current datasources custom picklists to an XLSX file.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Export-PWPicklist</maml:name> <!-- Parameter: OutputFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFile</maml:name> <maml:description> <maml:para>Full path to output XLSX file (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PicklistName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>PicklistName</maml:name> <maml:description> <maml:para>Name of picklist to export (Optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: OutputFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFile</maml:name> <maml:description> <maml:para>Full path to output XLSX file (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PicklistName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>PicklistName</maml:name> <maml:description> <maml:para>Name of picklist to export (Optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for retrieving all custom picklist information.</maml:para> <maml:para>Export-PWPicklist -OutputFile c:\temp\picklists.xlsx</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for retrieiving information for an individual custom picklist.</maml:para> <maml:para>Export-PWPicklist -OutputFile c:\temp\picklists.xlsx -PicklistName 'MyPickList'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWPicklist --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWPicklist</command:name> <command:verb>Get</command:verb> <command:noun>PWPicklist</command:noun> <maml:description> <maml:para>Get-PWPicklist retrieves custom picklist information available within the current datasource.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Retrieves custom picklist information available within the current datasource.</maml:para> </maml:description> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for retrieving all custom picklist information.</maml:para> <maml:para>Get-PWPicklist -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Import-PWPicklist --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Import-PWPicklist</command:name> <command:verb>Import</command:verb> <command:noun>PWPicklist</command:noun> <maml:description> <maml:para>Import-PWPicklist imports custom picklists from an XLSX file into the current datasource.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Import-PWPicklist imports custom picklists from an XLSX file into the current datasource.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Import-PWPicklist</maml:name> <!-- Parameter: InputFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InputFile</maml:name> <maml:description> <maml:para>Full path to output XLSX file (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PicklistName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>PicklistName</maml:name> <maml:description> <maml:para>Name of picklist to import (Optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFile --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InputFile</maml:name> <maml:description> <maml:para>Full path to output XLSX file (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PicklistName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>PicklistName</maml:name> <maml:description> <maml:para>Name of picklist to import (Optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for retrieving all custom picklist information.</maml:para> <maml:para>Import-PWPicklist -InputFile c:\temp\picklists.xlsx</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for overwriting individual custom picklist.</maml:para> <maml:para>Import-PWPicklist -InputFile c:\temp\picklists.xlsx -PicklistName 'MyPickList'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWPicklist --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWPicklist</command:name> <command:verb>Remove</command:verb> <command:noun>PWPicklist</command:noun> <maml:description> <maml:para>Remove-PWPicklist removes custom picklist from the current datasource.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Removes a custom picklist from the current datasource.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Remove-PWPicklist</maml:name> <!-- Parameter: PicklistName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>PicklistName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: PicklistName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>PicklistName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for removing a custom picklist.</maml:para> <maml:para>Remove-PWPicklist -PicklistName 'MyPicklist' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWPicklistItem --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWPicklistItem</command:name> <command:verb>Remove</command:verb> <command:noun>PWPicklistItem</command:noun> <maml:description> <maml:para>Remove-PWPicklistItem removes a value(s) from a custom picklist within the current datasource.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Removes a value(s) from a custom picklist within the current datasource.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Remove-PWPicklistItem</maml:name> <!-- Parameter: PicklistName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>PicklistName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PicklistValues --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>PicklistValues</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: PicklistName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>PicklistName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PicklistValues --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>PicklistValues</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for removing an item from a custom picklist.</maml:para> <maml:para>Remove-PWPicklistItem -PicklistName 'MyPicklist' -PicklistValues 'one' -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for removing multiple items from a custom picklist.</maml:para> <maml:para>Remove-PWPicklistItem -PicklistName 'MyPicklist' -PicklistValues 'two', 'three' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWPicklistItems --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWPicklistItems</command:name> <command:verb>Get</command:verb> <command:noun>PWPicklistItems</command:noun> <maml:description> <maml:para>Get-PWPicklist retrieves custom picklist information available within the current datasource.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Retrieves custom picklist information available within the current datasource.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWPicklistItems</maml:name> <!-- Parameter: PicklistName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>PicklistName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: PicklistName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>PicklistName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for retrieving all custom picklist information.</maml:para> <maml:para>Get-PWPicklist -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for retrieiving information for an individual custom picklist.</maml:para> <maml:para>Get-PWPicklist -PicklistName 'MyPicklist' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWPowerShellScript --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWPowerShellScript</command:name> <command:verb>New</command:verb> <command:noun>PWPowerShellScript</command:noun> <maml:description> <maml:para>Create a new PW PowerShell script with header.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: OutputFile --> <command:syntaxItem> <maml:name>New-PWPowerShellScript</maml:name> <!-- Parameter: OutputFile --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>OutputFile</maml:name> <maml:description> <maml:para>Output file name (required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ScriptType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ScriptType</maml:name> <maml:description> <maml:para>Script type.</maml:para> <maml:para>Possible values: Default, Archive_Full, Archive_Export, Archive_Import</maml:para> </maml:description> <command:parameterValue required="true">PWScriptType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonScriptCommands+PWScriptType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>Default</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Default</command:parameterValue> <command:parameterValue required="false" variableLength="false">Archive_Full</command:parameterValue> <command:parameterValue required="false" variableLength="false">Archive_Export</command:parameterValue> <command:parameterValue required="false" variableLength="false">Archive_Import</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Name</maml:name> <maml:description> <maml:para>Script name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Purpose --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Purpose</maml:name> <maml:description> <maml:para>Purpose of script.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Author --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Author</maml:name> <maml:description> <maml:para>Author of script.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Overwrite --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Overwrite</maml:name> <maml:description> <maml:para>Overwrite existing file.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: OutputFile --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>OutputFile</maml:name> <maml:description> <maml:para>Output file name (required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ScriptType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ScriptType</maml:name> <maml:description> <maml:para>Script type.</maml:para> <maml:para>Possible values: Default, Archive_Full, Archive_Export, Archive_Import</maml:para> </maml:description> <command:parameterValue required="true">PWScriptType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonScriptCommands+PWScriptType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>Default</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Default</command:parameterValue> <command:parameterValue required="false" variableLength="false">Archive_Full</command:parameterValue> <command:parameterValue required="false" variableLength="false">Archive_Export</command:parameterValue> <command:parameterValue required="false" variableLength="false">Archive_Import</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Name</maml:name> <maml:description> <maml:para>Script name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Purpose --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Purpose</maml:name> <maml:description> <maml:para>Purpose of script.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Author --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Author</maml:name> <maml:description> <maml:para>Author of script.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Overwrite --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Overwrite</maml:name> <maml:description> <maml:para>Overwrite existing file.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Output file name (required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>New-PWPowerShellScript "c:\users\user.name\Documents\MyScript.ps1" -Name "AutomateThis" -Purpose "Automate something" -Author "PowerShell Scripter" -Overwrite</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWProjectTemplates --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWProjectTemplates</command:name> <command:verb>Get</command:verb> <command:noun>PWProjectTemplates</command:noun> <maml:description> <maml:para>Get the managed workspace configuration settings blocks for projects from the pipeline, from a folder path, or for the whole datasource.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWFolders -FolderPah 'Top Level\Sub-Folder' | Get-PWManagedWorkspaces</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWPropagateProjectProperties --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWPropagateProjectProperties</command:name> <command:verb>Update</command:verb> <command:noun>PWPropagateProjectProperties</command:noun> <maml:description> <maml:para>Given an array of folder objects on the pipeline or folder path, update the contained documents to the new project properties. Passes out project documents onto the pipeline.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolders --> <command:syntaxItem> <maml:name>Update-PWPropagateProjectProperties</maml:name> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Target folder path (not required if sending folder(s) on pipeline).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Target folder path (not required if sending folder(s) on pipeline).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage getting folders and creating new documents.</maml:para> <maml:para>#Get the folder for folder number 20315 and update contained documents to new project property values</maml:para> <maml:para>Get-PWFolders 20315 | Update-PWPropagateProjectProperties</maml:para> <maml:para>#Get the folder at the given folder path and create a document there</maml:para> <maml:para>Get-PWFolders -FolderPath 'Level 1\Level 2\Level 3\Level | Update-PWPropagateProjectProperties</maml:para> <maml:para>#Update document attributes for a given folder</maml:para> <maml:para>Update-PWPropagateProjectProperties -FolderPath 'PowerShell Demo\Level 2\Level 3\Level 4'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWPropagateProjectPropertiesToSubProjects --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWPropagateProjectPropertiesToSubProjects</command:name> <command:verb>Update</command:verb> <command:noun>PWPropagateProjectPropertiesToSubProjects</command:noun> <maml:description> <maml:para>For each rich project passed on the pipeline, update descendents to inherit common Project Property values from projects above. If no rich projects passed, doesn't do anything.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Note the the cmdlet attempts to use the project properties present at the beginning of the cmdlet. Probably easiest to manage by just passing one folder as this recurses tree by default.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputFolders --> <command:syntaxItem> <maml:name>Update-PWPropagateProjectPropertiesToSubProjects</maml:name> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Get the folder for folder number 20315 and update descendant project properties.</maml:para> <maml:para>Get-PWFolders 20315 -JustOne | Update-PWPropagateProjectProperties -Verbose</maml:para> <maml:para>#Get the folders in the tree at the given folder path and working down the tree, update descendant project properties</maml:para> <maml:para>Get-PWFolders -FolderPath 'Level 1\Level 2\Level 3' | Update-PWPropagateProjectProperties -Verbose</maml:para> <maml:para>#Update document attributes for a given folder</maml:para> <maml:para>Get-PWFolders -FolderPath 'Level 1\Level 2\Level 3' -JustOne | Update-PWPropagateProjectProperties -FolderPath 'PowerShell Demo\Level 2\Level 3\Level 4'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Show-PWPS_DABChangeLog --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Show-PWPS_DABChangeLog</command:name> <command:verb>Show</command:verb> <command:noun>PWPS_DABChangeLog</command:noun> <maml:description> <maml:para>Display Change Log.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Show-PWPS_DABChangeLog</maml:name> <!-- Parameter: ShowAll --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ShowAll</maml:name> <maml:description> <maml:para>Set this switch to display the whole change log.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ShowAll --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ShowAll</maml:name> <maml:description> <maml:para>Set this switch to display the whole change log.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Show-PWPS_DABChangeLog</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWReferenceCountReportForDocuments --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWReferenceCountReportForDocuments</command:name> <command:verb>Get</command:verb> <command:noun>PWReferenceCountReportForDocuments</command:noun> <maml:description> <maml:para>Get XLSX report or SQLite or straight DataTable that counts unique references documents passed in pipeline.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>Get-PWReferenceCountReportForDocuments</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Documents from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFilePath --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>OutputFilePath</maml:name> <maml:description> <maml:para>Full path to output file (XLSX or SQLite). Exclude just to return data tables.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Documents from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFilePath --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>OutputFilePath</maml:name> <maml:description> <maml:para>Full path to output file (XLSX or SQLite). Exclude just to return data tables.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Documents from pipeline.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Full path to output file (XLSX or SQLite). Exclude just to return data tables.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: DataTable --> <command:returnValue> <dev:type> <maml:name>System.Data.DataTable</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#use a variable to pass multiple documents. Using a pipe ('|') will cause each document to be processed individually. Ususally not what you want.</maml:para> <maml:para>$documents = Get-PWDocumentsBySearch -FolderPath 'Top Level\Sub-Folder'</maml:para> <maml:para>Get-PWReferenceCountReportForDocuments $documents -OutputFilePath c:\temp\References.xlsx</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Use data table to populate SQL Server Database</maml:para> <maml:para>$cn = new-object System.Data.SqlClient.SqlConnection("Data Source=brumd09515rem;User ID=sa;Password=pwd;Initial Catalog=BulkCopyTest")</maml:para> <maml:para>$cn.Open()</maml:para> <maml:para>$bc = new-object ("System.Data.SqlClient.SqlBulkCopy") $cn</maml:para> <maml:para>$bc.DestinationTableName = "dbo.References_Table"</maml:para> <maml:para>$documents = Get-PWDocumentsBySearch -FolderPath 'Top Level\Sub-Folder'</maml:para> <maml:para>$dtable=Get-PWReferenceCountReportForDocuments $documents</maml:para> <maml:para>$bc.WriteToServer($dtable)</maml:para> <maml:para>$cn.Close()</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWReferencedByReportForDocuments --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWReferencedByReportForDocuments</command:name> <command:verb>Get</command:verb> <command:noun>PWReferencedByReportForDocuments</command:noun> <maml:description> <maml:para>Get XLSX report or SQLite or straight DataTable for all documents referencing the documents passed in pipeline.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>Get-PWReferencedByReportForDocuments</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Documents from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFilePath --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>OutputFilePath</maml:name> <maml:description> <maml:para>Full path to output file (XLSX or SQLite). Exclude just to return data tables.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Documents from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFilePath --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>OutputFilePath</maml:name> <maml:description> <maml:para>Full path to output file (XLSX or SQLite). Exclude just to return data tables.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Documents from pipeline.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Full path to output file (XLSX or SQLite). Exclude just to return data tables.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: DataTable --> <command:returnValue> <dev:type> <maml:name>System.Data.DataTable</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#use a variable to pass multiple documents. Using a pipe ('|') will cause each document to be processed individually. Ususally not what you want.</maml:para> <maml:para>$documents = Get-PWDocumentsBySearch -FolderPath 'Top Level\Sub-Folder'</maml:para> <maml:para>Get-PWReferencedByReportForDocuments $documents -OutputFilePath c:\temp\ReferencedByReport.xlsx</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Use data table to populate SQL Server Database</maml:para> <maml:para>$cn = new-object System.Data.SqlClient.SqlConnection("Data Source=brumd09515rem;User ID=sa;Password=pwd;Initial Catalog=BulkCopyTest")</maml:para> <maml:para>$cn.Open()</maml:para> <maml:para>$bc = new-object ("System.Data.SqlClient.SqlBulkCopy") $cn</maml:para> <maml:para>$bc.DestinationTableName = "dbo.ReferencedBy_Table"</maml:para> <maml:para>$documents = Get-PWDocumentsBySearch -FolderPath 'Top Level\Sub-Folder'</maml:para> <maml:para>$dtable=Get-PWReferencedByReportForDocuments $documents</maml:para> <maml:para>$bc.WriteToServer($dtable)</maml:para> <maml:para>$cn.Close()</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWReferenceFiles --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWReferenceFiles</command:name> <command:verb>Get</command:verb> <command:noun>PWReferenceFiles</command:noun> <maml:description> <maml:para>Returns reference documents from the passed documents on the pipeline.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>#Search for documents and return immediate child documents.</maml:para> <maml:para>Get-PWDocumentsBySearch -SearchName "Documents in Released State" | Get-PWReferenceFiles -ReferenceLevel 0</maml:para> <maml:para>#Search for documents in folder tree and return all nested references and fill in folder paths and retrieve attributes.</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Project A\Files to Version" | Get-PWReferenceFiles -GetAttributes</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>Get-PWReferenceFiles</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of documents passed on pipeline like from Get-PWDocumentsBySearch.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReferenceLevel --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ReferenceLevel</maml:name> <maml:description> <maml:para>Level of nested references to return. Defaults to all nested references.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>-1</dev:defaultValue> </command:parameter> <!-- Parameter: GetAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>GetAttributes</maml:name> <maml:description> <maml:para>Return attributes for references. Takes longer to populate the list.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Array of documents passed on pipeline like from Get-PWDocumentsBySearch.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReferenceLevel --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ReferenceLevel</maml:name> <maml:description> <maml:para>Level of nested references to return. Defaults to all nested references.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>-1</dev:defaultValue> </command:parameter> <!-- Parameter: GetAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>GetAttributes</maml:name> <maml:description> <maml:para>Return attributes for references. Takes longer to populate the list.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of documents passed on pipeline like from Get-PWDocumentsBySearch.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Search for documents and return immediate child documents.</maml:para> <maml:para>Get-PWDocumentsBySearch -SearchName "Documents in Released State" | Get-PWReferenceFiles -ReferenceLevel 0</maml:para> <maml:para>#Search for documents in folder tree and return all nested references and fill in folder paths and retrieve attributes.</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Project A\Files to Version" | Get-PWReferenceFiles -GetAttributes</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWReferenceFileStoragePathListing --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWReferenceFileStoragePathListing</command:name> <command:verb>Get</command:verb> <command:noun>PWReferenceFileStoragePathListing</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWReferenceFileStoragePathListing</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SubFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SubFolders</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UseAdminPaths --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>UseAdminPaths</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SubFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SubFolders</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UseAdminPaths --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>UseAdminPaths</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Get-PWReferenceFileStoragePathListingBySearch --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWReferenceFileStoragePathListingBySearch</command:name> <command:verb>Get</command:verb> <command:noun>PWReferenceFileStoragePathListingBySearch</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWReferenceFileStoragePathListingBySearch</maml:name> <!-- Parameter: SearchName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SearchName</maml:name> <maml:description> <maml:para>Search name (now supports full path to search).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Path to output file (.xlsx).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UseAdminPaths --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>UseAdminPaths</maml:name> <maml:description> <maml:para>Shows Admin paths to correpond to storage areas.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Is a personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SearchName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SearchName</maml:name> <maml:description> <maml:para>Search name (now supports full path to search).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Path to output file (.xlsx).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UseAdminPaths --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>UseAdminPaths</maml:name> <maml:description> <maml:para>Shows Admin paths to correpond to storage areas.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Is a personal search.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Get-PWReferenceReportForDocuments --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWReferenceReportForDocuments</command:name> <command:verb>Get</command:verb> <command:noun>PWReferenceReportForDocuments</command:noun> <maml:description> <maml:para>Get XLSX report or SQLite or straight DataTable for all references in documents passed in pipeline.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocument --> <command:syntaxItem> <maml:name>Get-PWReferenceReportForDocuments</maml:name> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Documents from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFilePath --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>OutputFilePath</maml:name> <maml:description> <maml:para>Full path to output file (XLSX or SQLite). Exclude just to return data tables.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocument --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocument</maml:name> <maml:description> <maml:para>Documents from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFilePath --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>OutputFilePath</maml:name> <maml:description> <maml:para>Full path to output file (XLSX or SQLite). Exclude just to return data tables.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Documents from pipeline.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Full path to output file (XLSX or SQLite). Exclude just to return data tables.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <!-- OutputType: DataTable --> <command:returnValue> <dev:type> <maml:name>System.Data.DataTable</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#use a variable to pass multiple documents. Using a pipe ('|') will cause each document to be processed individually. Ususally not what you want.</maml:para> <maml:para>$documents = Get-PWDocumentsBySearch -FolderPath 'Top Level\Sub-Folder'</maml:para> <maml:para>Get-PWReferenceReportForDocuments $documents -OutputFilePath c:\temp\References.xlsx</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Use data table to populate SQL Server Database</maml:para> <maml:para>$cn = new-object System.Data.SqlClient.SqlConnection("Data Source=brumd09515rem;User ID=sa;Password=pwd;Initial Catalog=BulkCopyTest")</maml:para> <maml:para>$cn.Open()</maml:para> <maml:para>$bc = new-object ("System.Data.SqlClient.SqlBulkCopy") $cn</maml:para> <maml:para>$bc.DestinationTableName = "dbo.References_Table"</maml:para> <maml:para>$documents = Get-PWDocumentsBySearch -FolderPath 'Top Level\Sub-Folder'</maml:para> <maml:para>$dtable=Get-PWReferenceReportForDocuments $documents</maml:para> <maml:para>$bc.WriteToServer($dtable)</maml:para> <maml:para>$cn.Close()</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWReferenceReportForFolder --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWReferenceReportForFolder</command:name> <command:verb>Get</command:verb> <command:noun>PWReferenceReportForFolder</command:noun> <maml:description> <maml:para>Get XLSX report or SQLite DB or straight datatable for all references in the given folder and its children.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWReferenceReportForFolder</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Documents from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFilePath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFilePath</maml:name> <maml:description> <maml:para>Full path to output file (XLSX or SQLite db).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WholeDatasource --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>WholeDatasource</maml:name> <maml:description> <maml:para>Report on whole datasource.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Documents from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFilePath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFilePath</maml:name> <maml:description> <maml:para>Full path to output file (XLSX or SQLite db).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WholeDatasource --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>WholeDatasource</maml:name> <maml:description> <maml:para>Report on whole datasource.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: DataTable --> <command:returnValue> <dev:type> <maml:name>System.Data.DataTable</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWReferenceReportForFolder -WholeDatasource -OutputFilePath c:\temp\References.xlsx</maml:para> <maml:para>Get-PWReferenceReportForFolder -FolderPath 'Top Level\Project 01' -OutputFilePath c:\temp\References.sqlite</maml:para> <maml:para>#Output DataTable</maml:para> <maml:para>Get-PWReferenceReportForFolder -FolderPath 'Top Level\Project 01'</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Use data table to populate SQL Server Database</maml:para> <maml:para>$cn = new-object System.Data.SqlClient.SqlConnection("Data Source=brumd09515rem;User ID=sa;Password=pwd;Initial Catalog=BulkCopyTest")</maml:para> <maml:para>$cn.Open()</maml:para> <maml:para>$bc = new-object ("System.Data.SqlClient.SqlBulkCopy") $cn</maml:para> <maml:para>$bc.DestinationTableName = "dbo.References_Table"</maml:para> <maml:para>$dtable=Get-PWReferenceReportForFolder -WholeDatasource</maml:para> <maml:para>$bc.WriteToServer($dtable)</maml:para> <maml:para>$cn.Close()</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Request-PWRemoteScriptExecution --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Request-PWRemoteScriptExecution</command:name> <command:verb>Request</command:verb> <command:noun>PWRemoteScriptExecution</command:noun> <maml:description> <maml:para>Request remote script execution. Request listener service required: PWScriptMonitorSvc (https://pwstoragesouthcentralus.blob.core.windows.net/public/PWScriptMonitorSvcSetup.zip).</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: ScriptName --> <command:syntaxItem> <maml:name>Request-PWRemoteScriptExecution</maml:name> <!-- Parameter: ScriptName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ScriptName</maml:name> <maml:description> <maml:para>Script to execute.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RequesterEmail --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>RequesterEmail</maml:name> <maml:description> <maml:para>Requester's Email address (remote script may return status).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AdditionalParameters --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>AdditionalParameters</maml:name> <maml:description> <maml:para>Additional parameters for script add. Use a hashtable like @{Name = "Name value"; Description = "Description value"}</maml:para> </maml:description> <command:parameterValue required="true">Hashtable</command:parameterValue> <dev:type> <maml:name>System.Collections.Hashtable</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RemoteServerKey --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>RemoteServerKey</maml:name> <maml:description> <maml:para>Remote server key. Required. Will identify the service which will execute your script. You should make as unique as possible.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ServiceBus --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ServiceBus</maml:name> <maml:description> <maml:para>Service Bus name (optional). Must exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Topic --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Topic</maml:name> <maml:description> <maml:para>Topic name (optional). Will be created if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ServiceBusKey --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>ServiceBusKey</maml:name> <maml:description> <maml:para>Service bus key (optional). Provide it here if you are using your own service bus.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ScriptName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ScriptName</maml:name> <maml:description> <maml:para>Script to execute.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RequesterEmail --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>RequesterEmail</maml:name> <maml:description> <maml:para>Requester's Email address (remote script may return status).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AdditionalParameters --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>AdditionalParameters</maml:name> <maml:description> <maml:para>Additional parameters for script add. Use a hashtable like @{Name = "Name value"; Description = "Description value"}</maml:para> </maml:description> <command:parameterValue required="true">Hashtable</command:parameterValue> <dev:type> <maml:name>System.Collections.Hashtable</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RemoteServerKey --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>RemoteServerKey</maml:name> <maml:description> <maml:para>Remote server key. Required. Will identify the service which will execute your script. You should make as unique as possible.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ServiceBus --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ServiceBus</maml:name> <maml:description> <maml:para>Service Bus name (optional). Must exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Topic --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Topic</maml:name> <maml:description> <maml:para>Topic name (optional). Will be created if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ServiceBusKey --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>ServiceBusKey</maml:name> <maml:description> <maml:para>Service bus key (optional). Provide it here if you are using your own service bus.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Request-PWRemoteScriptExecution executeaction.ps1 -RemoteServerKey Server1</maml:para> <maml:para>Request-PWRemoteScriptExecution test.ps1 -RequesterEmail dave.brumbaugh@bentley.com -AdditionalParameters @{Key1 = "Key1";Key2 = "Key2"} -RemoteServerKey Server1</maml:para> <maml:para>Request-PWRemoteScriptExecution test.ps1 -RemoteServerKey Server1 -AdditionalParameters @{</maml:para> <maml:para>datasource="decide-pwce-us.bentley.com:decide-pwce-us-10";</maml:para> <maml:para>folderpath= 'PDFs with QRCodes';</maml:para> <maml:para>documentname= "%.pdf";</maml:para> <maml:para>documentversion= "A";</maml:para> <maml:para>random= "Some random value";</maml:para> <maml:para>requesteremail="dave.brumbaugh@bentley.com"</maml:para> <maml:para>}</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWRenditionProfileDefaults --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWRenditionProfileDefaults</command:name> <command:verb>Get</command:verb> <command:noun>PWRenditionProfileDefaults</command:noun> <maml:description> <maml:para>Get a list of default options for the profiles.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputProfiles --> <command:syntaxItem> <maml:name>Get-PWRenditionProfileDefaults</maml:name> <!-- Parameter: InputProfiles --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputProfiles</maml:name> <maml:description> <maml:para>Array of rendition profile objects from the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">RenditionProfile[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.RenditionProfile[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProfileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ProfileName</maml:name> <maml:description> <maml:para>Rendition profile name. Must exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputProfiles --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputProfiles</maml:name> <maml:description> <maml:para>Array of rendition profile objects from the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">RenditionProfile[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.RenditionProfile[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProfileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ProfileName</maml:name> <maml:description> <maml:para>Rendition profile name. Must exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.RenditionProfile[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of rendition profile objects from the pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for getting a list of default options for all the rendition profiles.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>Get-PWRenditionProfiles | Get-PWRendtionProfileDefaults</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWRenditionProfiles --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWRenditionProfiles</command:name> <command:verb>Get</command:verb> <command:noun>PWRenditionProfiles</command:noun> <maml:description> <maml:para>Get a list of available profiles.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWRenditionProfiles</maml:name> <!-- Parameter: ProfileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ProfileName</maml:name> <maml:description> <maml:para>Rendition Profile name. Must exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ProfileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ProfileName</maml:name> <maml:description> <maml:para>Rendition Profile name. Must exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for getting a list of rendition profiles.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>Get-PWRenditionProfiles</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWRenditionRequest --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWRenditionRequest</command:name> <command:verb>New</command:verb> <command:noun>PWRenditionRequest</command:noun> <maml:description> <maml:para>Submits a rendition request for documents passed through the pipeline. Takes an optional Rendition Profile name.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputDocuments --> <command:syntaxItem> <maml:name>New-PWRenditionRequest</maml:name> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Array of document objects from the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProfileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ProfileName</maml:name> <maml:description> <maml:para>Rendition Profile name. Must exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputDocuments --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputDocuments</maml:name> <maml:description> <maml:para>Array of document objects from the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseDocument[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProfileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ProfileName</maml:name> <maml:description> <maml:para>Rendition Profile name. Must exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseDocument[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of document objects from the pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for creating and submitting a rendition request.</maml:para> <maml:para>#Get documents and submit for plotting.</maml:para> <maml:para>Get-PWDocumentsBySearch -FolderPath "Test 6\Projects 2" -FileName %.dgn -JustThisFolder | New-PWRenditionRequest -ProfileName "For Construction"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWReplicatedStorageAreas --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWReplicatedStorageAreas</command:name> <command:verb>New</command:verb> <command:noun>PWReplicatedStorageAreas</command:noun> <maml:description> <maml:para>Create dummy storage area for a folder tree, storage area, or whole datasource. Used when recreating a datasource from a database backup.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolders --> <command:syntaxItem> <maml:name>New-PWReplicatedStorageAreas</maml:name> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: Storages --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Storages</maml:name> <maml:description> <maml:para>Provide a list of storage areas to replicate. Replicates all storage areas by default.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WholeDatasource --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>WholeDatasource</maml:name> <maml:description> <maml:para>Replicate storage areas for the whole datasource.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UseAdminPaths --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>UseAdminPaths</maml:name> <maml:description> <maml:para>Used when not being run directly from integration server. You will need admin permissions to the remote server.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FileSize --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>FileSize</maml:name> <maml:description> <maml:para>Will create dummy file of this size (default is 1 byte).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolders --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolders</maml:name> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: Storages --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Storages</maml:name> <maml:description> <maml:para>Provide a list of storage areas to replicate. Replicates all storage areas by default.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WholeDatasource --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>WholeDatasource</maml:name> <maml:description> <maml:para>Replicate storage areas for the whole datasource.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UseAdminPaths --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>UseAdminPaths</maml:name> <maml:description> <maml:para>Used when not being run directly from integration server. You will need admin permissions to the remote server.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FileSize --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>FileSize</maml:name> <maml:description> <maml:para>Will create dummy file of this size (default is 1 byte).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target folder object(s) from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWFolders -FolderPath 'Top Level\Sub-Folder' | New-PWReplicatedStorageAreas</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWRichProject --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWRichProject</command:name> <command:verb>New</command:verb> <command:noun>PWRichProject</command:noun> <maml:description> <maml:para>Creates individual rich projects and upgrades existing folders to rich projects.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes a path or folders from pipeline, a template name and a hashtable of project properties in order to create a new rich project or upgrade an existing folder.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>New-PWRichProject</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of folders from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: NewFolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>NewFolderPath</maml:name> <maml:description> <maml:para>Full folder path of new project to create. Error if already exists.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserListTemplatePrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="10"> <maml:name>UserListTemplatePrefix</maml:name> <maml:description> <maml:para>Defaults to '[TEMPLATE]'. Can be used to override that string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>[TEMPLATE]</dev:defaultValue> </command:parameter> <!-- Parameter: TemplateName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>TemplateName</maml:name> <maml:description> <maml:para>Template name. Error if not found.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StorageArea --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>StorageArea</maml:name> <maml:description> <maml:para>Storage area name is required since that is the thing most likely to vary from the template.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: BlockSizeInSeconds --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>BlockSizeInSeconds</maml:name> <maml:description> <maml:para>Geospatial block size to create if latitude and longitude properties are provided (not yet implemented).</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: DoNotCopyDocuments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>DoNotCopyDocuments</maml:name> <maml:description> <maml:para>Will copy documents from the template by default. Set this switch to prevent.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UserListPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>UserListPrefix</maml:name> <maml:description> <maml:para>If provided, user lists that start with '[TEMPLATE]' will be copied and changed to use this value.</maml:para> <maml:para>The idea is to create project-specific user lists.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectProperties --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>ProjectProperties</maml:name> <maml:description> <maml:para>Hashtable with project properties.</maml:para> <maml:para>In script would be like this: @{PROJECT_Project_Name = "My new project"; PROJECT_Project_Number = "00007"; PROJECT_Project_Manager_Email = "joe.blow@bentley.com" }</maml:para> </maml:description> <command:parameterValue required="true">Hashtable</command:parameterValue> <dev:type> <maml:name>System.Collections.Hashtable</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UpgradeIfExists --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>UpgradeIfExists</maml:name> <maml:description> <maml:para>Upgrade the folder if it exists.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ProjectType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>ProjectType</maml:name> <maml:description> <maml:para>ProjectType for updates.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of folders from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: NewFolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>NewFolderPath</maml:name> <maml:description> <maml:para>Full folder path of new project to create. Error if already exists.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TemplateName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>TemplateName</maml:name> <maml:description> <maml:para>Template name. Error if not found.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StorageArea --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>StorageArea</maml:name> <maml:description> <maml:para>Storage area name is required since that is the thing most likely to vary from the template.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: BlockSizeInSeconds --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>BlockSizeInSeconds</maml:name> <maml:description> <maml:para>Geospatial block size to create if latitude and longitude properties are provided (not yet implemented).</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: DoNotCopyDocuments --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>DoNotCopyDocuments</maml:name> <maml:description> <maml:para>Will copy documents from the template by default. Set this switch to prevent.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UserListPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>UserListPrefix</maml:name> <maml:description> <maml:para>If provided, user lists that start with '[TEMPLATE]' will be copied and changed to use this value.</maml:para> <maml:para>The idea is to create project-specific user lists.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserListTemplatePrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="10"> <maml:name>UserListTemplatePrefix</maml:name> <maml:description> <maml:para>Defaults to '[TEMPLATE]'. Can be used to override that string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>[TEMPLATE]</dev:defaultValue> </command:parameter> <!-- Parameter: ProjectProperties --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>ProjectProperties</maml:name> <maml:description> <maml:para>Hashtable with project properties.</maml:para> <maml:para>In script would be like this: @{PROJECT_Project_Name = "My new project"; PROJECT_Project_Number = "00007"; PROJECT_Project_Manager_Email = "joe.blow@bentley.com" }</maml:para> </maml:description> <command:parameterValue required="true">Hashtable</command:parameterValue> <dev:type> <maml:name>System.Collections.Hashtable</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UpgradeIfExists --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>UpgradeIfExists</maml:name> <maml:description> <maml:para>Upgrade the folder if it exists.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ProjectType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>ProjectType</maml:name> <maml:description> <maml:para>ProjectType for updates.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of folders from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for creating a new project from a path</maml:para> </maml:introduction> <dev:code>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</dev:code> <dev:remarks> <maml:para>#This returns a folder object so you could save it to a variable and use it for additional operations.</maml:para> <maml:para>New-PWRichProject -NewFolderPath "Test Projects 5\From Script\Project N" -UpgradeIfExists -ProjectType "Civil"</maml:para> <maml:para>#This returns a folder object so you could save it to a variable and use it for additional operations.</maml:para> <maml:para>Get-PWFolders -FolderName "Civil Project%" | New-PWRichProject -UpgradeIfExists -ProjectType "Civil" -ProjectProperties @{PROJECT_Project_Name='A Project Name'; PROJECT_Project_Number='YYYYY'; PROJECT_Project_Manager_Email='dave.brumbaugh@bentley.com'}</maml:para> <maml:para>#Upgrades all folders in datasource starting with "Civil Project..." to rich projects of type "Civil" and sets the project properties.</maml:para> </dev:remarks> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWRichProjectProperties --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWRichProjectProperties</command:name> <command:verb>Get</command:verb> <command:noun>PWRichProjectProperties</command:noun> <maml:description> <maml:para>Get the list of available project properties.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Update-PWRichProjectProperties --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWRichProjectProperties</command:name> <command:verb>Update</command:verb> <command:noun>PWRichProjectProperties</command:noun> <maml:description> <maml:para>Updates the properties of individual rich projects.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes a path or a folder from the pipeline, and a hashtable of project properties.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Update-PWRichProjectProperties</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of folders from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Full folder path of rich project to update.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectProperties --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ProjectProperties</maml:name> <maml:description> <maml:para>Hashtable with project properties.</maml:para> <maml:para>In script would be like this: @{PROJECT_Project_Name = "My new project"; PROJECT_Project_Number = "00007"; PROJECT_Project_Manager_Email = "joe.blow@bentley.com" }</maml:para> </maml:description> <command:parameterValue required="true">Hashtable</command:parameterValue> <dev:type> <maml:name>System.Collections.Hashtable</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Array of folders from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Full folder path of rich project to update.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectProperties --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ProjectProperties</maml:name> <maml:description> <maml:para>Hashtable with project properties.</maml:para> <maml:para>In script would be like this: @{PROJECT_Project_Name = "My new project"; PROJECT_Project_Number = "00007"; PROJECT_Project_Manager_Email = "joe.blow@bentley.com" }</maml:para> </maml:description> <command:parameterValue required="true">Hashtable</command:parameterValue> <dev:type> <maml:name>System.Collections.Hashtable</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of folders from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Update-PWRichProjectProperties -FolderPath "Test Projects 5\From Script\Project N" -ProjectProperties @{PROJECT_Project_Name='A Project Name'; PROJECT_Project_Number='YYYYY'; PROJECT_Project_Manager_Email='dave.brumbaugh@bentley.com'}</maml:para> <maml:para>Get-PWRichProjects -FolderPath 'Top Level\Sub Level' | Update-PWRichProjectProperties -ProjectProperties @{PROJECT_Start_Date = '2017-01-01 01:00:00'; PROJECT_Project_Name='A Project Name'; PROJECT_Project_Number='YYYYY'; PROJECT_Project_Manager_Email='dave.brumbaugh@bentley.com'}</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWRichProjectReport --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWRichProjectReport</command:name> <command:verb>Get</command:verb> <command:noun>PWRichProjectReport</command:noun> <maml:description> <maml:para>Get a report of all the rich project data in the datasource or include the folder path and restrict to a sub-tree.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Spreadsheet output from this cmdlet is in a format suitable for use with the New-PWRichProjectsFromSpreadsheet or Update-PWRichProjectsFromSpreadsheet.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWRichProjectReport</maml:name> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Name of output file (should have .xlsx extension).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Restrict reporting to this folder tree (optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ProjectType</maml:name> <maml:description> <maml:para>Restrict reporting to this project type (optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Open --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Open</maml:name> <maml:description> <maml:para>Open the created spreadsheet in Excel on completion.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OutputDataTables --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>OutputDataTables</maml:name> <maml:description> <maml:para>Output the generated array of datatables onto the pipeline instead of writing a file.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Name of output file (should have .xlsx extension).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Restrict reporting to this folder tree (optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ProjectType</maml:name> <maml:description> <maml:para>Restrict reporting to this project type (optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Open --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Open</maml:name> <maml:description> <maml:para>Open the created spreadsheet in Excel on completion.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: OutputDataTables --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>OutputDataTables</maml:name> <maml:description> <maml:para>Output the generated array of datatables onto the pipeline instead of writing a file.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Output a spreadsheet with the rich project data</maml:para> <maml:para>Get-PWRichProjectReport -FolderPath 'Top Level\Sub-Folder' -OutputFileName c:\temp\RichProjects.xlsx</maml:para> <maml:para>#Output a array of datatables with the rich project data</maml:para> <maml:para>$dts = Get-PWRichProjectReport -FolderPath 'Top Level\Sub-Folder' -OutputDataTables</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWRichProjectResource --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWRichProjectResource</command:name> <command:verb>Set</command:verb> <command:noun>PWRichProjectResource</command:noun> <maml:description> <maml:para>Set-PWRichProjectResource is used to manipulate the rich project resources for a specified project.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-PWRichProjectResource is used to manipulate the rich project resources for a specified project. A resource type can be set to inherit, none or add specific resource members.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWRichProjectResource</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Specifies the rich project to set the resource data for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ResourceType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ResourceType</maml:name> <maml:description> <maml:para>Specifies the resource type to set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ResourceMemberName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ResourceMemberName</maml:name> <maml:description> <maml:para>Specifies the name of the resource to set. Valid Entries will the name of one of the members of the specified resource type.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Inherit --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Inherit</maml:name> <maml:description> <maml:para>When included, the resource type will be set to inherit.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: None --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>None</maml:name> <maml:description> <maml:para>When included, the resource type will be set to none. If both inherit and none are included, inherit will take precedence.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Specifies the rich project to set the resource data for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ResourceType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ResourceType</maml:name> <maml:description> <maml:para>Specifies the resource type to set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ResourceMemberName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ResourceMemberName</maml:name> <maml:description> <maml:para>Specifies the name of the resource to set. Valid Entries will the name of one of the members of the specified resource type.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Inherit --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Inherit</maml:name> <maml:description> <maml:para>When included, the resource type will be set to inherit.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: None --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>None</maml:name> <maml:description> <maml:para>When included, the resource type will be set to none. If both inherit and none are included, inherit will take precedence.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Specifies the rich project to set the resource data for.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for setting a project's application resource to inherit.</maml:para> <maml:para>Set-PWRichProjectResource -FolderPath 'Projects' -ResourceType 'application' -Inherit</maml:para> <maml:para>#Example usage for setting a project's workspace profiles resource to none.</maml:para> <maml:para>Set-PWRichProjectResource -FolderPath 'Projects' -ResourceType 'workspaceprofile' -None</maml:para> <maml:para>#Example usage for adding the MicroStation application to the project's application resources.</maml:para> <maml:para>Set-PWRichProjectResource -FolderPath 'Projects' -ResourceType 'application' -ResourceMemberName 'Microstation'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWRichProjectRoles --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWRichProjectRoles</command:name> <command:verb>Get</command:verb> <command:noun>PWRichProjectRoles</command:noun> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Get-PWRichProjectRoles</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: AccessMask --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AccessMask</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Description --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Description</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DocumentSecurity --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DocumentSecurity</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FolderSecurity --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FolderSecurity</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RichProjectsOnly --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RichProjectsOnly</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: AccessMask --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AccessMask</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: FolderSecurity --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FolderSecurity</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DocumentSecurity --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DocumentSecurity</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Description --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Description</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RichProjectsOnly --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RichProjectsOnly</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage retrieving rich project participant roles.</maml:para> <maml:para>The following will return the rich project participant roles for the rich project passed via the pipeline.</maml:para> <maml:para>Get-PWFolders -FolderPath 'BSI900 - Adelaide Tower' -JustOne -Slow | Get-PWRichProjectRoles</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWRichProjects --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWRichProjects</command:name> <command:verb>Get</command:verb> <command:noun>PWRichProjects</command:noun> <maml:description> <maml:para>Get-PWRichProjects returns ProjectWise Folder Objects for all of the Work Areas/Rich Projects within current datasource or the specified folder path.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Get-PWRichProjects returns all of the Work Areas/Rich Projects within current datasource or the specified folder path.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWRichProjects</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: JustOne --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>JustOne</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: BypassSearchAssembly --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>BypassSearchAssembly</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: JustOne --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>JustOne</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: BypassSearchAssembly --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>BypassSearchAssembly</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage returning Work Areas/Rich Projects.</maml:para> <maml:para>The following will return all Work Areas/Rich Projects within the current ProjectWise Datasource.</maml:para> <maml:para>Get-PWRichProjects -Verbose</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>The following will return the Work Areas/Rich Projects contained in the specified folder.</maml:para> <maml:para>Get-PWRichProjects -FolderPath 'BSI900 - Adelaide Tower' -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWRichProjectScalar --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWRichProjectScalar</command:name> <command:verb>Get</command:verb> <command:noun>PWRichProjectScalar</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWRichProjectScalar</maml:name> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: KeyProjectProperty --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>KeyProjectProperty</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentAttributeName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>DocumentAttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: KeyProjectProperty --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>KeyProjectProperty</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DocumentAttributeName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>DocumentAttributeName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: New-PWRichProjectsFromDataTables --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWRichProjectsFromDataTables</command:name> <command:verb>New</command:verb> <command:noun>PWRichProjectsFromDataTables</command:noun> <maml:description> <maml:para>Create rich projects from a spreadsheet. Use Get-PWRichProjectReport to create a suitably formatted spreadsheet.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Spreadsheet input to this cmdlet is in the same format generated by Get-PWRichProjectReport.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: Data --> <command:syntaxItem> <maml:name>New-PWRichProjectsFromDataTables</maml:name> <!-- Parameter: Data --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Data</maml:name> <maml:description> <maml:para>Input array of DataTable objects (Required).</maml:para> </maml:description> <command:parameterValue required="true">DataTable[]</command:parameterValue> <dev:type> <maml:name>System.Data.DataTable[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultNewParentPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>DefaultNewParentPath</maml:name> <maml:description> <maml:para>Default new parent path for new projects (Required). Used if NewParentPath is not filled in on row.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultTemplateName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>DefaultTemplateName</maml:name> <maml:description> <maml:para>Default template name for new projects (Required). Used if TemplateName is not filled in on row.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultStorageArea --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>DefaultStorageArea</maml:name> <maml:description> <maml:para>Default storage area for new projects (Required). Used if NewStorage is not filled in on row.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserListTemplatePrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>UserListTemplatePrefix</maml:name> <maml:description> <maml:para>Defaults to '[TEMPLATE]'. Can be used to override that string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>[TEMPLATE]</dev:defaultValue> </command:parameter> <!-- Parameter: BlockSizeInSeconds --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>BlockSizeInSeconds</maml:name> <maml:description> <maml:para>If provided and if ProjectLatitude and ProjectLongitude columns are provided in spreadsheet, will create a geo-location square of this size centered on the Lat/Lon.</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: CreateAtRoot --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>CreateAtRoot</maml:name> <maml:description> <maml:para>Overrides NewParentPath and DefaultNewParentPath to create the project at the root of the datasource.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Data --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Data</maml:name> <maml:description> <maml:para>Input array of DataTable objects (Required).</maml:para> </maml:description> <command:parameterValue required="true">DataTable[]</command:parameterValue> <dev:type> <maml:name>System.Data.DataTable[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultNewParentPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>DefaultNewParentPath</maml:name> <maml:description> <maml:para>Default new parent path for new projects (Required). Used if NewParentPath is not filled in on row.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultTemplateName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>DefaultTemplateName</maml:name> <maml:description> <maml:para>Default template name for new projects (Required). Used if TemplateName is not filled in on row.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultStorageArea --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>DefaultStorageArea</maml:name> <maml:description> <maml:para>Default storage area for new projects (Required). Used if NewStorage is not filled in on row.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserListTemplatePrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>UserListTemplatePrefix</maml:name> <maml:description> <maml:para>Defaults to '[TEMPLATE]'. Can be used to override that string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>[TEMPLATE]</dev:defaultValue> </command:parameter> <!-- Parameter: BlockSizeInSeconds --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>BlockSizeInSeconds</maml:name> <maml:description> <maml:para>If provided and if ProjectLatitude and ProjectLongitude columns are provided in spreadsheet, will create a geo-location square of this size centered on the Lat/Lon.</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: CreateAtRoot --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>CreateAtRoot</maml:name> <maml:description> <maml:para>Overrides NewParentPath and DefaultNewParentPath to create the project at the root of the datasource.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.Data.DataTable[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Input array of DataTable objects (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Create rich projects from an array of DataTables</maml:para> <maml:para>New-PWRichProjectsFromDataTables -Data $dts -DefaultNewParentPath 'New Projects\Create here' -DefaultTemplateName 'General' -DefaultStorageArea Stor01</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWRichProjectsFromDataTables --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWRichProjectsFromDataTables</command:name> <command:verb>Update</command:verb> <command:noun>PWRichProjectsFromDataTables</command:noun> <maml:description> <maml:para>Update rich project properties from an array of data tables like that generated by Get-PWRichProjectReport -OutputDataTables.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Table input to this cmdlet is in the same format generated by Get-PWRichProjectReport -OutputDataTables.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: Data --> <command:syntaxItem> <maml:name>Update-PWRichProjectsFromDataTables</maml:name> <!-- Parameter: Data --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Data</maml:name> <maml:description> <maml:para>Input array of DataTable objects (Required).</maml:para> </maml:description> <command:parameterValue required="true">DataTable[]</command:parameterValue> <dev:type> <maml:name>System.Data.DataTable[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Data --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Data</maml:name> <maml:description> <maml:para>Input array of DataTable objects (Required).</maml:para> </maml:description> <command:parameterValue required="true">DataTable[]</command:parameterValue> <dev:type> <maml:name>System.Data.DataTable[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.Data.DataTable[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Input array of DataTable objects (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Update rich projects from an array of datatables</maml:para> <maml:para>Update-PWRichProjectsFromDataTables $dts</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWRichProjectsFromSpreadsheet --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWRichProjectsFromSpreadsheet</command:name> <command:verb>New</command:verb> <command:noun>PWRichProjectsFromSpreadsheet</command:noun> <maml:description> <maml:para>Create rich projects from a spreadsheet. Use Get-PWRichProjectReport to create a suitably formatted spreadsheet.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Spreadsheet input to this cmdlet is in the same format generated by Get-PWRichProjectReport.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>New-PWRichProjectsFromSpreadsheet</maml:name> <!-- Parameter: InputFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InputFileName</maml:name> <maml:description> <maml:para>Input spreadsheet (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultNewParentPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>DefaultNewParentPath</maml:name> <maml:description> <maml:para>Default new parent path for new projects (Required). Used if NewParentPath is not filled in on row.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultTemplateName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>DefaultTemplateName</maml:name> <maml:description> <maml:para>Default template name for new projects (Required). Used if TemplateName is not filled in on row.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultStorageArea --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>DefaultStorageArea</maml:name> <maml:description> <maml:para>Default storage area for new projects (Required). Used if NewStorage is not filled in on row.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserListTemplatePrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>UserListTemplatePrefix</maml:name> <maml:description> <maml:para>Defaults to '[TEMPLATE]'. Can be used to override that string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>[TEMPLATE]</dev:defaultValue> </command:parameter> <!-- Parameter: BlockSizeInSeconds --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>BlockSizeInSeconds</maml:name> <maml:description> <maml:para>If provided and if ProjectLatitude and ProjectLongitude columns are provided in spreadsheet, will create a geo-location square of this size centered on the Lat/Lon.</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: CreateAtRoot --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>CreateAtRoot</maml:name> <maml:description> <maml:para>Overrides NewParentPath and DefaultNewParentPath to create the project at the root of the datasource.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ProjectTypes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>ProjectTypes</maml:name> <maml:description> <maml:para>If included, will only process the Project Types in the list (corresponds to Worksheet Name).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InputFileName</maml:name> <maml:description> <maml:para>Input spreadsheet (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultNewParentPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>DefaultNewParentPath</maml:name> <maml:description> <maml:para>Default new parent path for new projects (Required). Used if NewParentPath is not filled in on row.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultTemplateName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>DefaultTemplateName</maml:name> <maml:description> <maml:para>Default template name for new projects (Required). Used if TemplateName is not filled in on row.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DefaultStorageArea --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>DefaultStorageArea</maml:name> <maml:description> <maml:para>Default storage area for new projects (Required). Used if NewStorage is not filled in on row.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserListTemplatePrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>UserListTemplatePrefix</maml:name> <maml:description> <maml:para>Defaults to '[TEMPLATE]'. Can be used to override that string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>[TEMPLATE]</dev:defaultValue> </command:parameter> <!-- Parameter: BlockSizeInSeconds --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>BlockSizeInSeconds</maml:name> <maml:description> <maml:para>If provided and if ProjectLatitude and ProjectLongitude columns are provided in spreadsheet, will create a geo-location square of this size centered on the Lat/Lon.</maml:para> </maml:description> <command:parameterValue required="true">double</command:parameterValue> <dev:type> <maml:name>System.Double</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: CreateAtRoot --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>CreateAtRoot</maml:name> <maml:description> <maml:para>Overrides NewParentPath and DefaultNewParentPath to create the project at the root of the datasource.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ProjectTypes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>ProjectTypes</maml:name> <maml:description> <maml:para>If included, will only process the Project Types in the list (corresponds to Worksheet Name).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Create rich projects from a spreadsheet</maml:para> <maml:para>New-PWRichProjectsFromSpreadsheet -InputFileName c:\temp\RichProjects01.xlsx -DefaultNewParentPath 'New Projects\Create here' -DefaultTemplateName 'General' -DefaultStorageArea Stor01</maml:para> <maml:para>#Create rich projects from a spreadsheet (subset of projects)</maml:para> <maml:para>New-PWRichProjectsFromSpreadsheet -InputFileName c:\temp\RichProjects01.xlsx -DefaultNewParentPath 'New Projects\Create here' -DefaultTemplateName 'General' -DefaultStorageArea Stor01 -ProjectTypes "Civil","General"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWRichProjectsFromSpreadsheet --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWRichProjectsFromSpreadsheet</command:name> <command:verb>Update</command:verb> <command:noun>PWRichProjectsFromSpreadsheet</command:noun> <maml:description> <maml:para>Update rich project properties from a spreadsheet. Use Get-PWRichProjectReport to create a suitably formatted spreadsheet.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Spreadsheet input to this cmdlet is in the same format generated by Get-PWRichProjectReport.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Update-PWRichProjectsFromSpreadsheet</maml:name> <!-- Parameter: InputFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InputFileName</maml:name> <maml:description> <maml:para>Input spreadsheet (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InputFileName</maml:name> <maml:description> <maml:para>Input spreadsheet (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Update rich project properties from a spreadsheet</maml:para> <maml:para>Update-PWRichProjectsFromSpreadsheet -InputFileName c:\temp\RichProjects01.xlsx</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWRichProjectStateCount --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWRichProjectStateCount</command:name> <command:verb>Get</command:verb> <command:noun>PWRichProjectStateCount</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWRichProjectStateCount</maml:name> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: KeyProjectProperty --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>KeyProjectProperty</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: OutputFileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>OutputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: KeyProjectProperty --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>KeyProjectProperty</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Convert-PWRichProjectToFolder --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Convert-PWRichProjectToFolder</command:name> <command:verb>Convert</command:verb> <command:noun>PWRichProjectToFolder</command:noun> <maml:description> <maml:para>Converts a Rich Project (WorkArea) and sub-Rich Projects to folders.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Converts the specified rich project to a folder.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Convert-PWRichProjectToFolder</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>ProjectWise folder object to downgrade to a folder.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DowngradeSubProjects --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DowngradeSubProjects</maml:name> <maml:description> <maml:para>When included, all sub-projects (workarea) will be downgraded.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: FolderPath --> <command:syntaxItem> <maml:name>Convert-PWRichProjectToFolder</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Full folder path of rich project (workarea) to downgrade to a folder.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DowngradeSubProjects --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DowngradeSubProjects</maml:name> <maml:description> <maml:para>When included, all sub-projects (workarea) will be downgraded.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>ProjectWise folder object to downgrade to a folder.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Full folder path of rich project (workarea) to downgrade to a folder.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DowngradeSubProjects --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DowngradeSubProjects</maml:name> <maml:description> <maml:para>When included, all sub-projects (workarea) will be downgraded.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>ProjectWise folder object to downgrade to a folder.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Example usage for converting a Rich Project (WorkArea) to a folder.</maml:para> </maml:introduction> <dev:code>Convert-PWRichProjectToFolder -InputFolder (Show-PWFolderBrowserDialog) -Verbose</dev:code> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Example usage for converting a Rich Project (WorkArea) and all sub-RichProjects to folders.</maml:para> </maml:introduction> <dev:code>Convert-PWRichProjectToFolder -FolderPath "MyRichProject" -DowngradeSubProjects -Verbose</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWRichProjectTypes --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWRichProjectTypes</command:name> <command:verb>Get</command:verb> <command:noun>PWRichProjectTypes</command:noun> <maml:description> <maml:para>Get-PWRichProjectTypes is used to get information pertaining to all ProjectWise Rich Project Types within the active datasource.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>There are no parameters required.</maml:para> </maml:description> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for getting all of the Rich Project Types.</maml:para> <maml:para>Get-PWRichProjectTypes</maml:para> <maml:para>#Example usage for getting specific Rich Project Types</maml:para> <maml:para>Get-PWRichProjectTypes | Where-Object {$_.SystemClass -eq "1" -and $_.ClassDesc -ne "PickLists"}</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWSavedSearch --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWSavedSearch</command:name> <command:verb>Add</command:verb> <command:noun>PWSavedSearch</command:noun> <maml:description> <maml:para>Create a new saved search.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: OwnerProject --> <command:syntaxItem> <maml:name>Add-PWSavedSearch</maml:name> <!-- Parameter: OwnerProject --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>OwnerProject</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: SearchName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SearchName</maml:name> <maml:description> <maml:para>Search name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Description --> <command:parameter required="false" globbing="false" pipelineInput="false" position="10"> <maml:name>Description</maml:name> <maml:description> <maml:para>Document description to search for. Supports % wildcard.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OriginalsOnly --> <command:parameter required="false" globbing="false" pipelineInput="false" position="11"> <maml:name>OriginalsOnly</maml:name> <maml:description> <maml:para>Set to restrict to active documents.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Environment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="12"> <maml:name>Environment</maml:name> <maml:description> <maml:para>Environment to search.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Attributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="13"> <maml:name>Attributes</maml:name> <maml:description> <maml:para>Hashtable with Attributes to search for. Values support % wildcard for LIKE searches.</maml:para> <maml:para>In script would be like this: @{Attr1 = "Attr 1 value"; Attr2 = "Attr 2 value"; Attr3Wildcard = "Project %" }</maml:para> </maml:description> <command:parameterValue required="true">Hashtable</command:parameterValue> <dev:type> <maml:name>System.Collections.Hashtable</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Workflow --> <command:parameter required="false" globbing="false" pipelineInput="false" position="14"> <maml:name>Workflow</maml:name> <maml:description> <maml:para>Workflow to search.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: States --> <command:parameter required="false" globbing="false" pipelineInput="false" position="15"> <maml:name>States</maml:name> <maml:description> <maml:para>Workflow states to search for.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UpdatedAfter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="16"> <maml:name>UpdatedAfter</maml:name> <maml:description> <maml:para>Document updated after this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: UpdatedBefore --> <command:parameter required="false" globbing="false" pipelineInput="false" position="17"> <maml:name>UpdatedBefore</maml:name> <maml:description> <maml:para>Document updated before this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: ViewName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="18"> <maml:name>ViewName</maml:name> <maml:description> <maml:para>Default view name to assign.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReplaceExisting --> <command:parameter required="false" globbing="false" pipelineInput="false" position="19"> <maml:name>ReplaceExisting</maml:name> <maml:description> <maml:para>Does not overwrite existing search by default.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SearchFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SearchFolder</maml:name> <maml:description> <maml:para>Folder to search. Will search whole datasource if not provided.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WholeDatasource --> <command:parameter required="false" globbing="false" pipelineInput="false" position="20"> <maml:name>WholeDatasource</maml:name> <maml:description> <maml:para>Force a whole datasource search even when search belongs to a project.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SearchSubFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>SearchSubFolders</maml:name> <maml:description> <maml:para>Set to search the given folder and its children.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SearchText --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>SearchText</maml:name> <maml:description> <maml:para>Full-text search string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WholePhrase --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>WholePhrase</maml:name> <maml:description> <maml:para>Search for the whole phrase.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AnyWord --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>AnyWord</maml:name> <maml:description> <maml:para>Search for Any Word.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SearchAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>SearchAttributes</maml:name> <maml:description> <maml:para>Search Attributes for text string instead.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DocumentName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>DocumentName</maml:name> <maml:description> <maml:para>Document name to search for. Supports % wildcard.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>FileName</maml:name> <maml:description> <maml:para>Document file name to search for. Supports % wildcard.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: OwnerProject --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>OwnerProject</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: SearchName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>SearchName</maml:name> <maml:description> <maml:para>Search name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SearchFolder</maml:name> <maml:description> <maml:para>Folder to search. Will search whole datasource if not provided.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchSubFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>SearchSubFolders</maml:name> <maml:description> <maml:para>Set to search the given folder and its children.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SearchText --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>SearchText</maml:name> <maml:description> <maml:para>Full-text search string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WholePhrase --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>WholePhrase</maml:name> <maml:description> <maml:para>Search for the whole phrase.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AnyWord --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>AnyWord</maml:name> <maml:description> <maml:para>Search for Any Word.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SearchAttributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>SearchAttributes</maml:name> <maml:description> <maml:para>Search Attributes for text string instead.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DocumentName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>DocumentName</maml:name> <maml:description> <maml:para>Document name to search for. Supports % wildcard.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>FileName</maml:name> <maml:description> <maml:para>Document file name to search for. Supports % wildcard.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Description --> <command:parameter required="false" globbing="false" pipelineInput="false" position="10"> <maml:name>Description</maml:name> <maml:description> <maml:para>Document description to search for. Supports % wildcard.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OriginalsOnly --> <command:parameter required="false" globbing="false" pipelineInput="false" position="11"> <maml:name>OriginalsOnly</maml:name> <maml:description> <maml:para>Set to restrict to active documents.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Environment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="12"> <maml:name>Environment</maml:name> <maml:description> <maml:para>Environment to search.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Attributes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="13"> <maml:name>Attributes</maml:name> <maml:description> <maml:para>Hashtable with Attributes to search for. Values support % wildcard for LIKE searches.</maml:para> <maml:para>In script would be like this: @{Attr1 = "Attr 1 value"; Attr2 = "Attr 2 value"; Attr3Wildcard = "Project %" }</maml:para> </maml:description> <command:parameterValue required="true">Hashtable</command:parameterValue> <dev:type> <maml:name>System.Collections.Hashtable</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Workflow --> <command:parameter required="false" globbing="false" pipelineInput="false" position="14"> <maml:name>Workflow</maml:name> <maml:description> <maml:para>Workflow to search.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: States --> <command:parameter required="false" globbing="false" pipelineInput="false" position="15"> <maml:name>States</maml:name> <maml:description> <maml:para>Workflow states to search for.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UpdatedAfter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="16"> <maml:name>UpdatedAfter</maml:name> <maml:description> <maml:para>Document updated after this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: UpdatedBefore --> <command:parameter required="false" globbing="false" pipelineInput="false" position="17"> <maml:name>UpdatedBefore</maml:name> <maml:description> <maml:para>Document updated before this date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/0001 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: ViewName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="18"> <maml:name>ViewName</maml:name> <maml:description> <maml:para>Default view name to assign.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReplaceExisting --> <command:parameter required="false" globbing="false" pipelineInput="false" position="19"> <maml:name>ReplaceExisting</maml:name> <maml:description> <maml:para>Does not overwrite existing search by default.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: WholeDatasource --> <command:parameter required="false" globbing="false" pipelineInput="false" position="20"> <maml:name>WholeDatasource</maml:name> <maml:description> <maml:para>Force a whole datasource search even when search belongs to a project.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Create a search in each rich project</maml:para> <maml:para>Get-PWRichProjects | Add-PWSavedSearch -SearchName 'Search Folder\PDF Search made by PowerShell' -SearchSubFolders -FileName %.pdf -Verbose</maml:para> <maml:para>#Create a search with attributes and states</maml:para> <maml:para>Get-PWFolders -FolderPath 'Top Level\Project 01' -JustOne | Add-PWSavedSearch -SearchName 'My Searches\Attribute Search' -SearchFolder 'Top Level\Project 01\PDFs' -SearchSubFolders -FileName %.pdf -Attributes @{DWG_No = "A-7%"; Title = "Detail%" } -States "Draft","Pending Approval" -Verbose</maml:para> <maml:para>#Create a search with dates</maml:para> <maml:para>Get-PWFolders -FolderPath 'Top Level\Project 01' -JustOne | Add-PWSavedSearch -SearchName 'Current Documents\Updated PDFs' -SearchFolder 'Top Level\Project 01\PDFs' -SearchSubFolders -FileName %.pdf -UpdatedAfter 10/11/2017 -Verbose</maml:para> <maml:para>#Create a global search</maml:para> <maml:para>Add-PWSavedSearch -SearchName 'My global searches\Search Tree\Updated PDFs' -SearchFolder 'Top Level\Project 01\PDFs' -SearchSubFolders -FileName %.pdf -UpdatedAfter 10/11/2017 -Attributes @{DWG_No = "A-7%"; Title = "Detail%" } -States "Draft","Pending Approval" -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWSavedSearch --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWSavedSearch</command:name> <command:verb>Remove</command:verb> <command:noun>PWSavedSearch</command:noun> <maml:description> <maml:para>Remove the saved searches for a project.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Remove-PWSavedSearch</maml:name> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>UserName</maml:name> <maml:description> <maml:para>List of user names to search against. Supports wildcards like 'dave*','bryan*'.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SearchName</maml:name> <maml:description> <maml:para>List of search names to search against. Supports wildcards like 'project*','*PDF'.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DeleteGlobalTopLevelSearches --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>DeleteGlobalTopLevelSearches</maml:name> <maml:description> <maml:para>Delete top level, global data source searches.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>UserName</maml:name> <maml:description> <maml:para>List of user names to search against. Supports wildcards like 'dave*','bryan*'.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SearchName</maml:name> <maml:description> <maml:para>List of search names to search against. Supports wildcards like 'project*','*PDF'.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DeleteGlobalTopLevelSearches --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>DeleteGlobalTopLevelSearches</maml:name> <maml:description> <maml:para>Delete top level, global data source searches.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Delete searches that start with "Delete Me"</maml:para> <maml:para>Remove-PWSavedSearch -SearchName "Delete Me*" -Verbose</maml:para> <maml:para>#Get all rich projects in the given tree and remove their saved searches</maml:para> <maml:para>Get-PWRichProjects -FolderPath "Project Parent\EADOC" | Remove-PWSavedSearch</maml:para> <maml:para>#Delete searches belonging to users Dave and Bryan</maml:para> <maml:para>Remove-PWSavedSearch -UserName Dave,Bryan</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWSavedSearches --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWSavedSearches</command:name> <command:verb>Get</command:verb> <command:noun>PWSavedSearches</command:noun> <maml:description> <maml:para>Get a list of all saved searches within the current datasource.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Defaults to global saved searches, but user can specify a folder path, an array of folders or whether to return the current user's personal searches.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputFolder --> <command:syntaxItem> <maml:name>Get-PWSavedSearches</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to search for saved searches.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Project object(s) to search for saved searches.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Set this to return the current user's personal searches, otherwise global searches will be returned for the datasource or for the project if one is defined.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFolder --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFolder</maml:name> <maml:description> <maml:para>Project object(s) to search for saved searches.</maml:para> </maml:description> <command:parameterValue required="true">ProjectWiseFolder[]</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</dev:defaultValue> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path to search for saved searches.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Personal --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Personal</maml:name> <maml:description> <maml:para>Set this to return the current user's personal searches, otherwise global searches will be returned for the datasource or for the project if one is defined.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWPS_DAB.CommonTypes+ProjectWiseFolder[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Project object(s) to search for saved searches.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage getting list of global saved searches within the current datasource.</maml:para> <maml:para>#Get the global saved searches within the current datasource.</maml:para> <maml:para>Get-PWSavedSearches</maml:para> <maml:para>#Get the global saved searches within the given folder.</maml:para> <maml:para>Get-PWSavedSearches -FolderPath 'Top Leve\Sub Level\Sub Level2'</maml:para> <maml:para>#Get the current user's saved searches within the given folder.</maml:para> <maml:para>Get-PWSavedSearches -FolderPath 'Top Leve\Sub Level\Sub Level2' -Personal</maml:para> <maml:para>#Get the current user's saved searches at the top level of the datasource.</maml:para> <maml:para>Get-PWSavedSearches -Personal</maml:para> <maml:para>#Get the current user's saved searches for all the projects in the given path.</maml:para> <maml:para>Get-PWRichProjects -FolderPath 'Top Level\Projects' | Get-PWSavedSearches -Personal</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWSession --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWSession</command:name> <command:verb>Set</command:verb> <command:noun>PWSession</command:noun> <maml:description> <maml:para>Set active session.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Datasource --> <command:syntaxItem> <maml:name>Set-PWSession</maml:name> <!-- Parameter: Datasource --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Datasource</maml:name> <maml:description> <maml:para>Datasource to change to (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Datasource --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Datasource</maml:name> <maml:description> <maml:para>Datasource to change to (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Datasource to change to (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWSessions</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWSessions --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWSessions</command:name> <command:verb>Get</command:verb> <command:noun>PWSessions</command:noun> <maml:description> <maml:para>Get active sessions.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWSessions</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Select-PWSQL --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Select-PWSQL</command:name> <command:verb>Select</command:verb> <command:noun>PWSQL</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Select-PWSQL</maml:name> <!-- Parameter: SQLSelectStatement --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SQLSelectStatement</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SQLSelectStatement --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SQLSelectStatement</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: DataTable --> <command:returnValue> <dev:type> <maml:name>System.Data.DataTable</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> </command:command> <!-- Cmdlet: Update-PWSQL --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWSQL</command:name> <command:verb>Update</command:verb> <command:noun>PWSQL</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Update-PWSQL</maml:name> <!-- Parameter: SecretPassword --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SecretPassword</maml:name> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SQLCommand --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SQLCommand</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SQLCommandFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SQLCommandFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SQLCommand --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SQLCommand</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SQLCommandFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SQLCommandFile</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SecretPassword --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SecretPassword</maml:name> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Select-PWSQLDataTable --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Select-PWSQLDataTable</command:name> <command:verb>Select</command:verb> <command:noun>PWSQLDataTable</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Select-PWSQLDataTable</maml:name> <!-- Parameter: SQLSelectStatement --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SQLSelectStatement</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SQLSelectStatement --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SQLSelectStatement</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: DataTable --> <command:returnValue> <dev:type> <maml:name>System.Data.DataTable</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> </command:command> <!-- Cmdlet: Select-PWSQLDataTableToSQLite --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Select-PWSQLDataTableToSQLite</command:name> <command:verb>Select</command:verb> <command:noun>PWSQLDataTableToSQLite</command:noun> <maml:description> <maml:para>Pass in a SQL Select statement and have the output returned as a table in a new SQLite database. Can be used to debug output from SQL Select statement.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>If using the Bulk Import features of SQL Server, it's important to make sure the columns match up. This is an easy way to debug the data before trying to do a bulk insert.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Select-PWSQLDataTableToSQLite</maml:name> <!-- Parameter: SQLSelectStatement --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SQLSelectStatement</maml:name> <maml:description> <maml:para>SQL Select statement to execute (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SQLiteFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SQLiteFolder</maml:name> <maml:description> <maml:para>Folder to write SQLite database to. Omit if database is not required.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: SQLSelectStatement --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>SQLSelectStatement</maml:name> <maml:description> <maml:para>SQL Select statement to execute (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SQLiteFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SQLiteFolder</maml:name> <maml:description> <maml:para>Folder to write SQLite database to. Omit if database is not required.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: DataTable --> <command:returnValue> <dev:type> <maml:name>System.Data.DataTable</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Select-PWSQLDataTableToSQLite -SQLiteFolder c:\dboutput\</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWStandardViewColumns --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWStandardViewColumns</command:name> <command:verb>Get</command:verb> <command:noun>PWStandardViewColumns</command:noun> <maml:description> <maml:para>Get the list of available standard view columns.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: New-PWState --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWState</command:name> <command:verb>New</command:verb> <command:noun>PWState</command:noun> <maml:description> <maml:para>Adds new state to the current datasource.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>New-PWState</maml:name> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Name</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Description --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Description</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Name</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Description --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Description</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for New-PWState.</maml:para> <maml:para>#Will return a state object for the new state in the current datasource.</maml:para> <maml:para>New-PWState -Name 'Review' -Description 'Reveiw State'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWState --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWState</command:name> <command:verb>Remove</command:verb> <command:noun>PWState</command:noun> <maml:description> <maml:para>Removes the specified state from current datasource.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Remove-PWState</maml:name> <!-- Parameter: StateName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>StateName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: StateName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>StateName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Remove-PWState.</maml:para> <maml:para>#Will return "true" if the state is successfully removed from the current datasource.</maml:para> <maml:para>Remove-PWState -StateName 'Approved'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWStates --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWStates</command:name> <command:verb>Get</command:verb> <command:noun>PWStates</command:noun> <maml:description> <maml:para>Returns all state objects from current datasource.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Get-PWStates.</maml:para> <maml:para>#Will return all state objects from current datasource.</maml:para> <maml:para>Get-PWStates</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWStatistics --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWStatistics</command:name> <command:verb>Get</command:verb> <command:noun>PWStatistics</command:noun> <maml:description> <maml:para>Reports on statistics from datasource.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWStatistics</maml:name> <!-- Parameter: ForceRefresh --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ForceRefresh</maml:name> <maml:description> <maml:para>Force statistics to be recalculated. Can cause severe performance degradation. Use cautiously.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IgnoreLastLoginCount --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>IgnoreLastLoginCount</maml:name> <maml:description> <maml:para>Calculating the last login count can take a substantial amount of time. You may want to skip it.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ForceRefresh --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ForceRefresh</maml:name> <maml:description> <maml:para>Force statistics to be recalculated. Can cause severe performance degradation. Use cautiously.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: IgnoreLastLoginCount --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>IgnoreLastLoginCount</maml:name> <maml:description> <maml:para>Calculating the last login count can take a substantial amount of time. You may want to skip it.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>#Get all datasource statistics</maml:para> <maml:para>Get-PWStatistics -ForceRefresh -IgnoreLastLoginCount</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWStatistics --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWStatistics</command:name> <command:verb>Update</command:verb> <command:noun>PWStatistics</command:noun> <maml:description> <maml:para>Updates the statistics for the current datasource.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Updates the current datasource statistics</maml:para> <maml:para>Update-PWStatistics</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWStorageArea --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWStorageArea</command:name> <command:verb>New</command:verb> <command:noun>PWStorageArea</command:noun> <maml:description> <maml:para>Create a new storage area. Like the name says. Returns a Storage object on the pipeline.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Create a new storage area. Returns a Storage object on the pipeline.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>New-PWStorageArea</maml:name> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Name</maml:name> <maml:description> <maml:para>Storage Area Name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: HostName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>HostName</maml:name> <maml:description> <maml:para>Machine Name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path for storage area (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Description --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Description</maml:name> <maml:description> <maml:para>Description of storage area.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Name</maml:name> <maml:description> <maml:para>Storage Area Name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: HostName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>HostName</maml:name> <maml:description> <maml:para>Machine Name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path for storage area (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Description --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Description</maml:name> <maml:description> <maml:para>Description of storage area.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>New-PWStorageArea -Name "New Storage" -HostName MachineName -Path "c:\pwstore\New Storage" -Description "New Storage Description"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Update-PWStorageAreaForProjectTree --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Update-PWStorageAreaForProjectTree</command:name> <command:verb>Update</command:verb> <command:noun>PWStorageAreaForProjectTree</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Update-PWStorageAreaForProjectTree</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewStorageArea --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>NewStorageArea</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DoNotDeleteFromSourceStorage --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DoNotDeleteFromSourceStorage</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: JustOne --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>JustOne</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UseAdminPaths --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UseAdminPaths</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewStorageArea --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>NewStorageArea</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DoNotDeleteFromSourceStorage --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DoNotDeleteFromSourceStorage</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: JustOne --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>JustOne</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UseAdminPaths --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UseAdminPaths</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Get-PWStorageAreaList --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWStorageAreaList</command:name> <command:verb>Get</command:verb> <command:noun>PWStorageAreaList</command:noun> <maml:description> <maml:para>Lists available storage areas.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWStorageAreaList</maml:name> <!-- Parameter: StorageAreaNames --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>StorageAreaNames</maml:name> <maml:description> <maml:para>Array of storage area names to list.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: StorageAreaNames --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>StorageAreaNames</maml:name> <maml:description> <maml:para>Array of storage area names to list.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWStorageAreaList -StorageAreaNames "Storage 1","Storage 2","Project Office"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWStorageAreaReport --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWStorageAreaReport</command:name> <command:verb>Get</command:verb> <command:noun>PWStorageAreaReport</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWStorageAreaReport</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path of ProjectWise folder to report on.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StorageAreaName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>StorageAreaName</maml:name> <maml:description> <maml:para>Name of storage area to report on.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Folder path to create output file in.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UseAdminPaths --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>UseAdminPaths</maml:name> <maml:description> <maml:para>When UseAdminPaths is included, administrative paths to the files will be used.".</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SQLite --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>SQLite</maml:name> <maml:description> <maml:para>Output SQLite rather than XLSX.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Folder path of ProjectWise folder to report on.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StorageAreaName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>StorageAreaName</maml:name> <maml:description> <maml:para>Name of storage area to report on.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Folder path to create output file in.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UseAdminPaths --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>UseAdminPaths</maml:name> <maml:description> <maml:para>When UseAdminPaths is included, administrative paths to the files will be used.".</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SQLite --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>SQLite</maml:name> <maml:description> <maml:para>Output SQLite rather than XLSX.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Folder path of ProjectWise folder to report on.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Name of storage area to report on.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Folder path to create output file in.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Get-PWStorageDiskUsage --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWStorageDiskUsage</command:name> <command:verb>Get</command:verb> <command:noun>PWStorageDiskUsage</command:noun> </command:details> <command:syntax> <!-- Parameter set: InputStorageAreas --> <command:syntaxItem> <maml:name>Get-PWStorageDiskUsage</maml:name> <!-- Parameter: InputStorageAreas --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputStorageAreas</maml:name> <command:parameterValue required="true">Storage[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.Storage[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StorageAreaName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>StorageAreaName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ThresholdPercentFree --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ThresholdPercentFree</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputStorageAreas --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputStorageAreas</maml:name> <command:parameterValue required="true">Storage[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.Storage[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StorageAreaName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>StorageAreaName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ThresholdPercentFree --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ThresholdPercentFree</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.Storage[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Add-PWTagDocumentProperty --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWTagDocumentProperty</command:name> <command:verb>Add</command:verb> <command:noun>PWTagDocumentProperty</command:noun> <maml:description> <maml:para>Add a binding to a tag in a tagset for attribute exchange for a document property. Arguments are a tag name, a tagset name, a tagset type (one of MicroStation, AutoCAD or MSOffice) and the document property to use.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Name --> <command:syntaxItem> <maml:name>Add-PWTagDocumentProperty</maml:name> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of tag to add document property binding for (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetName</maml:name> <maml:description> <maml:para>Name of tagset for tag name (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to add (Required). Must be one of MicroStation, AutoCAD or MSOffice.</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>MicroStation</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Property --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>Property</maml:name> <maml:description> <maml:para>Document Property to bind to Tag (Required).</maml:para> <maml:para>Possible values: DocCreateDate, DocCreator, DocCreatorDesc, DocDepartDesc, DocDepartment, DocDescription, DocFileName, DocFileUpdateDate, DocFileUpdaterDesc, DocFileUpdaterName, DocGUID, DocManagerDesc, DocManagerName, DocName, DocNumber, DocSize, DocStorage, DocStorageDesc, DocUpdateDate, DocUpdater, DocUpdaterDesc, DocUserDesc, DocUserName, DocVersion, DocVersionSeq, DocWorkflowDesc, DocWorkflowName, DocWorkflowStateDesc, DocWorkflowStateName, DocWorkspaceProfileDesc, DocWorkfspaceFrofileName</maml:para> </maml:description> <command:parameterValue required="true">AttributeExchangeDocumentProperties</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.AttributeExchangeDocumentProperties</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>DocCreateDate</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">DocCreateDate</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocCreator</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocCreatorDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocDepartDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocDepartment</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocDescription</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocFileName</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocFileUpdateDate</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocFileUpdaterDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocFileUpdaterName</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocGUID</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocManagerDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocManagerName</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocName</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocNumber</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocSize</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocStorage</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocStorageDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocUpdateDate</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocUpdater</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocUpdaterDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocUserDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocUserName</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocVersion</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocVersionSeq</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocWorkflowDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocWorkflowName</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocWorkflowStateDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocWorkflowStateName</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocWorkspaceProfileDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocWorkfspaceFrofileName</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of tag to add document property binding for (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetName</maml:name> <maml:description> <maml:para>Name of tagset for tag name (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to add (Required). Must be one of MicroStation, AutoCAD or MSOffice.</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>MicroStation</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Property --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>Property</maml:name> <maml:description> <maml:para>Document Property to bind to Tag (Required).</maml:para> <maml:para>Possible values: DocCreateDate, DocCreator, DocCreatorDesc, DocDepartDesc, DocDepartment, DocDescription, DocFileName, DocFileUpdateDate, DocFileUpdaterDesc, DocFileUpdaterName, DocGUID, DocManagerDesc, DocManagerName, DocName, DocNumber, DocSize, DocStorage, DocStorageDesc, DocUpdateDate, DocUpdater, DocUpdaterDesc, DocUserDesc, DocUserName, DocVersion, DocVersionSeq, DocWorkflowDesc, DocWorkflowName, DocWorkflowStateDesc, DocWorkflowStateName, DocWorkspaceProfileDesc, DocWorkfspaceFrofileName</maml:para> </maml:description> <command:parameterValue required="true">AttributeExchangeDocumentProperties</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.AttributeExchangeDocumentProperties</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>DocCreateDate</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">DocCreateDate</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocCreator</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocCreatorDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocDepartDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocDepartment</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocDescription</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocFileName</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocFileUpdateDate</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocFileUpdaterDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocFileUpdaterName</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocGUID</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocManagerDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocManagerName</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocName</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocNumber</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocSize</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocStorage</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocStorageDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocUpdateDate</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocUpdater</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocUpdaterDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocUserDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocUserName</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocVersion</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocVersionSeq</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocWorkflowDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocWorkflowName</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocWorkflowStateDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocWorkflowStateName</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocWorkspaceProfileDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">DocWorkfspaceFrofileName</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Name of tag to add document property binding for (Required). Will create if does not exist.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Add-PWTagDocumentProperty -Name 'Tag01' -TagSetName 'New Tagset' -TagSetType MicroStation -Property DocName -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWTagEnvironmentAttribute --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWTagEnvironmentAttribute</command:name> <command:verb>Add</command:verb> <command:noun>PWTagEnvironmentAttribute</command:noun> <maml:description> <maml:para>Add a binding to a tag in a tagset for attribute exchange for an environment attribute. Arguments are a tag name, a tagset name, a tagset type (one of MicroStation, AutoCAD or MSOffice), the environment name and an attribute name.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Name --> <command:syntaxItem> <maml:name>Add-PWTagEnvironmentAttribute</maml:name> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of tag to add document property binding for (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetName</maml:name> <maml:description> <maml:para>Name of tagset for tag name (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to add (Required). Must be one of MicroStation, AutoCAD or MSOffice.</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>MicroStation</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment name (required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>AttributeName</maml:name> <maml:description> <maml:para>Attribute name (required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of tag to add document property binding for (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetName</maml:name> <maml:description> <maml:para>Name of tagset for tag name (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to add (Required). Must be one of MicroStation, AutoCAD or MSOffice.</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>MicroStation</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: EnvironmentName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>EnvironmentName</maml:name> <maml:description> <maml:para>Environment name (required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AttributeName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>AttributeName</maml:name> <maml:description> <maml:para>Attribute name (required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Name of tag to add document property binding for (Required). Will create if does not exist.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Add-PWTagProjectProperty -Name 'Tag01' -TagSetName 'New Tagset' -TagSetType MicroStation -Property FolderName -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWTagFolderProperty --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWTagFolderProperty</command:name> <command:verb>Add</command:verb> <command:noun>PWTagFolderProperty</command:noun> <maml:description> <maml:para>Add a binding to a tag in a tagset for attribute exchange for a folder property. Arguments are a tag name, a tagset name, a tagset type (one of MicroStation, AutoCAD or MSOffice) and the folder property to use.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Name --> <command:syntaxItem> <maml:name>Add-PWTagFolderProperty</maml:name> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of tag to add document property binding for (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetName</maml:name> <maml:description> <maml:para>Name of tagset for tag name (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to add (Required). Must be one of MicroStation, AutoCAD or MSOffice.</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>MicroStation</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Property --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>Property</maml:name> <maml:description> <maml:para>Folder Property to bind to Tag (Required).</maml:para> <maml:para>Possible values: FolderCode, FolderCreateDate, FolderCreator, FolderCreatorDesc, FolderDescription, FolderGUID, FolderManager, FolderManagerDesc, FolderName, FolderNumber, FolderStorage, FolderStorageDesc, FolderUpdateDate, FolderUpdater, FolderUpdaterDesc, FolderVersion, FolderVersionSeq, FolderWorkflowDesc, FolderWorkflowName, FolderWorkflowStateDesc, FolderWorkflowStateName, FolderWorkspaceProfileDesc, FolderWorkfspaceFrofileName</maml:para> </maml:description> <command:parameterValue required="true">AttributeExchangeFolderProperties</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.AttributeExchangeFolderProperties</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>FolderCode</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">FolderCode</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderCreateDate</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderCreator</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderCreatorDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderDescription</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderGUID</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderManager</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderManagerDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderName</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderNumber</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderStorage</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderStorageDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderUpdateDate</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderUpdater</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderUpdaterDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderVersion</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderVersionSeq</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderWorkflowDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderWorkflowName</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderWorkflowStateDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderWorkflowStateName</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderWorkspaceProfileDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderWorkfspaceFrofileName</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of tag to add document property binding for (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetName</maml:name> <maml:description> <maml:para>Name of tagset for tag name (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to add (Required). Must be one of MicroStation, AutoCAD or MSOffice.</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>MicroStation</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Property --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>Property</maml:name> <maml:description> <maml:para>Folder Property to bind to Tag (Required).</maml:para> <maml:para>Possible values: FolderCode, FolderCreateDate, FolderCreator, FolderCreatorDesc, FolderDescription, FolderGUID, FolderManager, FolderManagerDesc, FolderName, FolderNumber, FolderStorage, FolderStorageDesc, FolderUpdateDate, FolderUpdater, FolderUpdaterDesc, FolderVersion, FolderVersionSeq, FolderWorkflowDesc, FolderWorkflowName, FolderWorkflowStateDesc, FolderWorkflowStateName, FolderWorkspaceProfileDesc, FolderWorkfspaceFrofileName</maml:para> </maml:description> <command:parameterValue required="true">AttributeExchangeFolderProperties</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.AttributeExchangeFolderProperties</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>FolderCode</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">FolderCode</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderCreateDate</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderCreator</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderCreatorDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderDescription</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderGUID</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderManager</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderManagerDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderName</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderNumber</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderStorage</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderStorageDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderUpdateDate</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderUpdater</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderUpdaterDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderVersion</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderVersionSeq</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderWorkflowDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderWorkflowName</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderWorkflowStateDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderWorkflowStateName</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderWorkspaceProfileDesc</command:parameterValue> <command:parameterValue required="false" variableLength="false">FolderWorkfspaceFrofileName</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Name of tag to add document property binding for (Required). Will create if does not exist.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Add-PWTagFolderProperty -Name 'Tag01' -TagSetName 'New Tagset' -TagSetType MicroStation -Property FolderName -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Export-PWTagMappings --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Export-PWTagMappings</command:name> <command:verb>Export</command:verb> <command:noun>PWTagMappings</command:noun> <maml:description> <maml:para>Export a report suitable for reimport with tag and attribute mappings.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: OutputFile --> <command:syntaxItem> <maml:name>Export-PWTagMappings</maml:name> <!-- Parameter: OutputFile --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>OutputFile</maml:name> <maml:description> <maml:para>Name of file to export to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetName</maml:name> <maml:description> <maml:para>Name of tagset for export (optional). Will export all if not provided.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to export (optional). Will export all if not provided (MicroStation, AutoCAD and MSOffice).</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice, All</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetTypeWithAll</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetTypeWithAll</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>All</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> <command:parameterValue required="false" variableLength="false">All</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: OutputFile --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>OutputFile</maml:name> <maml:description> <maml:para>Name of file to export to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetName</maml:name> <maml:description> <maml:para>Name of tagset for export (optional). Will export all if not provided.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to export (optional). Will export all if not provided (MicroStation, AutoCAD and MSOffice).</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice, All</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetTypeWithAll</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetTypeWithAll</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>All</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> <command:parameterValue required="false" variableLength="false">All</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Name of file to export to.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Export-PWTagMappings -OutputFile c:\temp\tagMappings01.xlsx -TagSetName 'New Tagset' -TagSetType MicroStation -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Import-PWTagMappings --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Import-PWTagMappings</command:name> <command:verb>Import</command:verb> <command:noun>PWTagMappings</command:noun> <maml:description> <maml:para>Import spreadsheet suitable for reimport with tag and attribute mappings.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputFile --> <command:syntaxItem> <maml:name>Import-PWTagMappings</maml:name> <!-- Parameter: InputFile --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFile</maml:name> <maml:description> <maml:para>Name of file to import.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetName</maml:name> <maml:description> <maml:para>Name of tagset to import (optional). Will import all if not provided.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to import (optional). Will import all if not provided (MicroStation, AutoCAD and MSOffice).</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice, All</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetTypeWithAll</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetTypeWithAll</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>All</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> <command:parameterValue required="false" variableLength="false">All</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFile --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputFile</maml:name> <maml:description> <maml:para>Name of file to import.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetName</maml:name> <maml:description> <maml:para>Name of tagset to import (optional). Will import all if not provided.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to import (optional). Will import all if not provided (MicroStation, AutoCAD and MSOffice).</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice, All</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetTypeWithAll</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetTypeWithAll</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>All</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> <command:parameterValue required="false" variableLength="false">All</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Name of file to import.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Export-PWTagMappings -OutputFile c:\temp\tagMappings01.xlsx -TagSetName 'New Tagset' -TagSetType MicroStation -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWTagProjectProperty --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWTagProjectProperty</command:name> <command:verb>Add</command:verb> <command:noun>PWTagProjectProperty</command:noun> <maml:description> <maml:para>Add a binding to a tag in a tagset for attribute exchange for a project property. Arguments are a tag name, a tagset name, a tagset type (one of MicroStation, AutoCAD or MSOffice), the project type and the project property.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Name --> <command:syntaxItem> <maml:name>Add-PWTagProjectProperty</maml:name> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of tag to add document property binding for (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetName</maml:name> <maml:description> <maml:para>Name of tagset for tag name (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to add (Required). Must be one of MicroStation, AutoCAD or MSOffice.</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>MicroStation</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: ProjectType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>ProjectType</maml:name> <maml:description> <maml:para>Project type name (required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Property --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>Property</maml:name> <maml:description> <maml:para>Project property name (required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of tag to add document property binding for (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetName</maml:name> <maml:description> <maml:para>Name of tagset for tag name (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to add (Required). Must be one of MicroStation, AutoCAD or MSOffice.</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>MicroStation</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: ProjectType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>ProjectType</maml:name> <maml:description> <maml:para>Project type name (required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Property --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>Property</maml:name> <maml:description> <maml:para>Project property name (required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Name of tag to add document property binding for (Required). Will create if does not exist.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Add-PWTagProjectProperty -Name 'Tag01' -TagSetName 'New Tagset' -TagSetType MicroStation -Property FolderName -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWTags --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWTags</command:name> <command:verb>Add</command:verb> <command:noun>PWTags</command:noun> <maml:description> <maml:para>Add a tag to a tagset for attribute exchange. Arguments are an array of tag names to add, the name of the tagset to add them to and the type of the tagset (one of MicroStation, AutoCAD or MSOffice).</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Names --> <command:syntaxItem> <maml:name>Add-PWTags</maml:name> <!-- Parameter: Names --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Names</maml:name> <maml:description> <maml:para>Names of tags to add to tagset (Required).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetName</maml:name> <maml:description> <maml:para>Name of tagset to add tags to (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to add (Required). Must be one of MicroStation, AutoCAD or MSOffice.</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>MicroStation</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Names --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Names</maml:name> <maml:description> <maml:para>Names of tags to add to tagset (Required).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetName</maml:name> <maml:description> <maml:para>Name of tagset to add tags to (Required). Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to add (Required). Must be one of MicroStation, AutoCAD or MSOffice.</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>MicroStation</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Names of tags to add to tagset (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Add-PWTags 'Tag01','Tag02','Tag03' -TagSetName 'New Tagset' -TagSetType MicroStation -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWTagSet --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWTagSet</command:name> <command:verb>Add</command:verb> <command:noun>PWTagSet</command:noun> <maml:description> <maml:para>Add a tagset for attribute exchange. Arguments are tagset Name and tagset Type which is one of MicroStation, AutoCAD or MSOffice.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Name --> <command:syntaxItem> <maml:name>Add-PWTagSet</maml:name> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of tagset to add (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to add (Required). Must be one of MicroStation, AutoCAD or MSOffice.</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>MicroStation</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of tagset to add (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to add (Required). Must be one of MicroStation, AutoCAD or MSOffice.</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>MicroStation</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Name of tagset to add (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Add-PWTagset -Name 'New Tagset' -TagSetType MicroStation -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWTagSet --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWTagSet</command:name> <command:verb>Remove</command:verb> <command:noun>PWTagSet</command:noun> <maml:description> <maml:para>Remove a tagset for attribute exchange. Arguments are tagset Name and tagset Type which is one of MicroStation, AutoCAD or MSOffice.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Name --> <command:syntaxItem> <maml:name>Remove-PWTagSet</maml:name> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of tagset to add (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to add (Required). Must be one of MicroStation, AutoCAD or MSOffice.</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>MicroStation</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Name --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of tagset to add (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TagSetType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to add (Required). Must be one of MicroStation, AutoCAD or MSOffice.</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>MicroStation</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Name of tagset to add (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Remove-PWTagset -Name 'New Tagset' -TagSetType MicroStation -Verbose</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWTagSets --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWTagSets</command:name> <command:verb>Get</command:verb> <command:noun>PWTagSets</command:noun> <maml:description> <maml:para>List the tagsets defined for a tagset Type which is one of MicroStation, AutoCAD or MSOffice.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWTagSets</maml:name> <!-- Parameter: TagSetType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to add (Required). Must be one of MicroStation, AutoCAD or MSOffice.</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>MicroStation</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: TagSetType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>TagSetType</maml:name> <maml:description> <maml:para>Type of tagset to add (Required). Must be one of MicroStation, AutoCAD or MSOffice.</maml:para> <maml:para>Possible values: MicroStation, AutoCAD, MSOffice</maml:para> </maml:description> <command:parameterValue required="true">PWTagSetType</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.PWTagSetType</maml:name> <maml:uri /> <maml:description> <maml:para>Tagset types.</maml:para> </maml:description> </dev:type> <dev:defaultValue>MicroStation</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">MicroStation</command:parameterValue> <command:parameterValue required="false" variableLength="false">AutoCAD</command:parameterValue> <command:parameterValue required="false" variableLength="false">MSOffice</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWTagsets -TagSetType MicroStation</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWTestDocuments --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWTestDocuments</command:name> <command:verb>Add</command:verb> <command:noun>PWTestDocuments</command:noun> <maml:description> <maml:para>Create new documents and folders for testing. Provide path to a data file to make normal documents. Otherwise, documents will be abstract.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Will first create folders up to NumFolders and then will create documents up to NumDocuments.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Add-PWTestDocuments</maml:name> <!-- Parameter: NumDocuments --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>NumDocuments</maml:name> <maml:description> <maml:para>Number of documents to create (Required).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: NumFolders --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>NumFolders</maml:name> <maml:description> <maml:para>Number of folders to create (Required).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: FolderDepth --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>FolderDepth</maml:name> <maml:description> <maml:para>Depth of new folder tree (Required).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: StorageArea --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>StorageArea</maml:name> <maml:description> <maml:para>Storage area name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetPWFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>TargetPWFolder</maml:name> <maml:description> <maml:para>Target folder name (Optional). Will be created if it does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SourceFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>SourceFile</maml:name> <maml:description> <maml:para>Source file name (Optional). Will be used to create documents. Abstract documents will be created if not provided.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileSizeK --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>FileSizeK</maml:name> <maml:description> <maml:para>Source file name (Optional). Will be used to create documents. Abstract documents will be created if not provided.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: NumDocuments --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>NumDocuments</maml:name> <maml:description> <maml:para>Number of documents to create (Required).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: NumFolders --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>NumFolders</maml:name> <maml:description> <maml:para>Number of folders to create (Required).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: FolderDepth --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>FolderDepth</maml:name> <maml:description> <maml:para>Depth of new folder tree (Required).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: StorageArea --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>StorageArea</maml:name> <maml:description> <maml:para>Storage area name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TargetPWFolder --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>TargetPWFolder</maml:name> <maml:description> <maml:para>Target folder name (Optional). Will be created if it does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SourceFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>SourceFile</maml:name> <maml:description> <maml:para>Source file name (Optional). Will be used to create documents. Abstract documents will be created if not provided.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileSizeK --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>FileSizeK</maml:name> <maml:description> <maml:para>Source file name (Optional). Will be used to create documents. Abstract documents will be created if not provided.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Add-PWTestDocuments -NumDocuments 100000 -NumFolders 10000 -FolderDepth 3 -StorageArea Storage1 -TargetPWFolder "Import Test" -SourceFile c:\temp\dummy.txt</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWTestDocumentsInFolders --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWTestDocumentsInFolders</command:name> <command:verb>Add</command:verb> <command:noun>PWTestDocumentsInFolders</command:noun> <maml:description> <maml:para>Create new documents for testing. Provide path to a data file to make normal documents. Otherwise, documents will be abstract.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Will will create documents in the empty folders up to NumDocuments.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Add-PWTestDocumentsInFolders</maml:name> <!-- Parameter: NumDocuments --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>NumDocuments</maml:name> <maml:description> <maml:para>Number of documents to create (Required).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: TargetPWFolder --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetPWFolder</maml:name> <maml:description> <maml:para>Target folder name. Will fill the folders beneath this root.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StartNumber --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>StartNumber</maml:name> <maml:description> <maml:para>Start number for naming (Optional).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: SourceFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>SourceFile</maml:name> <maml:description> <maml:para>Source file name (Optional). Will be used to create documents. Abstract documents will be created if this and FileSizeK not provided.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileSizeK --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>FileSizeK</maml:name> <maml:description> <maml:para>File size for creating dummy files (Optional). Will be used to create dummy documents. Abstract documents will be created if this and SourceFile not provided.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: NumDocuments --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>NumDocuments</maml:name> <maml:description> <maml:para>Number of documents to create (Required).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: TargetPWFolder --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>TargetPWFolder</maml:name> <maml:description> <maml:para>Target folder name. Will fill the folders beneath this root.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StartNumber --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>StartNumber</maml:name> <maml:description> <maml:para>Start number for naming (Optional).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: SourceFile --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>SourceFile</maml:name> <maml:description> <maml:para>Source file name (Optional). Will be used to create documents. Abstract documents will be created if this and FileSizeK not provided.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileSizeK --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>FileSizeK</maml:name> <maml:description> <maml:para>File size for creating dummy files (Optional). Will be used to create dummy documents. Abstract documents will be created if this and SourceFile not provided.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para># Create up 100000 test documents in the empty folders under "Import Test\Folder 01"</maml:para> <maml:para>Add-PWTestDocumentsInFolders -NumDocuments 100000 -TargetPWFolder "Import Test\Folder 01" -SourceFile c:\temp\dummy.txt</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWUserAdminRights --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWUserAdminRights</command:name> <command:verb>Set</command:verb> <command:noun>PWUserAdminRights</command:noun> <maml:description> <maml:para>Upgrade an existing user to be an administrator.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: UserName --> <command:syntaxItem> <maml:name>Set-PWUserAdminRights</maml:name> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>Array of user names.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: UserId --> <command:syntaxItem> <maml:name>Set-PWUserAdminRights</maml:name> <!-- Parameter: UserId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>Array of user ids.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: InputUser --> <command:syntaxItem> <maml:name>Set-PWUserAdminRights</maml:name> <!-- Parameter: InputUser --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>Array of user names.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>Array of user ids.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InputUser --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user names.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user ids.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user objects.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWUsersBySearch -UserName 'pwadmin','ics_admin' | Set-PWUserAdminRights</maml:para> <maml:para>New-PWUserSimple 'pwadmin' | Set-PWUserAdminRights</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWUserByLastLogin --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWUserByLastLogin</command:name> <command:verb>Get</command:verb> <command:noun>PWUserByLastLogin</command:noun> <maml:description> <maml:para>Get users by the user's last login.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWUserByLastLogin</maml:name> <!-- Parameter: DaysAgo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>DaysAgo</maml:name> <maml:description> <maml:para>Defines the login window in days to use.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Since --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Since</maml:name> <maml:description> <maml:para>Use this to get the logins within the window. Without this switch, will default to listing users with last logins outside the window (older) and users who have never logged in.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: DaysAgo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>DaysAgo</maml:name> <maml:description> <maml:para>Defines the login window in days to use.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Since --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Since</maml:name> <maml:description> <maml:para>Use this to get the logins within the window. Without this switch, will default to listing users with last logins outside the window (older) and users who have never logged in.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWUserByLastLogin -DaysAgo 30 -Since"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWUserDisabled --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWUserDisabled</command:name> <command:verb>Set</command:verb> <command:noun>PWUserDisabled</command:noun> <maml:description> <maml:para>Disable list of users from the pipeline or by search to a named group.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: UserName --> <command:syntaxItem> <maml:name>Set-PWUserDisabled</maml:name> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>List of user names to add.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: UserId --> <command:syntaxItem> <maml:name>Set-PWUserDisabled</maml:name> <!-- Parameter: UserId --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>List of user ids to add.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: InputUser --> <command:syntaxItem> <maml:name>Set-PWUserDisabled</maml:name> <!-- Parameter: InputUser --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects to add.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>List of user names to add.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserId --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>List of user ids to add.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InputUser --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects to add.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>List of user names to add.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>List of user ids to add.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user objects to add.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWUsersByMatch -Email "*gmail.com","*bentley.com" | Set-PWUserDisabled</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWUserEnabled --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWUserEnabled</command:name> <command:verb>Set</command:verb> <command:noun>PWUserEnabled</command:noun> <maml:description> <maml:para>Disable list of users from the pipeline or by search to a named group.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: UserName --> <command:syntaxItem> <maml:name>Set-PWUserEnabled</maml:name> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>Array of user names to add to user list (supports wildcards).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: UserId --> <command:syntaxItem> <maml:name>Set-PWUserEnabled</maml:name> <!-- Parameter: UserId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>Array of user ids to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: InputUser --> <command:syntaxItem> <maml:name>Set-PWUserEnabled</maml:name> <!-- Parameter: InputUser --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects from the pipeline to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>Array of user names to add to user list (supports wildcards).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>Array of user ids to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InputUser --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects from the pipeline to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user names to add to user list (supports wildcards).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user ids to add to user list.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user objects from the pipeline to add to user list.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWUsersByMatch -Email "*gmail.com","*bentley.com" | Set-PWUserDisabled</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWUserFromGroup --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWUserFromGroup</command:name> <command:verb>Remove</command:verb> <command:noun>PWUserFromGroup</command:noun> <maml:description> <maml:para>Remove users from the pipeline or by search from a named group.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: UserName --> <command:syntaxItem> <maml:name>Remove-PWUserFromGroup</maml:name> <!-- Parameter: GroupName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>GroupName</maml:name> <maml:description> <maml:para>User list name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>Array of user names to add to user list (supports wildcards).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: UserId --> <command:syntaxItem> <maml:name>Remove-PWUserFromGroup</maml:name> <!-- Parameter: GroupName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>GroupName</maml:name> <maml:description> <maml:para>User list name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>Array of user ids to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: InputUser --> <command:syntaxItem> <maml:name>Remove-PWUserFromGroup</maml:name> <!-- Parameter: InputUser --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects from the pipeline to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: GroupName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>GroupName</maml:name> <maml:description> <maml:para>User list name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>Array of user names to add to user list (supports wildcards).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>Array of user ids to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InputUser --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects from the pipeline to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: GroupName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>GroupName</maml:name> <maml:description> <maml:para>User list name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user names to add to user list (supports wildcards).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user ids to add to user list.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user objects from the pipeline to add to user list.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWUsersByMatch -Email "*gmail.com","*bentley.com" | Remove-PWUserFromGroup -GroupName Administrators</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWUserFromUserList --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWUserFromUserList</command:name> <command:verb>Remove</command:verb> <command:noun>PWUserFromUserList</command:noun> <maml:description> <maml:para>Remove users from the pipeline or by search to a named user list.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: UserName --> <command:syntaxItem> <maml:name>Remove-PWUserFromUserList</maml:name> <!-- Parameter: UserList --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserList</maml:name> <maml:description> <maml:para>User list name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>Array of user names to add to user list (supports wildcards).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: UserId --> <command:syntaxItem> <maml:name>Remove-PWUserFromUserList</maml:name> <!-- Parameter: UserList --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserList</maml:name> <maml:description> <maml:para>User list name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>Array of user ids to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: InputUser --> <command:syntaxItem> <maml:name>Remove-PWUserFromUserList</maml:name> <!-- Parameter: InputUser --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects from the pipeline to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserList --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserList</maml:name> <maml:description> <maml:para>User list name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>Array of user names to add to user list (supports wildcards).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>Array of user ids to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InputUser --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects from the pipeline to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserList --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserList</maml:name> <maml:description> <maml:para>User list name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user names to add to user list (supports wildcards).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user ids to add to user list.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user objects from the pipeline to add to user list.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWUsersByMatch -Email "*gmail.com","*bentley.com" | Remove-PWUserFromUserList -UserList "Project 10100 Engineers"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWUserLicenseSource --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWUserLicenseSource</command:name> <command:verb>Set</command:verb> <command:noun>PWUserLicenseSource</command:noun> <maml:description> <maml:para>Set the license source for the indicated users.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputUsers --> <command:syntaxItem> <maml:name>Set-PWUserLicenseSource</maml:name> <!-- Parameter: InputUsers --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUsers</maml:name> <maml:description> <maml:para>Target user object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Bentley.ProjectWise.PowerShell.Common.User[]</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputUsers --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUsers</maml:name> <maml:description> <maml:para>Target user object(s) from pipeline.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Bentley.ProjectWise.PowerShell.Common.User[]</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Target user object(s) from pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWUsersByMatch -UserName 'dave*','bryan*' | Set-PWUserLicenseSource -UseClient</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWUserListNames --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWUserListNames</command:name> <command:verb>Get</command:verb> <command:noun>PWUserListNames</command:noun> <maml:description> <maml:para>Get list of user list names.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Remove users from a user list</maml:para> <maml:para>$userlistNames = Get-PWUserListNames</maml:para> <maml:para>$users = Get-PWUsersByMatch -UserName 'dave*','bryan*'</maml:para> <maml:para>foreach ($ul in $userListName)</maml:para> <maml:para>{</maml:para> <maml:para>Remove-PWUserFromUserList $users -UserList $ul</maml:para> <maml:para>}</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWUserListOwners --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWUserListOwners</command:name> <command:verb>Set</command:verb> <command:noun>PWUserListOwners</command:noun> <maml:description> <maml:para>Set-PWUserListOwners is used to add a user/group/userlist to the Owners of a UserList.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set-PWUserListOwners is used to add a user/group/userlist to the Owners of a UserList. Requires a UserListName, Owner, and OwnerType (Possible entries: u, g, ul)</maml:para> </maml:description> <command:syntax> <!-- Parameter set: UserList --> <command:syntaxItem> <maml:name>Set-PWUserListOwners</maml:name> <!-- Parameter: UserList --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>UserList</maml:name> <command:parameterValue required="true">ProjectWiseUserList</command:parameterValue> <dev:type> <maml:name>PWWrapper+ProjectWiseUserList</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Owner --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Owner</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OwnerType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OwnerType</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: UserListName --> <command:syntaxItem> <maml:name>Set-PWUserListOwners</maml:name> <!-- Parameter: UserListName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>UserListName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Owner --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Owner</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OwnerType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OwnerType</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserList --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>UserList</maml:name> <command:parameterValue required="true">ProjectWiseUserList</command:parameterValue> <dev:type> <maml:name>PWWrapper+ProjectWiseUserList</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserListName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>UserListName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OwnerType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OwnerType</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Owner --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Owner</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>PWWrapper+ProjectWiseUserList</maml:name> <maml:uri /> </dev:type> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for adding a user to the Owners of the specified UserList.</maml:para> <maml:para>Set-PWPWUserListOwners -UserListName 'MyNewUserList' -Owner 'MyUserName' -OwnerType 'u'</maml:para> <maml:para>#Example usage for adding a group to the Owners of the specified UserList.</maml:para> <maml:para>Set-PWPWUserListOwners -UserListName 'MyNewUserList' -Owner 'MyGroup' -OwnerType 'g'</maml:para> <maml:para>#Example usage for adding a userlist to the Owners of the specified UserList.</maml:para> <maml:para>Set-PWPWUserListOwners -UserListName 'MyNewUserList' -Owner 'ULA' -OwnerType 'ul'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWUserListsByMatch --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWUserListsByMatch</command:name> <command:verb>Get</command:verb> <command:noun>PWUserListsByMatch</command:noun> <maml:description> <maml:para>Returns all userlists the user is a member of.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: UserListID --> <command:syntaxItem> <maml:name>Get-PWUserListsByMatch</maml:name> <!-- Parameter: UserListID --> <command:parameter required="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>UserListID</maml:name> <maml:description> <maml:para>UserList ID of userlist to return information for.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: UserListName --> <command:syntaxItem> <maml:name>Get-PWUserListsByMatch</maml:name> <!-- Parameter: UserListName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserListName</maml:name> <maml:description> <maml:para>UserList name of userlist to return information for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: GroupID --> <command:syntaxItem> <maml:name>Get-PWUserListsByMatch</maml:name> <!-- Parameter: Exclude --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Exclude</maml:name> <maml:description> <maml:para>If set, retrieves only User Lists that do NOT have the User or Group with the given UserID or GroupID as a member.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: GroupID --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>GroupID</maml:name> <maml:description> <maml:para>Retrieves only User Lists that have the Group with this ID as a member, unless -Exclude is set, in which case Get-PWUserList will return only User Lists that do NOT have the Group with this ID as a member.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: UserID --> <command:syntaxItem> <maml:name>Get-PWUserListsByMatch</maml:name> <!-- Parameter: Exclude --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Exclude</maml:name> <maml:description> <maml:para>If set, retrieves only User Lists that do NOT have the User or Group with the given UserID or GroupID as a member.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UserID --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UserID</maml:name> <maml:description> <maml:para>Retrieves only User Lists that have the User with this ID as a member, unless -Exclude is set, in which case Get-PWUserList will return only User Lists that do NOT have the User with this ID as a member.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: Owner --> <command:syntaxItem> <maml:name>Get-PWUserListsByMatch</maml:name> <!-- Parameter: Owner --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Owner</maml:name> <maml:description> <maml:para>Retrieves only User Lists that are owned by this User.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserListID --> <command:parameter required="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>UserListID</maml:name> <maml:description> <maml:para>UserList ID of userlist to return information for.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: UserListName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserListName</maml:name> <maml:description> <maml:para>UserList name of userlist to return information for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: GroupID --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>GroupID</maml:name> <maml:description> <maml:para>Retrieves only User Lists that have the Group with this ID as a member, unless -Exclude is set, in which case Get-PWUserList will return only User Lists that do NOT have the Group with this ID as a member.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: UserID --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UserID</maml:name> <maml:description> <maml:para>Retrieves only User Lists that have the User with this ID as a member, unless -Exclude is set, in which case Get-PWUserList will return only User Lists that do NOT have the User with this ID as a member.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Owner --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Owner</maml:name> <maml:description> <maml:para>Retrieves only User Lists that are owned by this User.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Exclude --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Exclude</maml:name> <maml:description> <maml:para>If set, retrieves only User Lists that do NOT have the User or Group with the given UserID or GroupID as a member.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>UserList ID of userlist to return information for.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWUserListsByUser -UserName 'admin'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWUserListsByMember --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWUserListsByMember</command:name> <command:verb>Get</command:verb> <command:noun>PWUserListsByMember</command:noun> <maml:description> <maml:para>Returns all userlists the specified member belongs to.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWUserListsByMember</maml:name> <!-- Parameter: MemberName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>MemberName</maml:name> <maml:description> <maml:para>User name to return userlist membership information. (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MemberType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>MemberType</maml:name> <maml:description> <maml:para>User name to return userlist membership information. (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: MemberName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>MemberName</maml:name> <maml:description> <maml:para>User name to return userlist membership information. (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MemberType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>MemberType</maml:name> <maml:description> <maml:para>User name to return userlist membership information. (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWUserListsByMember -MamberName 'admin' -MemberType user</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>Get-PWUserListsByMember -MamberName 'administrators' -MemberType group</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 3 ----------</maml:title> <maml:introduction> <maml:para>Get-PWUserListsByMember -MamberName 'Managers' -MemberType userlist</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWUserListsByUser --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWUserListsByUser</command:name> <command:verb>Get</command:verb> <command:noun>PWUserListsByUser</command:noun> </command:details> <command:syntax> <!-- Parameter set: UserName --> <command:syntaxItem> <maml:name>Get-PWUserListsByUser</maml:name> <!-- Parameter: UserName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>UserName</maml:name> <maml:description> <maml:para>User name to return userlist membership information. (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>UserName</maml:name> <maml:description> <maml:para>User name to return userlist membership information. (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>User name to return userlist membership information. (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Set-PWUserNewNameAndDomain --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWUserNewNameAndDomain</command:name> <command:verb>Set</command:verb> <command:noun>PWUserNewNameAndDomain</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWUserNewNameAndDomain</maml:name> <!-- Parameter: UserName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Domain --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Domain</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewUserName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>NewUserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewDomain --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>NewDomain</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ChangeToLogical --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ChangeToLogical</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: PasswordPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>PasswordPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Domain --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Domain</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewUserName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>NewUserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewDomain --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>NewDomain</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ChangeToLogical --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ChangeToLogical</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: PasswordPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>PasswordPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Clear-PWUserRichProjectRights --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Clear-PWUserRichProjectRights</command:name> <command:verb>Clear</command:verb> <command:noun>PWUserRichProjectRights</command:noun> <maml:description> <maml:para>Remove the rights for a user/user list/group to create/delete/modify rich projects.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Clear-PWUserRichProjectRights</maml:name> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <maml:description> <maml:para>User name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectAccess --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectAccess</maml:name> <maml:description> <maml:para>Rights to add. CANCHANGE/MODIFY/DELETE/CREATE/ALL.</maml:para> <maml:para>Possible values: CANCHANGE, CREATE, MODIFY, DELETE, ALL</maml:para> </maml:description> <command:parameterValue required="true">RichProjectAccess</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.RichProjectAccess</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">CANCHANGE</command:parameterValue> <command:parameterValue required="false" variableLength="false">CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">DELETE</command:parameterValue> <command:parameterValue required="false" variableLength="false">ALL</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: UserList --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>UserList</maml:name> <maml:description> <maml:para>User list name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Group --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Group</maml:name> <maml:description> <maml:para>Group name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <maml:description> <maml:para>User name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectAccess --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectAccess</maml:name> <maml:description> <maml:para>Rights to add. CANCHANGE/MODIFY/DELETE/CREATE/ALL.</maml:para> <maml:para>Possible values: CANCHANGE, CREATE, MODIFY, DELETE, ALL</maml:para> </maml:description> <command:parameterValue required="true">RichProjectAccess</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.RichProjectAccess</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">CANCHANGE</command:parameterValue> <command:parameterValue required="false" variableLength="false">CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">DELETE</command:parameterValue> <command:parameterValue required="false" variableLength="false">ALL</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: UserList --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>UserList</maml:name> <maml:description> <maml:para>User list name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Group --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Group</maml:name> <maml:description> <maml:para>Group name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Remove all project access for a user</maml:para> <maml:para>Clear-PWUserRichProjectRights -UserName 'dave' -ProjectAccess ALL</maml:para> <maml:para>#Remove project delete rights for a user list</maml:para> <maml:para>Clear-PWUserRichProjectRights -UserList 'Project Managers' -ProjectAccess DELETE</maml:para> <maml:para>#Remove project modify rights for a group</maml:para> <maml:para>Clear-PWUserRichProjectRights -Group 'New Dheli Office' -ProjectAccess MODIFY</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWUserRichProjectRights --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWUserRichProjectRights</command:name> <command:verb>Set</command:verb> <command:noun>PWUserRichProjectRights</command:noun> <maml:description> <maml:para>Set the rights for a user to create/delete/modify rich projects.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWUserRichProjectRights</maml:name> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <maml:description> <maml:para>User name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectAccess --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectAccess</maml:name> <maml:description> <maml:para>Rights to add. CANCHANGE/MODIFY/DELETE/CREATE/ALL.</maml:para> <maml:para>Possible values: CANCHANGE, CREATE, MODIFY, DELETE, ALL</maml:para> </maml:description> <command:parameterValue required="true">RichProjectAccess</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.RichProjectAccess</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">CANCHANGE</command:parameterValue> <command:parameterValue required="false" variableLength="false">CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">DELETE</command:parameterValue> <command:parameterValue required="false" variableLength="false">ALL</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: UserList --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>UserList</maml:name> <maml:description> <maml:para>User list name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Group --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Group</maml:name> <maml:description> <maml:para>Group name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <maml:description> <maml:para>User name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectAccess --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectAccess</maml:name> <maml:description> <maml:para>Rights to add. CANCHANGE/MODIFY/DELETE/CREATE/ALL.</maml:para> <maml:para>Possible values: CANCHANGE, CREATE, MODIFY, DELETE, ALL</maml:para> </maml:description> <command:parameterValue required="true">RichProjectAccess</command:parameterValue> <dev:type> <maml:name>PWPS_DAB.RichProjectAccess</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">CANCHANGE</command:parameterValue> <command:parameterValue required="false" variableLength="false">CREATE</command:parameterValue> <command:parameterValue required="false" variableLength="false">MODIFY</command:parameterValue> <command:parameterValue required="false" variableLength="false">DELETE</command:parameterValue> <command:parameterValue required="false" variableLength="false">ALL</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: UserList --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>UserList</maml:name> <maml:description> <maml:para>User list name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Group --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Group</maml:name> <maml:description> <maml:para>Group name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Set project access for a user</maml:para> <maml:para>Set-PWUserRichProjectRights -UserName 'dave' -ProjectAccess ALL</maml:para> <maml:para>#Set project delete for a user list</maml:para> <maml:para>Set-PWUserRichProjectRights -UserList 'Project Managers' -ProjectAccess DELETE</maml:para> <maml:para>#Set project modify for a group</maml:para> <maml:para>Set-PWUserRichProjectRights -Group 'New Dheli Office' -ProjectAccess MODIFY</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWUsersByMatch --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWUsersByMatch</command:name> <command:verb>Get</command:verb> <command:noun>PWUsersByMatch</command:noun> <maml:description> <maml:para>Get list of ProjectWise users by list of names or ids or security providers or emails. Produces inclusive list of all search parameters, i.e. OR's them all together.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWUsersByMatch</maml:name> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>UserName</maml:name> <maml:description> <maml:para>List of user names to return.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>UserId</maml:name> <maml:description> <maml:para>List of user ids to return.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SecProvider --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>SecProvider</maml:name> <maml:description> <maml:para>List of security providers to match on.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Email --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Email</maml:name> <maml:description> <maml:para>List of emails to match on.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Disabled --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Disabled</maml:name> <maml:description> <maml:para>Set to return just disabled users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Enabled --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Enabled</maml:name> <maml:description> <maml:para>Set to return just enabled users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LastLogin --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>LastLogin</maml:name> <maml:description> <maml:para>Get last login. This greatly slows down the query.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>UserName</maml:name> <maml:description> <maml:para>List of user names to return.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>UserId</maml:name> <maml:description> <maml:para>List of user ids to return.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SecProvider --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>SecProvider</maml:name> <maml:description> <maml:para>List of security providers to match on.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Email --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Email</maml:name> <maml:description> <maml:para>List of emails to match on.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Disabled --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Disabled</maml:name> <maml:description> <maml:para>Set to return just disabled users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Enabled --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Enabled</maml:name> <maml:description> <maml:para>Set to return just enabled users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LastLogin --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>LastLogin</maml:name> <maml:description> <maml:para>Get last login. This greatly slows down the query.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#will return users which match either or the name wildcards OR users matching the Email wildcard</maml:para> <maml:para>Get-PWUsersByMatch -UserName 'dave*','bryan*' -Email '*@bentley.com'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWUserSimple --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWUserSimple</command:name> <command:verb>New</command:verb> <command:noun>PWUserSimple</command:noun> <maml:description> <maml:para>Add Windows or Logical user with no dependency on PWPS.dll.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: UserNames --> <command:syntaxItem> <maml:name>New-PWUserSimple</maml:name> <!-- Parameter: UserNames --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>UserNames</maml:name> <maml:description> <maml:para>New user names. (Required).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Description --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Description</maml:name> <maml:description> <maml:para>User Description.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SecurityProvider --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SecurityProvider</maml:name> <maml:description> <maml:para>Security Provider.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Email --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Email</maml:name> <maml:description> <maml:para>Email.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Password --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Password</maml:name> <maml:description> <maml:para>Password. Leave blank for single sign-on</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserNames --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>UserNames</maml:name> <maml:description> <maml:para>New user names. (Required).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Description --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Description</maml:name> <maml:description> <maml:para>User Description.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SecurityProvider --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SecurityProvider</maml:name> <maml:description> <maml:para>Security Provider.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Email --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Email</maml:name> <maml:description> <maml:para>Email.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Password --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Password</maml:name> <maml:description> <maml:para>Password. Leave blank for single sign-on</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#create logical users using secure string password</maml:para> <maml:para>New-PWUserSimple "MyNewUserName","YourNewUserName" -Password $secureString</maml:para> <maml:para>#create domain user</maml:para> <maml:para>New-PWUserSimple Win.User -SecurityProvider YourDomain -Email Win.User@YourDomain.com</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWUsersInGroup --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWUsersInGroup</command:name> <command:verb>Get</command:verb> <command:noun>PWUsersInGroup</command:noun> <maml:description> <maml:para>Get users in a named group.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: GroupName --> <command:syntaxItem> <maml:name>Get-PWUsersInGroup</maml:name> <!-- Parameter: GroupName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>GroupName</maml:name> <maml:description> <maml:para>Group name to add users to (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: GroupName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>GroupName</maml:name> <maml:description> <maml:para>Group name to add users to (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Group name to add users to (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWUsersInGroup Adminstrators | Set-PWUserAdminRights</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWUsersInUserList --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWUsersInUserList</command:name> <command:verb>Get</command:verb> <command:noun>PWUsersInUserList</command:noun> <maml:description> <maml:para>Get users in a user list.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: UserList --> <command:syntaxItem> <maml:name>Get-PWUsersInUserList</maml:name> <!-- Parameter: UserList --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>UserList</maml:name> <maml:description> <maml:para>Group name to add users to (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserList --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>UserList</maml:name> <maml:description> <maml:para>Group name to add users to (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Group name to add users to (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWUsersInUserList 'Project Engineers' | Set-PWUserDisabled</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWUsersToConnectedProject --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWUsersToConnectedProject</command:name> <command:verb>Add</command:verb> <command:noun>PWUsersToConnectedProject</command:noun> <maml:description> <maml:para>Takes an array of user objects from the pipeline and associates them with the CONNECTed project associated with the rich project given a ProjectWise folder path.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes an array of user objects from the pipeline and associates them with the CONNECTed project associated with the rich project given a ProjectWise folder path. You can specify the rights each user should be given. Only users with email addresses specified will be added to the CONNECTed project.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: InputUsers --> <command:syntaxItem> <maml:name>Add-PWUsersToConnectedProject</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Path to the rich project from which we'll find the associated CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InputUsers --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUsers</maml:name> <maml:description> <maml:para>Array of ProjectWise User objects from the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Review --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Review</maml:name> <maml:description> <maml:para>Set to grant Review privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Issue --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Issue</maml:name> <maml:description> <maml:para>Set to grant Issue privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Receive --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Receive</maml:name> <maml:description> <maml:para>Set to grant Receive privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Administrator --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Administrator</maml:name> <maml:description> <maml:para>Set to grant Administrator privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputUsers --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUsers</maml:name> <maml:description> <maml:para>Array of ProjectWise User objects from the pipeline.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Path to the rich project from which we'll find the associated CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Review --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Review</maml:name> <maml:description> <maml:para>Set to grant Review privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Issue --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Issue</maml:name> <maml:description> <maml:para>Set to grant Issue privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Receive --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Receive</maml:name> <maml:description> <maml:para>Set to grant Receive privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Administrator --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Administrator</maml:name> <maml:description> <maml:para>Set to grant Administrator privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of ProjectWise User objects from the pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for adding users to a CONNECTED project.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>#Will add the users with email who have logged in within the last year to the CONNECTed Project associated with the ProjectWise Rich Project identified by that path</maml:para> <maml:para>Get-PWUserByLastLogin -DaysAgo 365 -Since | Add-PWUsersToConnectedProject -FolderPath "PWPS Connected Project Test 6\Projects 2\Project A"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWUsersToConnectedProjectByGroup --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWUsersToConnectedProjectByGroup</command:name> <command:verb>Add</command:verb> <command:noun>PWUsersToConnectedProjectByGroup</command:noun> <maml:description> <maml:para>Takes a group name and associates users in the group with the CONNECTed project associated with the rich project given a ProjectWise folder path or folder id.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Takes a group name and associates users in the group with the CONNECTed project associated with the rich project given a ProjectWise folder path or folder id. You can specify the rights each user should be given. Only users with email addresses specified will be added to the CONNECTed project.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Add-PWUsersToConnectedProjectByGroup</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Path to the rich project from which we'll find the associated CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderId</maml:name> <maml:description> <maml:para>Id of rich project from which we'll find the associated CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Group --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Group</maml:name> <maml:description> <maml:para>Group name containing participants to add to CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Review --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Review</maml:name> <maml:description> <maml:para>Set to grant Review privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Issue --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Issue</maml:name> <maml:description> <maml:para>Set to grant Issue privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Receive --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Receive</maml:name> <maml:description> <maml:para>Set to grant Receive privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Administrator --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Administrator</maml:name> <maml:description> <maml:para>Set to grant Administrator privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Path to the rich project from which we'll find the associated CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderId</maml:name> <maml:description> <maml:para>Id of rich project from which we'll find the associated CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Group --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Group</maml:name> <maml:description> <maml:para>Group name containing participants to add to CONNECTed project.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Review --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Review</maml:name> <maml:description> <maml:para>Set to grant Review privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Issue --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Issue</maml:name> <maml:description> <maml:para>Set to grant Issue privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Receive --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>Receive</maml:name> <maml:description> <maml:para>Set to grant Receive privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Administrator --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Administrator</maml:name> <maml:description> <maml:para>Set to grant Administrator privileges to the users.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: ConnectedProjectUser --> <command:parameter required="false" globbing="false" pipelineInput="false" position="7"> <maml:name>ConnectedProjectUser</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ConnectedProjectPassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>ConnectedProjectPassword</maml:name> <maml:description> <maml:para>Will use current CONNECT client session if not set.</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for adding users to a CONNECTED project.</maml:para> <maml:para>Open-PWConnection -DatasourceName Server:DSN -UserName pwadmin -Password p@ssw0rd</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>#Will add the users with email who have logged in within the last year to the CONNECTed Project associated with the ProjectWise Rich Project identified by that path</maml:para> <maml:para>Add-PWUsersToConnectedProjectByGroup -FolderPath "PWPS Connected Project Test 6\Projects 2\Project A" -Group "Project Managers"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Convert-PWUserToFederated --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Convert-PWUserToFederated</command:name> <command:verb>Convert</command:verb> <command:noun>PWUserToFederated</command:noun> <maml:description> <maml:para>Convert-PWUserToFederated updates a user to a Federated user using the user's email address. Can be overriden by specifying identity name.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputUser --> <command:syntaxItem> <maml:name>Convert-PWUserToFederated</maml:name> <!-- Parameter: InputUser --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects from the pipeline to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IdentityName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IdentityName</maml:name> <maml:description> <maml:para>Optional identity name to apply to user. Will use user's email by default for identity.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewUserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NewUserName</maml:name> <maml:description> <maml:para>Optional new user name to apply to user.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputUser --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects from the pipeline to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: IdentityName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>IdentityName</maml:name> <maml:description> <maml:para>Optional identity name to apply to user. Will use user's email by default for identity.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NewUserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NewUserName</maml:name> <maml:description> <maml:para>Optional new user name to apply to user.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user objects from the pipeline to add to user list.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Will update user account to a Federated user and update Identity name to the user's email.</maml:para> <maml:para>Get-PWUserByMatch -Email '*bentley.com' | Convert-PWUserToFederated</maml:para> </maml:introduction> </command:example> <command:example> <maml:title>---------- EXAMPLE 2 ----------</maml:title> <maml:introduction> <maml:para>#Will update user account to a Federated Identity and update Identity name.</maml:para> <maml:para>Convert-PWUserToFederated -UserID 2 -IdentityName 'PWUser1'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWUserToGroup --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWUserToGroup</command:name> <command:verb>Add</command:verb> <command:noun>PWUserToGroup</command:noun> <maml:description> <maml:para>Add users from the pipeline or by search to a named group.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: UserName --> <command:syntaxItem> <maml:name>Add-PWUserToGroup</maml:name> <!-- Parameter: GroupName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>GroupName</maml:name> <maml:description> <maml:para>Group name to add users to (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>List of user names to add.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: UserId --> <command:syntaxItem> <maml:name>Add-PWUserToGroup</maml:name> <!-- Parameter: GroupName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>GroupName</maml:name> <maml:description> <maml:para>Group name to add users to (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserId --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>List of user ids to add.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: InputUser --> <command:syntaxItem> <maml:name>Add-PWUserToGroup</maml:name> <!-- Parameter: InputUser --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects to add.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: GroupName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>GroupName</maml:name> <maml:description> <maml:para>Group name to add users to (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>List of user names to add.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserId --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>List of user ids to add.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InputUser --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects to add.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: GroupName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>GroupName</maml:name> <maml:description> <maml:para>Group name to add users to (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>List of user names to add.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>List of user ids to add.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user objects to add.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWUsersByMatch -Email "*gmail.com","*bentley.com" | Add-PWUserToGroup -GroupName "Administrators"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWUserToLogical --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWUserToLogical</command:name> <command:verb>Set</command:verb> <command:noun>PWUserToLogical</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWUserToLogical</maml:name> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Domain --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Domain</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserList --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>UserList</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Group --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Group</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PasswordPrefix --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>PasswordPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>UserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Domain --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Domain</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserList --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>UserList</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Group --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Group</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PasswordPrefix --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>PasswordPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Add-PWUserToUserList --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWUserToUserList</command:name> <command:verb>Add</command:verb> <command:noun>PWUserToUserList</command:noun> <maml:description> <maml:para>Add users from the pipeline or by search to a named user list.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: UserName --> <command:syntaxItem> <maml:name>Add-PWUserToUserList</maml:name> <!-- Parameter: UserList --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserList</maml:name> <maml:description> <maml:para>User list name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>Array of user names to add to user list (supports wildcards).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: UserId --> <command:syntaxItem> <maml:name>Add-PWUserToUserList</maml:name> <!-- Parameter: UserList --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserList</maml:name> <maml:description> <maml:para>User list name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>Array of user ids to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: InputUser --> <command:syntaxItem> <maml:name>Add-PWUserToUserList</maml:name> <!-- Parameter: InputUser --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects from the pipeline to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserList --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserList</maml:name> <maml:description> <maml:para>User list name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>Array of user names to add to user list (supports wildcards).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserId --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>Array of user ids to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InputUser --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects from the pipeline to add to user list.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserList --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>UserList</maml:name> <maml:description> <maml:para>User list name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user names to add to user list (supports wildcards).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user ids to add to user list.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user objects from the pipeline to add to user list.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWUsersByMatch -Email "*gmail.com","*bentley.com" | Add-PWUserToUserList -UserList "Project 10100 Engineers"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWUserWorkingDirectory --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWUserWorkingDirectory</command:name> <command:verb>Get</command:verb> <command:noun>PWUserWorkingDirectory</command:noun> <maml:description> <maml:para>Get the working directory for user.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: UserName --> <command:syntaxItem> <maml:name>Get-PWUserWorkingDirectory</maml:name> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>List of user names to add.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: UserId --> <command:syntaxItem> <maml:name>Get-PWUserWorkingDirectory</maml:name> <!-- Parameter: UserId --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>List of user ids to add.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: InputUser --> <command:syntaxItem> <maml:name>Get-PWUserWorkingDirectory</maml:name> <!-- Parameter: InputUser --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects to add.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>List of user names to add.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserId --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>List of user ids to add.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InputUser --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects to add.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>List of user names to add.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>List of user ids to add.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user objects to add.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWUserWorkingDirectory -UserName pwadmin</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Set-PWUserWorkingDirectory --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWUserWorkingDirectory</command:name> <command:verb>Set</command:verb> <command:noun>PWUserWorkingDirectory</command:noun> <maml:description> <maml:para>Add working directory for user.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: UserName --> <command:syntaxItem> <maml:name>Set-PWUserWorkingDirectory</maml:name> <!-- Parameter: WorkingFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>WorkingFolder</maml:name> <maml:description> <maml:para>Working folder name. Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>List of user names to add.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: UserId --> <command:syntaxItem> <maml:name>Set-PWUserWorkingDirectory</maml:name> <!-- Parameter: WorkingFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>WorkingFolder</maml:name> <maml:description> <maml:para>Working folder name. Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserId --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>List of user ids to add.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: InputUser --> <command:syntaxItem> <maml:name>Set-PWUserWorkingDirectory</maml:name> <!-- Parameter: WorkingFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>WorkingFolder</maml:name> <maml:description> <maml:para>Working folder name. Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InputUser --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects to add.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>List of user names to add.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserId --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>UserId</maml:name> <maml:description> <maml:para>List of user ids to add.</maml:para> </maml:description> <command:parameterValue required="true">int[]</command:parameterValue> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: InputUser --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputUser</maml:name> <maml:description> <maml:para>Array of user objects to add.</maml:para> </maml:description> <command:parameterValue required="true">User[]</command:parameterValue> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WorkingFolder --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>WorkingFolder</maml:name> <maml:description> <maml:para>Working folder name. Will create if does not exist.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>List of user names to add.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Int32[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>List of user ids to add.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>Bentley.ProjectWise.PowerShell.Common.User[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of user objects to add.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Working folder name. Will create if does not exist.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Set working directory for a user</maml:para> <maml:para>Set-PWUserWorkingDirectory -UserName pwadmin -WorkingDirectory 'c:\pwwork\ds1\pwadmin'</maml:para> <maml:para>#Set working directory for an array of users</maml:para> <maml:para>$users = Get-PWUsersByMatch xadmin13, xadmin14</maml:para> <maml:para>foreach ($user in $users)</maml:para> <maml:para>{</maml:para> <maml:para>Set-PWUserAdminRights $user -Verbose</maml:para> <maml:para>Set-PWUserWorkingDirectory $user -WorkingFolder("c:\pwwork\pwv8i\" + $user.Name) -Verbose</maml:para> <maml:para>}</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWVersion --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWVersion</command:name> <command:verb>Get</command:verb> <command:noun>PWVersion</command:noun> <maml:description> <maml:para>Get current ProjectWise version.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for getting ProjectWise version.</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>Get-PWVersion</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWView --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWView</command:name> <command:verb>New</command:verb> <command:noun>PWView</command:noun> <maml:description> <maml:para>Create a new view. Use the -Replace flag to replace an existing view. File properties from indexing are not yet supported.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: ViewName --> <command:syntaxItem> <maml:name>New-PWView</maml:name> <!-- Parameter: ViewName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>ViewName</maml:name> <maml:description> <maml:para>View Name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Columns --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>Columns</maml:name> <maml:description> <maml:para>List of columns to include (Required).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Environment --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>Environment</maml:name> <maml:description> <maml:para>Environment to use as column source (Optional). If not provided, columns that don't resolve to project properties or standard types won't be included in view.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Replace --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>Replace</maml:name> <maml:description> <maml:para>Set this to replace an existing view. Otherwise, if view exists cmdlet will exit.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ViewName --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>ViewName</maml:name> <maml:description> <maml:para>View Name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Columns --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="1"> <maml:name>Columns</maml:name> <maml:description> <maml:para>List of columns to include (Required).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Environment --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="2"> <maml:name>Environment</maml:name> <maml:description> <maml:para>Environment to use as column source (Optional). If not provided, columns that don't resolve to project properties or standard types won't be included in view.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Replace --> <command:parameter required="false" globbing="false" pipelineInput="true (ByValue)" position="3"> <maml:name>Replace</maml:name> <maml:description> <maml:para>Set this to replace an existing view. Otherwise, if view exists cmdlet will exit.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>View Name (Required).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>List of columns to include (Required).</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Environment to use as column source (Optional). If not provided, columns that don't resolve to project properties or standard types won't be included in view.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Set this to replace an existing view. Otherwise, if view exists cmdlet will exit.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-PWRichProjectProperties</maml:para> <maml:para>Get-PWStandardViewColumns</maml:para> <maml:para>New-PWView "New View 3" -Columns PW_Document_Name,PW_Folder_Name,PROJECT_Budget,PROJECT_End_Date,PROJECT_Project_Name,Interface,A_BIGINT,A_CHAR,A_DOUBLE -Environment "A Test Environment with All Column Types"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWViews --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWViews</command:name> <command:verb>Get</command:verb> <command:noun>PWViews</command:noun> <maml:description> <maml:para>Get list of generally available views in the datasource.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for getting view in the datasouce.</maml:para> <maml:para>Import-Module pwps_dab</maml:para> <maml:para>Get-PWViews</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWWorkflow --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWWorkflow</command:name> <command:verb>New</command:verb> <command:noun>PWWorkflow</command:noun> <maml:description> <maml:para>Adds new workflow to the current datasource.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>New-PWWorkflow</maml:name> <!-- Parameter: WorkflowName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>WorkflowName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WorkflowDescription --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>WorkflowDescription</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: WorkflowName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>WorkflowName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WorkflowDescription --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>WorkflowDescription</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for New-PWWorkflow.</maml:para> <maml:para>#Will return a workflow object for the new workflow in the current datasource.</maml:para> <maml:para>New-PWWorkflow -WorkflowName 'Design' -WorkflowDescription 'Design Workflow'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWWorkflow --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWWorkflow</command:name> <command:verb>Remove</command:verb> <command:noun>PWWorkflow</command:noun> <maml:description> <maml:para>Removes the specified workflow from current datasource.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Remove-PWWorkflow</maml:name> <!-- Parameter: WorkflowName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>WorkflowName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: WorkflowName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>WorkflowName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Remove-PWWorkflow.</maml:para> <maml:para>#Will return "true" if the workflow is successfully removed from the current datasource.</maml:para> <maml:para>Remove-PWWorkflow -WorkflowName 'Approved'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Clear-PWWorkflowByFolderPath --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Clear-PWWorkflowByFolderPath</command:name> <command:verb>Clear</command:verb> <command:noun>PWWorkflowByFolderPath</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Clear-PWWorkflowByFolderPath</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SubFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SubFolders</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SubFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SubFolders</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Set-PWWorkflowByFolderPath --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Set-PWWorkflowByFolderPath</command:name> <command:verb>Set</command:verb> <command:noun>PWWorkflowByFolderPath</command:noun> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Set-PWWorkflowByFolderPath</maml:name> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WorkflowName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>WorkflowName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: State --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>State</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SubFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>SubFolders</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>FolderPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WorkflowName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>WorkflowName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: State --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>State</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SubFolders --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>SubFolders</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Get-PWWorkflows --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWWorkflows</command:name> <command:verb>Get</command:verb> <command:noun>PWWorkflows</command:noun> <maml:description> <maml:para>Returns all workflow objects from current datasource.</maml:para> </maml:description> </command:details> <command:syntax /> <command:parameters /> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Get-PWWorkflows.</maml:para> <maml:para>#Will return all workflow objects from current datasource.</maml:para> <maml:para>Get-PWWorkflows</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-PWWorkflowState --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-PWWorkflowState</command:name> <command:verb>Add</command:verb> <command:noun>PWWorkflowState</command:noun> <maml:description> <maml:para>Adds the specified state to the specified workflow within the current datasource.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Add-PWWorkflowState</maml:name> <!-- Parameter: WorkflowName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>WorkflowName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StateName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>StateName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NextStateName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NextStateName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PreviousStateName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PreviousStateName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: WorkflowName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>WorkflowName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StateName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>StateName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PreviousStateName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PreviousStateName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: NextStateName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NextStateName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Add-PWWorkflowState.</maml:para> <maml:para>#Will return "true" if the state is successfully added to the workflow within the current datasource.</maml:para> <maml:para>Add-PWWorkflowState -Workflow 'Default Workflow' -StateName 'Review' -PreviousStateName 'Draft' -NextStateName 'Pending Approval'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-PWWorkflowStateLinks --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-PWWorkflowStateLinks</command:name> <command:verb>Get</command:verb> <command:noun>PWWorkflowStateLinks</command:noun> <maml:description> <maml:para>Returns all state objects that are members of the specified workflow from current datasource.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-PWWorkflowStateLinks</maml:name> <!-- Parameter: WorkflowName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>WorkflowName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: WorkflowName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>WorkflowName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Get-PWWorkflowStateLinks.</maml:para> <maml:para>#Will return all state objects that are members of the specified workflow from current datasource.</maml:para> <maml:para>Get-PWWorkflowStateLinks -WorkflowName 'Default Workflow'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Remove-PWWorkflowStateLinks --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Remove-PWWorkflowStateLinks</command:name> <command:verb>Remove</command:verb> <command:noun>PWWorkflowStateLinks</command:noun> <maml:description> <maml:para>Removes the specified state from the specified workflow within the current datasource.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Remove-PWWorkflowStateLinks</maml:name> <!-- Parameter: WorkflowName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>WorkflowName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StateName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>StateName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: WorkflowName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>WorkflowName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StateName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>StateName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for Remove-PWWorkflowStateLinks.</maml:para> <maml:para>#Will return an updated array of state objects for the specified workflow within the current datasource.</maml:para> <maml:para>Remove-PWWorkflowStateLinks -Workflow 'Default Workflow' -StateName 'Review'</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-PWWorkflowWithStates --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-PWWorkflowWithStates</command:name> <command:verb>New</command:verb> <command:noun>PWWorkflowWithStates</command:noun> <maml:description> <maml:para>Creates new workflow and corresponding states in one cmdlet.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: WorkflowName --> <command:syntaxItem> <maml:name>New-PWWorkflowWithStates</maml:name> <!-- Parameter: WorkflowName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>WorkflowName</maml:name> <maml:description> <maml:para>Workflow Name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WorkflowDescription --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>WorkflowDescription</maml:name> <maml:description> <maml:para>Workflow Description (optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: States --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>States</maml:name> <maml:description> <maml:para>States to add (optional).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: WorkflowName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>WorkflowName</maml:name> <maml:description> <maml:para>Workflow Name (Required).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: WorkflowDescription --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>WorkflowDescription</maml:name> <maml:description> <maml:para>Workflow Description (optional).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: States --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>States</maml:name> <maml:description> <maml:para>States to add (optional).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Example usage for New-PWWorkflowWithStates.</maml:para> <maml:para>#Will create new workflow give name description and states.</maml:para> <maml:para>New-PWWorkflowWithStates -WorkflowName "New Workflow" -States "Initiate","Work in Progress","Check","Release"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-RandomString --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-RandomString</command:name> <command:verb>Get</command:verb> <command:noun>RandomString</command:noun> <maml:description> <maml:para>Get a random string of a given length. Default characters to be used are abcdefghijklmnopqrstuvwxyzABCEDEFGHIJKLMNOPQRUSTUVWXYZ1234567890 but can be changed by parameter -Characters</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-RandomString</maml:name> <!-- Parameter: Characters --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>Characters</maml:name> <maml:description> <maml:para>Characters to use for string generation.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890</dev:defaultValue> </command:parameter> <!-- Parameter: Length --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>Length</maml:name> <maml:description> <maml:para>Length of string to generate (Required).</maml:para> <maml:para>Array of System.Data.DataTable from the pipeline (Required).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Length --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>Length</maml:name> <maml:description> <maml:para>Length of string to generate (Required).</maml:para> <maml:para>Array of System.Data.DataTable from the pipeline (Required).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Characters --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>Characters</maml:name> <maml:description> <maml:para>Characters to use for string generation.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>Get-RandomString -Length 10 -Characters "abcdefghijklmnopqrstuvwxyz1234567890"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-TablesFromXLSXWorkbook --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-TablesFromXLSXWorkbook</command:name> <command:verb>Get</command:verb> <command:noun>TablesFromXLSXWorkbook</command:noun> <maml:description> <maml:para>Read a table-formatted XLSX workbook into an array of data tables.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-TablesFromXLSXWorkbook</maml:name> <!-- Parameter: InputFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>InputFileName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: DataTable[] --> <command:returnValue> <dev:type> <maml:name>System.Data.DataTable[]</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Read data tables from XLSX</maml:para> <maml:para>Get-TablesFromXLSXWorktook -InputFileName "c:\temp\datatables.xlsx"</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-XLSXWorkbook --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-XLSXWorkbook</command:name> <command:verb>New</command:verb> <command:noun>XLSXWorkbook</command:noun> <maml:description> <maml:para>Write an array of generic DataTables to an XLSX Workbook.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: InputTables --> <command:syntaxItem> <maml:name>New-XLSXWorkbook</maml:name> <!-- Parameter: InputTables --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputTables</maml:name> <maml:description> <maml:para>Array of System.Data.DataTable from the pipeline (Required).</maml:para> </maml:description> <command:parameterValue required="true">DataTable[]</command:parameterValue> <dev:type> <maml:name>System.Data.DataTable[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Output file name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Open --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Open</maml:name> <maml:description> <maml:para>Open created workbook in Excel.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputTables --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>InputTables</maml:name> <maml:description> <maml:para>Array of System.Data.DataTable from the pipeline (Required).</maml:para> </maml:description> <command:parameterValue required="true">DataTable[]</command:parameterValue> <dev:type> <maml:name>System.Data.DataTable[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>OutputFileName</maml:name> <maml:description> <maml:para>Output file name.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Open --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Open</maml:name> <maml:description> <maml:para>Open created workbook in Excel.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.Data.DataTable[]</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Array of System.Data.DataTable from the pipeline (Required).</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <maml:introduction> <maml:para>#Get a report of documents in the given folder tree and output to XLSX directly</maml:para> <maml:para>Get-PWDocumentReportDataTable -ProjectWiseFolder "PWPS\Projects 2\Project A" -Recurse -IncludeAuditTrail | New-XLSXWorkbook -OutputFileName c:\temp\tables.xlsx</maml:para> </maml:introduction> </command:example> </command:examples> </command:command> </helpItems> |