This is the built-in help made by Microsoft for the command 'Remove-IscsiVirtualDiskTargetMapping', 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.
Removes the assignment between the specified iSCSI virtual disk and the specified iSCSI target.
Remove-IscsiVirtualDiskTargetMapping [-TargetName] <String> [-Path] <String> [-ComputerName <String>] [-Credential <PSCredential>] [<CommonParameters>]
The Remove-IscsiVirtualDiskTargetMapping cmdlet removes the assignment between a virtual disk and an iSCSI target. The virtual disk will no longer be accessible by an iSCSI
initiator once the assignment is removed.
<
Online Version: http://go.microsoft.com/fwlink/?LinkID=294084
Add-IscsiVirtualDiskTargetMapping
<
EXAMPLE 1
PS C:\> Remove-IscsiVirtualDiskTargetMapping -TargetName "TargetOne" –Path "E:\temp\vhd1.vhdx"
This example un-assigns, or disassociates, the virtual disk at E:\temp\vhd1.vhdx from the target named TargetOne. Use Add-IscsiVirtualDiskTargetMapping to assign the virtual
disk to an iSCSI target before it can be used by an iSCSI initiator.