Set-WinHomeLocation
Applies To: Windows 8, Windows Server 2012
Set-WinHomeLocation
Sets the home location setting for the current user account.
Syntax
Parameter Set: Default
Set-WinHomeLocation [-GeoId] <Int32> [ <CommonParameters>]
Detailed Description
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.
Parameters
-GeoId<Int32>
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 |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
Examples
Example 1
This command sets the home location for the current user account to 0xF4 (hex) (United States).
PS C:\> Set-WinHomeLocation 0xF4