Renaming Software Folders

Renames the specified Software Folder object.


Examples:


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


Rename the Software Folder named "Nico Mak Computing" to the new name "WinZip Computing" through setting the name property and a subsequent call to the method Update():


$MySwFolder = Get-EmdbSoftwareFolder "emdb:\rootDSE\Global Software Library\Application Library\Nico Mak Computing"

$MySwFolder.Name = "WinZip Computing"

$MySwFolder.Update()


Rename the Software Folder named "DSM" to the new name "FrontRange Solutions" using the cmdlet Rename-Item:


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

Rename-Item -Path "DSM" -NewName "FrontRange Solutions"