3
1
How to run this command in silent mode?
wmic service where name='HomeGroupListener' call ChangeStartmode Disabled
3
1
How to run this command in silent mode?
wmic service where name='HomeGroupListener' call ChangeStartmode Disabled
0
wmic doesn't have a silent switch.
However, you can use redirection to send an errors and output to nul:
wmic service where name='HomeGroupListener' call ChangeStartmode Disabled >nul 2>&1