NAME

Set-DcsInitiatorNodeName

SYNOPSIS

Changes the name of the Microsoft iSCSI Initiator port on a server.

SYNTAX

Set-DcsInitiatorNodeName   -Port <Object>   -Name <String>   [ -Server <String> ]   [ -Connection <String> ]   [ -PipelineVariable <String> ]

DESCRIPTION

Changes the name of the Microsoft iSCSI Initiator port on a server. The name is also known as the IQN.

PARAMETERS

-Port<Object>
The ScsiPortData object, name, ID, or address of the Microsoft iSCSI Initiator port. In order to uniquely identify the port by name, the server must be specified.

Required: true
Position: 1
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-Name<String>
The new name (IQN) for the Microsoft iSCSI Initiator port. All letters must be entered in lowercase.

Required: true
Position: 2
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-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: 3
Default value:
Accept pipeline input: false
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

OUTPUTS

ScsiPortData : Object that identifies and describes the initiator port.

NOTES

Also see Set-DcsiSCSIInitiatorSecret.

EXAMPLES


-------------- Example 1 Changes the name by passing the object --------------
$port = Get-DcsPort -Machine SSV3 | ? { $_.Portmode -eq "initiator" }
Set-DcsInitiatorNodeName -Port $port -Name ssv3initiator
			

The cmdlet Get-DcsPort is invoked to get the SCSIPortData object for the initiator port on machine "SSV3". The object is stored in the variable $port.
The cmdlet Set-DcsInitiatorNodeName is invoked with the Port parameter value passed in the variable $port and the new name of "ssv3initiator". The new name (IQN) must be entered in lowercase.


InitiatorPortals:{fe80::e169:3c7b:3385:164, fe80::28ac:ee4a:8125:4b71,
fe80::835:d773:fc7f:fa16, fe80::35bb:6ee9:b2cf:1b93...}
iSnsServer:{}
TargetPortals:{DataCore.Executive.iScsiTargetPortalData}
PresenceStatus:Present
PhysicalName:MSFT-05-1991
ServerPortProperties:DataCore.Executive.ServerPortPropertiesData
RoleCapability:Backend, Mirror
AluaId:0
PortName:ssv3initiator
Alias:Microsoft iSCSI Initiator
Description:
PortType:iSCSI
PortMode:Initiator
HostId:84736D42-1CDC-438E-9C35-8CBAC6015E7F
Connected:True
Sequencenumber:877
Id:ab8750ef-9743-49ea-a62b-2a2a782f9275
Caption:Microsoft iSCSI Initiator
ExtendedCaption:Microsoft iSCSI Initiator on SSV3
Internal:False