PowerShell Logo Small

Set-IscsiTargetServerSetting



This is the built-in help made by Microsoft for the command 'Set-IscsiTargetServerSetting', 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.

SYNOPSIS

Sets the global settings or common configurations for an iSCSI target virtual disk.

SYNTAX


Set-IscsiTargetServerSetting [-ComputerName <String>] [-Credential <PSCredential>] [-PassThru] -DisableRemoteManagement <Boolean> [<CommonParameters>]
Set-IscsiTargetServerSetting [-IP] <String> [-ComputerName <String>] [-Credential <PSCredential>] [-Enable <Boolean>] [-PassThru] [-Port <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-IscsiTargetServerSetting cmdlet sets the global settings or common configurations for an iSCSI target.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=294087
Set-IscsiTargetServerSetting

REMARKS

<

Examples


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.