This is the built-in help made by Microsoft for the command 'Set-InitiatorPort', in PowerShell version 3 - as retrieved from
Windows version 'Microsoft Windows Server 2012 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.
Sets properties on the InitiatorPort object.
Set-InitiatorPort [-NodeAddress] <String[]> [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-PassThru [<SwitchParameter>]]
[-ThrottleLimit <Int32>] -NewNodeAddress <String> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Set-InitiatorPort [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-PassThru [<SwitchParameter>]] [-ThrottleLimit <Int32>]
-NewNodeAddress <String> -ObjectId <String[]> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Set-InitiatorPort [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-PassThru [<SwitchParameter>]] [-ThrottleLimit <Int32>]
-InputObject <CimInstance[]> -NewNodeAddress <String> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
The Set-InitiatorPort cmdlet sets properties on the InitiatorPort object.
<
<
Example 1: Change the node address
PS C:\> $address = (Get-InitiatorPort)
PS C:\> $address | Select NodeAddress
NodeAddress
-----------
iqn.1991-05.com.contoso:test-pc2.contoso.com
PS C:\> Set-InitiatorPort -NodeAddress $address.NodeAddress -NewNodeAddress "iqn.test2"
This example uses a node address from the Get-InitiatorPort cmdlet as input.