Renaming Static Software Categories
Renaming Static Software Categories
Renames the specified Static Software Category object.
Examples:
Hint: The execution of these examples requires a connected PowerShell drive. |
Rename the Static Software Category named "Desktop Publishing" from the "Global Software Library" to the new name "Graphics Software" through setting the name property and a subsequent call to the method Update():
$MySwCategory = Get-EmdbSoftwareCategory "emdb:\rootDSE\Global Software Library\Desktop Publishing" $MySwCategory.Name = "Graphics Software" $MySwCategory.Update() |
Rename the Static Software Category named "Viewer" to the new name "File-Viewer" using the cmdlet Rename-Item:
Cd "emdb:\rootDSE\Global Software Library" Rename-Item -Path "Viewer" -NewName "File-Viewer" |