例如,Get - Date命令表面上来看,只是简单的打印出当前的日期和时间,但实际上它返回的是一个DataTime类型的对象,这个对象是。NET框剪的一部分。
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.
返回格式化后的用于日志的当前日期和时间。
应用推荐