I'm trying to start multiple services using :
Get-Service SERVICE* | Start-Service
When Get-Service returns services that are disabled, I run into the following error :
+ CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service],
ServiceCommandException
+ FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand
How do I filter out the services that are disabled ?