Renaming Dynamic Patch Categories

Renames the specified Dynamic Software Category object.


Examples:


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


Rename the Dynamic Patch Category named "Microsoft Software" to the new name "Microsoft Patches" through setting the name property and a subsequent call to the method Update():


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

$MyPatchCategory.Name = "Microsoft Patches"

$MyPatchCategory.Update()


Rename the Dynamic Patch Category named "Acrobat Reader" to the new name  "Adobe Reader" using the cmdlet Rename-Item:


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

Rename-Item "Acrobat Reader" -NewName "Adobe Reader"