Reply to Message

View discussion in a popup

Replying to:
Sam239
Contributor
Contributor

Hi

Found that the issue was I was running the below command from my management server not in an invoke command

Ive now added it to my script

Get-WmiObject -Class Win32_SystemDriver -Filter "name='vsepflt'" | Select Caption

Is there a way to format the output ? Or query it so if the driver is found I can print success or not found not found ? Im looking to wrap an if command round it to run through several machines

Reply
0 Kudos