Edit

Share via


Get-IscsiTargetServerSetting

Gets the global settings or common configurations for iSCSI target, virtual disk or snapshots.

Syntax

Default (Default)

Get-IscsiTargetServerSetting
    [-ComputerName <String>]
    [-Credential <PSCredential>]
    [<CommonParameters>]

Description

The Get-IscsiTargetServerSetting cmdlet gets the global settings or common configurations for iSCSI targets, virtual disks or snapshots.

Examples

Example 1: Get portal entries for the local computer

PS C:\> Get-IscsiTargetServerSetting
ComputerName                            Version                                 Portals
------------                            -------                                 -------
fssvr.contoso.com                       6.3.9600                                {+172.21.0.1:3260, ...

This example gets all of the portal entries of the local server.

Parameters

-ComputerName

Specifies the computer name, or IP address, of the remote computer, if this cmdlet is run on a remote computer.

Specifies the cluster resource group network name, or cluster node name, if this cmdlet is run on a cluster configuration.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Credential

Specifies the credentials when connecting to a remote computer.

Parameter properties

Type:PSCredential
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

None