Editar

Compartilhar via


Get-WinHomeLocation

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

Syntax

Get-WinHomeLocation []

Description

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 of the current user account. A home location is the country or region. Applications that require the home location of the current user account, such as a driver for a television tuner application, can use this setting.

For a table of GeoIDs, see Table of Geographical Locations.

Examples

Example 1: Display the GeoID for the current account

PS C:\> Get-WinHomeLocation
HomeLocation     Description
----             -----------
244              United States

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

Outputs

GeoID

This cmdlet returns a 32-bit signed number that uniquely identifies a geographical location.