摘要:
使用Format命令格式化powershell输出,常用的命令如下: Format-Wide:每个对象仅有一个属性值被显示。默认情况下输出默认属性,也可以通过指定-Property参数来输出其他属性 例如: Get-Process -Name powershell|Format-Wide Get-P 阅读全文
posted @ 2020-08-19 15:18
会飞的老虎
阅读(2186)
评论(0)
推荐(0)
摘要:
将以下脚本通过组策略设置为用户登录ps1脚本 (hostname) + ' ' + (get-wmiobject -class win32_computersystem).username >> \\fileserver\user.csv 网络路径最好是任何用户可写 同样的方法,以下脚本可以获取计算 阅读全文
posted @ 2020-08-19 11:20
会飞的老虎
阅读(2297)
评论(0)
推荐(0)

浙公网安备 33010602011771号