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


Get-WinHomeLocation [ <CommonParameters>]

Detailed 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.



This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.


The output type is the type of the objects that the cmdlet emits.

  • GeoID

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


Example 1: Display the GeoID for the current account

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

PS C:\> Get-WinHomeLocation

Related topics

Community Additions