Files
PowerShell/test/powershell/Modules/Microsoft.PowerShell.Diagnostics/Get-WinEvent.Tests.ps1
T

7 lines
217 B
PowerShell
Raw Normal View History

2016-07-25 14:01:41 -07:00
Describe 'Get-WinEvent' -Tags "CI" {
# Get-WinEvent works only on windows
It 'can query a System log' -Skip:(-not $IsWindows) {
Get-WinEvent -LogName System -MaxEvents 1 | Should Not Be $null
}
}