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

Set-WinHomeLocation

Last Updated: 3/8/2017

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 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.

Type: Int32
Parameter Sets: (All)
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

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

NOTES

RegionInfo.GeoId Property

Get-WinHomeLocation

© 2017 Microsoft