Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-WinHomeLocation

Brian Lich|Last Updated: 3/8/2017

SYNOPSIS

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

SYNTAX

Get-WinHomeLocation [<CommonParameters>]

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.

PARAMETERS

CommonParameters

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

INPUTS

OUTPUTS

GeoID

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

NOTES

RegionInfo.GeoId Property

Set-WinHomeLocation

© 2017 Microsoft