Dynamische Software-Kategorien verschieben

Verschiebt das angegebene dynamische Software-Kategorie-Objekt in den angegebenen Ziel-Container.


Beispiele:


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


Verschieben der dynamischen Software-Kategorie "Adobe Reader" aus dem Container "Global Software Library\Application Library\Adobe" nach "Global Software Library\Application Library" mit Hilfe der MoveTo()-Methode:


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


Verschieben der dynamischen Software-Kategorie "Office Packages" aus dem Container "Global Software Library\Application Library\Microsoft" nach "Global Software Library\Application Library" mit Hilfe des Move-Item Cmdlets:


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