查询msft_providers
Get-WmiObject msft_providers | select provider
获得进程
$dscProcessID = Get-WmiObject msft_providers | Where-Object {$_.provider -like 'dsc*'} | Select-Object -ExpandProperty HostProcessIdentifier
Get-Process -Id $dscProcessID
Get-WmiObject msft_providers | select provider
$dscProcessID = Get-WmiObject msft_providers | Where-Object {$_.provider -like 'dsc*'} | Select-Object -ExpandProperty HostProcessIdentifier
Get-Process -Id $dscProcessID