Get-IscsiTargetServerSetting

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

Syntax

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.

Optional 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.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Credential

Specifies the credentials when connecting to a remote computer.

Type:PSCredential
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Inputs

None

Outputs

None