< Back
Get-StorageFileServer
Post
NAME Get-StorageFileServer
SYNOPSIS
Gets a storage file server.
SYNTAX
Get-StorageFileServer [-CimSession <CimSession[]>] [-FriendlyName <String[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Get-StorageFileServer [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-UniqueId <String[]>] [<CommonParameters>]
Get-StorageFileServer [-CimSession <CimSession[]>] [-Subsystem <CimInstance>] [-ThrottleLimit <Int32>] [<CommonParameters>]
DESCRIPTION
The Get-StorageFileServer cmdlet gets the specified storage file server or all discovered storage file servers.
PARAMETERS
-CimSession [<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 [<String[]>]
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 [<CimInstance>]
Specifies the Storage subsystem.
Required? false
Position? named
Default value none
Accept pipeline input? true(ByValue)
Accept wildcard characters? false
-ThrottleLimit [<Int32>]
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 PowerShell???? 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 [<String[]>]
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
<CommonParameters>
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
SYNOPSIS
Gets a storage file server.
SYNTAX
Get-StorageFileServer [-CimSession <CimSession[]>] [-FriendlyName <String[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Get-StorageFileServer [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-UniqueId <String[]>] [<CommonParameters>]
Get-StorageFileServer [-CimSession <CimSession[]>] [-Subsystem <CimInstance>] [-ThrottleLimit <Int32>] [<CommonParameters>]
DESCRIPTION
The Get-StorageFileServer cmdlet gets the specified storage file server or all discovered storage file servers.
PARAMETERS
-CimSession [<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 [<String[]>]
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 [<CimInstance>]
Specifies the Storage subsystem.
Required? false
Position? named
Default value none
Accept pipeline input? true(ByValue)
Accept wildcard characters? false
-ThrottleLimit [<Int32>]
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 PowerShell???? 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 [<String[]>]
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
<CommonParameters>
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