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.
This cmdlet returns a 32-bit signed number that uniquely identifies a geographical location.
Example 1: Display the GeoID for the current account