Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 windows azure powershell 查找系统时间?我只想要时间,它应该是 24 小时格式。我已经尝试过 get-date 和 [system.datetime]::现在我只想要时间。我不想约会。
尝试这个:
Get-Date -Format "HH:mm"
HH 是 24 小时,hh 是 12 小时。