Not sure why it's taken me so long to find this page, but you should really use information here to flesh out the Get-Event online help for the PowerShell cmdlets.Get-Event -Critera 'Number=4729'$EventID = 4729Get-Event -Criteria "Number=$($EventID)"Get-Event -Criteria 'LoggingComputer=Server01" |where-object {$_.LevelID -eq 8}Just a couple of examples, using the information from this page.
↧