Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Cmdlet listing services' "manufacturer"

$
0
0

Is there a way to list the services’ manufacturer in powershell in a similar format ?

I could come this far. However, this doesn’t work for all the services

foreach ($item in get-wmiobject win32_service) 
           {Write-Host 
                $Item.Name,'
                $item.StartMode,$item.State,'
                $(get-childitem -path ($item.pathname -replace '"','' )|'

                     select-object -expand VersionInfo | '

                     select-object -expand CompanyName -ErrorAction Stop)
             }

Viewing all articles
Browse latest Browse all 13067

Trending Articles