Files
PowerShell/test/powershell/Modules/Microsoft.PowerShell.Diagnostics/Get-WinEvent.Tests.ps1
T
James Truher 9e225ccae2 changes tags for tests
Start using tags CI, Feature, Scenario
2016-07-27 12:06:51 -07:00

8 lines
217 B
PowerShell

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
}
}