The following Windows PowerShell commands delete the Deployment Workbench/Deployment Shares/Production/Applications/Adobe folder.

·      Add-PSSnapIn Microsoft.BDD.PSSnapIn

·      New-PSDrive -Name "DS002" -PSProvider MDTProvider -Root "D:\Production Deployment Share"

·      Remove-item -path "DS002:\Applications\Adobe" -Verbose

Note   The script will fail if the folder is not empty.

Related Topics

Using Windows PowerShell to Perform Common Tasks