mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
8 lines
217 B
PowerShell
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
|
|
}
|
|
}
|