Added two pester tests for Get-VMCCommand and Connect-VMCVIServer.

This commit is contained in:
Conor Tolan
2019-02-18 21:57:52 +00:00
parent 71915cde79
commit f9ca007ae5
4 changed files with 84 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
#Requires -Modules Pester
function defParam($command, $name) {
It "Has a -$name parameter" {
$command.Parameters.Item($name) | Should Not BeNullOrEmpty
}
}