Change the TimeZone (between IST & PST) of your local machine by using the below PowerShell script.
[CmdletBinding()]
Param
(
[Parameter(Mandatory=$true)]
[string] $TimeZone
)
if ($TimeZone -eq "PST")
{
Set-TimeZone -Name "Pacific Standard Time"
}
else
{
Set-TimeZone -Name "India Standard Time"
}
Get-TimeZone
Comments
Post a Comment