For example, the Get-Date command on the surface may appear to just print out the current date and time. But in fact, it returns an object of type DateTime, which is part of the.net framework.
例如,Get - Date命令表面上来看,只是简单的打印出当前的日期和时间,但实际上它返回的是一个DataTime类型的对象,这个对象是。NET框剪的一部分。
We use the sleep command to cause a delay for two seconds, and use the date command to print the current date and time.
我们使用sleep命令将显示推迟两秒,然后使用date命令打印当前的日期和时间。
Can print out the test date, time and set the display value.
可打印出测试日期、时间及显示器设定显示值。
应用推荐