Set-WinHomeLocation
Applies To: Windows 8, Windows Server 2012
Sets the home location setting for the current user account.
Parameter Set: Default
Set-WinHomeLocation [-GeoId] <Int32> [ <CommonParameters>]
The Set-WinHomeLocation cmdlet sets the value of the user GeoID object. The Windows GeoID setting is a user setting that describes the home location (that is, the country or region) of the current user account. Applications that require the current user account’s home location, such as a driver for a television tuner application, can use this setting.
A table of GeoIDs is available at Table of Geographical Locations.
A 32-bit signed number that uniquely identifies a geographical location.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
This command sets the home location for the current user account to 0xF4 (hex) (United States).
PS C:\> Set-WinHomeLocation 0xF4