手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

如何设定Powershell输出日期的格式

时间:2024-10-20 03:40:58

1、打开Windows Powershell程序窗口;

如何设定Powershell输出日期的格式

2、我们准备查询日期,所以使用 get-date 指令;

如何设定Powershell输出日期的格式

3、设定日期格式参数 -format ;

如何设定Powershell输出日期的格式

4、设定需要的日期格式 yy-mm-dd;

如何设定Powershell输出日期的格式

5、点击回车后,自动输入相应格式的日期;

如何设定Powershell输出日期的格式

6、我们再来演示输入一个其他格式的日期。

如何设定Powershell输出日期的格式
© 手抄报圈