NAME
Remove-DcsAccessToken
SYNOPSIS
Removes an access token from an iSCSI Initiator for an iSCSI target port on the server.
SYNTAX
Remove-DcsAccessToken [ -Server <String> ] -Port <String> -AccessToken <Object> [ -Connection <String> ] [ -PipelineVariable <String> ]
DESCRIPTION
Removes an access token from an iSCSI Initiator for an iSCSI target port on the server.
PARAMETERS
- -Server<String>
- Computer name or ID of the server. The computer name must be unique or the name must be fully qualified.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -Port<String>
- Name or ID of the iSCSI target port on the server. In order to uniquely identify the port by name, the server must be specified.
-
- Required: true
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -AccessToken<Object>
- The initiator node name that the access token belongs to. The access token can be retrieved from the AccessToken object or the SCSIPortData object for the iSCSI target (Server iSCSI Port Data). See Get-DcsPorts for the iSCSI target. (Refer to the field iSCSINodes, each node has an access token).
-
- Required: true
- Position: named
- Default value:
- Accept pipeline input: true (ByValue)
- Accept wildcard characters: false
-
- -Connection<String>
- Alias of the connection to the server group. If not specified, the default connection is used.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -PipelineVariable<String>
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
INPUTS
AccessToken : Object that identifies and describes the access token.
OUTPUTS
ScsiPortData : Object that identifies and describes the port.
NOTES
See Add-DcsAccessToken, Set-DcsAccessTokenProperties.
EXAMPLES
Remove-DcsAccessToken -Server SSV1 -Port "Server iSCSI Port 1" -AccessToken "Microsoft iSCSI Initiator"
Removes the access token for the initiator named "Microsoft iSCSI Initiator" on the port named "Server iSCSI Port 1" on the server "SSV1".
IdInfo | : | DataCore.Executive.iSCSI.iScsiPortIdInfo |
PortConfigInfo | : | DataCore.Executive.iSCSI.PortConfigInfo |
IScsiPortStateInfo | : | DataCore.Executive.iSCSI.iScsiPortStateInfo |
iSCSINodes | : | {microsoft iscsi initiator, iqn.1991-05.com.microsoft:ssv2.datacoresoftware.com} |
CapabilityInfo | : | DataCore.Executive.iSCSI.iScsiPortCapabilityInfo |
PresenceStatus | : | Present |
PhysicalName | : | MAC:00-15-5D-11-E9-0F |
ServerPortProperties | : | DataCore.Executive.ServeriScsiPortPropertiesData |
RoleCapability | : | Frontend, Mirror |
PortName | : | iqn.2000-08.com.datacore:ssv1-1 |
Alias | : | Server iSCSI Port 1 |
Description | : | |
PortType | : | iSCSI |
PortMode | : | Target |
HostId | : | 84972D6B-7E71-4616-BDA1-57ECEAF3FFC4 |
Connected | : | True |
Id | : | 84972D6B-7E71-4616-BDA1-57ECEAF3FFC4:MAC:00-15-5D-11-9-0F |
Caption | : | Server iSCSI Port 1 |
ExtendedCaption | : | Server iSCSI Port 1 on SSV1 |
Internal | : | False |