Skip to Main Content
Need Support? Let’s guide you to the right answer or agent.
Status Needs review
Created by Guest
Created on Dec 18, 2025

Add cmdlets to delivered pwps module for managing documents, Folders, WorkAreas and Flat Sets

To support administrators working in organizations with high security requirements it would be good if the delivered pwps module was extended to handle the management of Documents, Folders, Work Areas and Flat Sets.

This has come up due to having to work in an environment where dll's and executables that are downloaded from public repositories and unknown/trusted sources are not allowed and all code/scripts need to be sign with trusted certificates.

As a suggestion the following table of cmdlets would make life a lot easier.

Object

Verb

Param Sets

Sugested cmdlet

Comments

Document

New

New-PWDocument

Get

-URN

-GUID

-ID

-Folder

-Path

Get-PWDocument

Return a document object or array of document objects that meet the criteria

Update

-Document

Update-PWDocument

Write the Document object back after modifying its properties

Find

Find-PWDocument

Search for a document using some basic criteria such as name, description

Remove

-Document

Remove-PWDocument

Delete a document

Folder

New

-Folder

-Path

New-PWFolder

Get

-URN

-GUID

-ID

-Folder

-Path

Get-PWFolder

Return a Folder object or array of folder objects

Update

Update-PWFolder

Write folder object back after modifying its properties

Add

-Folder

-FolderName

Add-PwChildFolder

Add a child folder of the specified name and description or by copying the details from another folder

Move

Move-Folder

Move a folder to a new parent folder

Switch

Switch-PWFolderToWorkArea

Upgrade a folder to a Work Area

Remove

-Folder

Remove-PWChildFolder

Remove-PWFolder

Remove a folder

WorkArea

New

New-PWWorkArea

Create a new work area folder

Get

-Folder

-Path

Get-PWWorkArea

Return the owing work area

Set

-WorkAreaType

Set-PWWorkAreaType

Set the work area type

Switch

Switch-WorkAreaToFolder

Rever a work area back to a plane folder

Update

Update-PWWorkArea

Write changes to the Work Are properties

FlatSet

New

New-FlatSet

Create a new flat set

Add

Add-FlatSetMember

Add a document to a flat set

Remove

-Document

Remove-FlatSetMember

Remove a document from a flat set

Get

-Document

-Folder

-Path

Get-FlatSet

Return a flat set or Array of flat sets