hello, I run this command for a remote computer :
Get-WmiObject -computer $srv -Class Win32_LogicalDisk –filter "DriveType=3"
this command works great, but I have a problem to run this command for instance name.
I know that there is parmater called -namespace. but I need to tun this command for both
computer and instance name.
mybe, someone know any command or paramater that work for both.
thank's, kln