Software-Ordner verschieben

Verschiebt den angegebene Software-Ordner in den angegebenen Ziel-Container.


Beispiele:


Hinweis: Voraussetzung für die Beispiele ist ein verbundenes PowerShell-Laufwerk.


Verschieben des Software-Ordners "Published Apps" aus dem Container "Global Software Library\Application Library\Citrix" nach "Global Software Library\Citrix Library" mit Hilfe der MoveTo()-Methode:


$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)


Verschieben des Software-Ordners "Published Desktops" aus dem Container "Global Software Library\Application Library\Citrix" nach "Global Software Library\Citrix Library" mit Hilfe des Move-Item Cmdlets:


Move-Item -Path "emdb:\rootDSE\Global Software Library\Application Library\Citrix\Published Desktops" -Destination "emdb:\rootDSE\Global Software Library\Citrix Library"