Get-WinHomeLocation and Write a registry string value to a specified location using PowerShell

M

MujahithMuzamil

Hi,im trying to detect the current windows home location and write a new string value in the Registry for a specified location using a Power Shell Script. Scenario is as below1. i use Get-WinHomeLocation to get the result and result will be below GeoId HomeLocation ----- ------------ 42 Sri Lanka 2. I want to match the Geoid = 42 and Write a new registry string as "Country" mention the value as "LK"3. same commands need to be included to all the available countries.Please help me on thisRegardsMujahith

Continue reading...
 
Back
Top Bottom