Moving Dynamic Software Categories

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


Examples:


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


Move the Dynamic Software Category named "Adobe Reader" from the container "Global Software Library\Application Library\Adobe" into the container "Global Software Library\Application Library" using the method MoveTo():


$MySwCategory = Get-EmdbSoftwareCategory "emdb:\rootDSE\Global Software Library\Application Library\Adobe\Adobe Reader"

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

$MySwCategory.MoveTo($MyDestinationFolder)


Move the Dynamic Software Category named "Office Packages" from the container "Global Software Library\Application Library\Microsoft" into the container "Global Software Library\Application Library" using the cmdlet Move-Item:


Move-Item -Path "emdb:\rootDSE\Global Software Library\Application Library\Microsoft\Office Packages" -Destination "emdb:\rootDSE\Global Software Library\Application Library"