Renaming Static Patch Categories

Renames the specified Static Patch Category object.


Hint: The execution of these examples requires a connected PowerShell drive.

Rename the Static Patch Category named "Desktop Publishing" from the "Patch Library" to the new name  "Graphics Software" through setting the name property and a subsequent call to the method Update():

$MyPatchCategory = Get-EmdbPatchCategory "emdb:\rootDSE\Global Software Library\Patch Library\Desktop Publishing"

$MyPatchCategory.Name = "Graphics Software"


Rename the Static Patch Category named "Viewer" to the new name "File-Viewer" using the cmdlet Rename-Item:

Cd "emdb:\rootDSE\Global Software Library\Patch Library"

Rename-Item "Viewer" -NewName "File-Viewer"