How do I include computername in output
PS newbe here...
How do I get the remote computer name to appear in the output?
$computer = "PC3090-121","APCD02"
gwmi win32_printer -computername $computer | select %computername%,
name,local | ft -a
I've tried including -computername, computername, %computername% in the
Select and format-table -properties - no joy...
My searches have come up empty, or I couldn't understand them.
No comments:
Post a Comment