PowerShell Logo Small


This is the built-in help made by Microsoft for the command 'Stop-IscsiVirtualDiskOperation', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.


Stops a long-running operation in progress on an iSCSI virtual disk.


Stop-IscsiVirtualDiskOperation [-Path] <String> [-ComputerName <String>] [-Credential <PSCredential>] [<CommonParameters>]
Stop-IscsiVirtualDiskOperation [-ComputerName <String>] [-Credential <PSCredential>] -InputObject <IscsiVirtualDisk> [<CommonParameters>]

Search powershellhelp.space


The Stop-IscsiVirtualDiskOperation cmdlet stops a long-running operation in progress on an iSCSI virtual disk. If you cancel an operation, it is possible that the operation
completes before the cancelation takes effect. Always re-enumerate or recheck objects affected by an operation after this cmdlet finishes.

Stopping a create operation can remove a created file, or can leave the file intact but not completely zero it out.

After you stop an operation, the size of an existing file to be increased can appear larger until the next time you restart the iSCSI service, restart the disk, or disable
and re-enable the disk. Some data can be lost.

If you stop an operation, the virtual disk may be in an inconsistent state, and require a new rollback.

This cmdlet accepts values for the ComputerName and Path parameters by using as pipeline input the InputObject parameter.



Online Version: http://go.microsoft.com/fwlink/?LinkID=294090




Example 1: Stop a virtual disk operation

PS C:\>Stop-IscsiVirtualDiskOperation -Path "D:\VirtualDisk09"

This command stops an operation in progress on the virtual disk at the specified location.