Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Set-Date

Set-Date - Powershell 4.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Set-Date

Short description
Changes the system time on the computer to a time that you specify.

Syntax


Description
The Set-Date cmdlet changes the system date and time on the computer to a date and time that you specify. You can 
specify a new date and/or time by typing a string or by passing a DateTime or TimeSpan object to Set-Date. To specify 
a new date or time, use the Date parameter. To specify a change interval, use the Adjust parameter.