#Is there any cmdlet in the powershell toolkit to perform Async delete?

1 messages · Page 1 of 1 (latest)

cedar maple
#

I am looking for a powershell way to run some vol file async deletes. basically we had to flexclone some vols with several shares on them and are splitting to get to 1 share per volume so after the split I need to remove the directories that are now on the other volumes.

sick helm
#

Well, the command doesn't have an async option...

PS C:\Windows\system32> Get-Command -Syntax Remove-NcFile

Remove-NcFile [-Path] <string> [-VserverContext <string>] [-Controller <NcController[]>] [-ZapiCall] [-WhatIf] [-Confirm] [-ZapiRetryCount <int>] [<CommonParameters>]

PS C:\Windows\system32>
#

PowerShell ForEach-Object Parallel Feature PowerShell 7.0 Preview 3 is now available with a new ForEach-Object Parallel Experimental feature. This feature is a great new tool for parallelizing work, but like any tool, it has its uses and drawbacks. This article describes this new feature,