Gets the Windows GeoID home location setting for the current user account.
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.
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.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
This cmdlet returns a 32-bit signed number that uniquely identifies a geographical location.