Windows PowerShell command on Get-command Get-StorageFileServer
MyWebUniversity

Windows PowerShell command on Get-command Get-StorageFileServer

NAME

Get-StorageFileServer

SYNOPSIS

Gets a storage file server.

SYNTAX

Get-StorageFileServer [-CimSession ] [-FriendlyName ] [-ThrottleLimit ]

[]

Get-StorageFileServer [-CimSession ] [-ThrottleLimit ] [-UniqueId ]

[]

Get-StorageFileServer [-CimSession ] [-Subsystem ] [-ThrottleLimit ]

[]

DESCRIPTION

The Get-StorageFileServer cmdlet gets the specified storage file server or all discovered storage file servers.

PARAMETERS

-CimSession []

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such

as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local

computer. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-FriendlyName []

Specifies an array of friendly names of file servers. Some servers may assign a default friendly name that users cannot modify. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-Subsystem []

Specifies the Storage subsystem. Required? false Position? named Default value none Accept pipeline input? true(ByValue) Accept wildcard characters? false

-ThrottleLimit []

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShellr calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-UniqueId []

Specifies an array of unique IDs of file servers. Required? false Position? named Default value none

Accept pipeline input? true(ByPropertyName)

Accept wildcard characters? false This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

Example 1: Get all file servers

PS C:\>Get-StorageFileServer

This command gets all file servers known by the current system.

Example 2: Get a file server by name

PS C:\>Get-StorageFileServer -StorageFileServerFriendlyName "MyFileServer" | Format-List

This command gets the file server named MyFileServer and uses the pipeline to send it to Format-List, which

displays its properties.

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=816403

New-StorageFileServer

Remove-StorageFileServer

Set-StorageFileServer



Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 OurUNIX.com ™