July 2018
Beginner
552 pages
13h 18m
English
All event types that we explored in this section can also be used with remote systems. Events generated on those remote systems will be forwarded to the caller session to be further processed. With the Get-Event cmdlet, those can be retrieved and examined:
Register-CimIndicationEvent -Query "SELECT * FROM CIM_InstModification WITHIN 5 WHERE targetInstance ISA 'WIN32_Service'" `-SourceIdentifier CimServiceModified -Action $actionScript -ComputerName NODE01# Events created in the remote session are queued and can be# collected at the local sessionGet-Event -SourceIdentifier CimServiceModified

Using the same example with the additional ...
Read now
Unlock full access