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