Get-WinHomeLocation

Get-WinHomeLocation

Gets the Windows GeoID home location setting for the current user account.

構文

Get-WinHomeLocation [ <CommonParameters>]

詳細説明

The Get-WinHomeLocation cmdlet gets the value of the user GeoID setting and returns a .NET GeoID object. The Windows GeoID setting is a user setting that describes the home location (that is, the country or region) of the current user account. Applications that require the current user account’s home location, such as a driver for a television tuner application, can use this setting.

A table of GeoIDs is available at Table of Geographical Locations.

パラメーター

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • GeoID

    A 32-bit signed number that uniquely identifies a geographical location.

Example 1

This command returns the GeoID setting and its display name for the current user account.

PS C:\> Get-WinHomeLocation

関連トピック

Set-WinHomeLocation

RegionInfo.GeoId Property