Skip to content

Instantly share code, notes, and snippets.

Last active Jul 11, 2016
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