Moving Static Software Categories

Moves the specified Static Software Category object into the given target container.


Examples:


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


Move the Static Software Category named "Office 14" from the container "Global Software Library\Application Library\Microsoft" into the container "Global Software Library\Application Library" using the method MoveTo():


$MySwCategory = Get-EmdbSoftwareCategory "emdb:\rootDSE\Global Software Library\Application Library\Microsoft\Office 14"

$MyDestinationFolder = Get-EmdbSoftwareFolder "emdb:\rootDSE\Global Software Library\Application Library"

$MySwCategory.MoveTo($MyDestinationFolder)


Move the Static Software Category named "System-Tools" from the container "Global Software Library" into the container "Global Software Library\Application Library" using the cmdlet Move-Item:


Move-Item -Path "emdb:\rootDSE\Global Software Library\System-Tools" -Destination "emdb:\rootDSE\Global Software Library\Application Library"