This is the built-in help made by Microsoft for the command 'Set-IscsiTargetServerSetting', 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 the global settings or common configurations for an iSCSI target virtual disk.
Set-IscsiTargetServerSetting [-IP] <String> [-ComputerName <String>] [-Enable <Boolean>] [-PassThru [<SwitchParameter>]] [-Port <Int32>]
[<CommonParameters>]
The Set-IscsiTargetServerSetting cmdlet sets the global settings or common configurations for an iSCSI target.
<
<
EXAMPLE 1
PS C:\> Set-IscsiTargetServerSetting -IP 1.1.1.1 -Port 3200
This example sets the target portal with the IP address 1.1.1.1 to use port number3200 (where the default is port number 3260).
EXAMPLE 2
PS C:\> Set-IscsiTargetServerSetting -IP 1.1.1.1 -Enable $false
This example disables the target portal with the IP address 1.1.1.1.
EXAMPLE 3
PS C:\> Set-IscsiTargetServerSetting -IP 1.1.1.1 -Port 3200 -Enable $true
This example enables the target portal with the IP address 1.1.1.1 and changes the port number to 3200.