< Back
Get-PFGameSessionHost
Post
NAME Get-PFGameSessionHost
SYNOPSIS
Gets the session hosts for a build
SYNTAX
Get-PFGameSessionHost -BuildName <String> -Region {EastUs | CentralUs | WestUs | NorthEurope | WestEurope}
[<CommonParameters>]
Get-PFGameSessionHost -BuildName <String> -AllRegions [<CommonParameters>]
DESCRIPTION
Gets the game session hosts for a build and specified region
PARAMETERS
-BuildName <String>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Region
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AllRegions [<SwitchParameter>]
Required? true
Position? named
Default value False
Accept pipeline input? false
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 --------------------------
PS C:\\>Get sessions hosts from a specific build in East US
$Region = [PlayFab.EntityModels.AzureRegion]::EastUS
$Name = "ZIP_AllocationTest"
Get-PFGameSessionHost -BuildName $Name -Region $Region
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get sessions hosts from a specific build across all regions
$Name = "ZIP_AllocationTest"
Get-PFGameSessionHost -BuildName $Name -AllRegions
RELATED LINKS
SYNOPSIS
Gets the session hosts for a build
SYNTAX
Get-PFGameSessionHost -BuildName <String> -Region {EastUs | CentralUs | WestUs | NorthEurope | WestEurope}
[<CommonParameters>]
Get-PFGameSessionHost -BuildName <String> -AllRegions [<CommonParameters>]
DESCRIPTION
Gets the game session hosts for a build and specified region
PARAMETERS
-BuildName <String>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Region
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AllRegions [<SwitchParameter>]
Required? true
Position? named
Default value False
Accept pipeline input? false
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 --------------------------
PS C:\\>Get sessions hosts from a specific build in East US
$Region = [PlayFab.EntityModels.AzureRegion]::EastUS
$Name = "ZIP_AllocationTest"
Get-PFGameSessionHost -BuildName $Name -Region $Region
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get sessions hosts from a specific build across all regions
$Name = "ZIP_AllocationTest"
Get-PFGameSessionHost -BuildName $Name -AllRegions
RELATED LINKS