📅  最后修改于: 2022-03-11 14:56:52.291000             🧑  作者: Mango
PS C:\> get-wmiobject win32_service -computername (get-content Computers.txt) -filter "Name='dhcp'" |
select-object __SERVER,Name,DisplayName,State |
export-csv Results.csv -notypeinformation