Moving Software Folders
Moving Software Folders
Moves the specified Software Folder object into the given target container.
Examples:
Hint: The execution of these examples requires a connected PowerShell drive. |
Move the Software Folder named "Published Apps" from the container "Global Software Library\Application Library\Citrix" into the container "Global Software Library\Citrix Library" using the method MoveTo():
$MySwFolder = Get-EmdbSoftwareFolder "emdb:\rootDSE\Global Software Library\Application Library\Citrix\Published Apps" $MyDestinationFolder = Get-EmdbSoftwareFolder "emdb:\rootDSE\Global Software Library\Citrix Library" $MySwFolder.MoveTo($MyDestinationFolder) |
Move the Software Folder named "Published Desktops" from the container "Global Software Library\Application Library\Citrix" into the container "Global Software Library\Citrix Library" using the cmdlet Move-Item:
Move-Item -Path "emdb:\rootDSE\Global Software Library\Application Library\Citrix\Published Desktops" -Destination "emdb:\rootDSE\Global Software Library\Citrix Library" |