PowerShell Scripts - on Date and Time
PowerShell - To Get System Date
Command - Get-Date is used to get the current date.
PowerShell - To Get System Time
Command - Get-Date -DisplayHint Time is used to get the current system time
PowerShell - To Set System Time
Command - set-date adjust $timeToAdd is used to set time as required.
PowerShell - To Set System Date
Command - Set-Date is used to set system Date
Comments
Post a Comment