Set-WinHomeLocation
Sets the home location setting for the current user account.
Syntax
Default (Default)
Set-WinHomeLocation
[-GeoId] <Int32>
[<CommonParameters>]
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 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: Set the home location
PS C:\> Set-WinHomeLocation -GeoId 0xF4
This command sets the home location for the current user account to 0xF4 (hex) (United States).
Parameters
-GeoId
Specifies a GeoID setting.
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 0 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.