< Back
Set-WinHomeLocation
Post
NAME Set-WinHomeLocation
SYNOPSIS
Sets the home location setting for the current user account.
SYNTAX
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 (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.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Example 1
PS C:\\>Set-WinHomeLocation 0xF4
This command sets the home location for the current user account to 0xF4 (hex) (United States).
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/p/?linkid=287350
RegionInfo.GeoId Property
Get-WinHomeLocation
SYNOPSIS
Sets the home location setting for the current user account.
SYNTAX
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 (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.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Example 1
PS C:\\>Set-WinHomeLocation 0xF4
This command sets the home location for the current user account to 0xF4 (hex) (United States).
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/p/?linkid=287350
RegionInfo.GeoId Property
Get-WinHomeLocation