Skip to content

Instantly share code, notes, and snippets.

@gaelcolas
Last active Jul 11, 2016
Embed
What would you like to do?
Pester sample test
Describe 'checking File Exists' {
it 'Should resolve to C:\WinOps.txt' {
{ Resolve-Path C:\WinOps.txt -ErrorAction Stop } | should not Throw
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment