How do I get the current date and time in PowerShell? · Pass the variable to the Get-Date cmdlet: Get-Date -Format "HH:mm" $date. · Use toString() ...
確定! 回上一頁