Get-Date |
Demande la date |
---|---|
PowerShell |
Syntaxe
Get-Date [[-Date] DateTime] [-Year Int32] [-Month Int32] [-Day Int32] [-Hour Int32] [-Minute Int32] [-Second Int32] [-Millisecond Int32] [-DisplayHint DisplayHintType] [-Format String] [-AsUTC] [CommonParameters] |
Get-Date [[-Date] DateTime] [-Year Int32] [-Month Int32] [-Day Int32] [-Hour Int32] [-Minute Int32] [-Second Int32] [-Millisecond Int32] [-DisplayHint DisplayHintType] -UFormat String [CommonParameters] |
Get-Date -UnixTimeSeconds Int64 [-Year Int32] [-Month Int32] [-Day Int32] [-Hour Int32] [-Minute Int32] [-Second Int32] [-Millisecond Int32] [-DisplayHint DisplayHintType] [-Format String] [-AsUTC] [CommonParameters] |
Description
Cette commande permet de demander la date et l'heure courante.
Dernière mise à jour : Mardi, le 12 Janvier 2021