Set-WinHomeLocation

Set-WinHomeLocation

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.

パラメーター

-GeoID<Int32>

A 32-bit signed number that uniquely identifies a geographical location.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

Example 1

This command sets the home location for the current user account to 0xF4 (hex) (United States).

PS C:\> Set-WinHomeLocation 0xF4

関連トピック

Get-WinHomeLocation

RegionInfo.GeoId Property