Get-SmbServer

SYNOPSIS

Gets details of the SMB servers on a PowerStore cluster.

SYNTAX

Get-SmbServer [-Cluster] <Cluster> [[-Id] <String[]>] [<CommonParameters>]

DESCRIPTION

Gets details of the SMB servers on a PowerStore cluster. The options include listing all SMB servers on the cluster, getting SMB servers by ID.

In this command, SMB server is corresponding to the related CIFS resource in Unisphere REST API.

EXAMPLES

Example 1

PS C:\> Get-SmbServer -Cluster $cluster

Where $cluster is a PowerStore cluster instance. Returns a list of all SMB servers on the PowerStore cluster.

Example 2

PS C:\> Get-SmbServer -Cluster $cluster -Id id1,id2

Where $cluster is a PowerStore cluster instance. Returns SMB servers with IDs id1 and id2 on the PowerStore cluster.

PARAMETERS

-Cluster

The PowerStore cluster instance.

Type: Cluster
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Id

The SMB server ID.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

CommonParameters

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

INPUTS

Dell.PowerStore.Management.Model.Cluster

System.String[]

OUTPUTS

Dell.PowerStore.Management.Model.SmbServer

NOTES