[lang-ref] ( get_command_standard_output ) ( powershell )
It 'should get command standard output' {
# $output = command
$output = findstr "127.0.0.1" C:\Windows\System32\drivers\etc\hosts
$output | Should -Match "127.0.0.1"
}
It 'should get command standard output' {
# $output = command
$output = findstr "127.0.0.1" C:\Windows\System32\drivers\etc\hosts
$output | Should -Match "127.0.0.1"
}