Abhängige Systemdienste ermitteln
Autor: Dr. Holger Schwichtenberg
(get-wmiObject win32service -filter "Name = 'iisadmin'").GetRelated($null,"Win32DependentService",$null,$null,$null,"Antecedent",$false,$null) | select name
([wmiSearcher]"Associators of {Win32Service.Name='iisadmin'} Where AssocClass=Win32DependentService Role=Antecedent").get()
Liste aller Codebeispiele Definition '.NET Framework Class Library' PowerShell Community Portal