2014-04-09 16:30:17 +00:00
|
|
|
# Include the following modules
|
|
|
|
$Dir = Split-Path $script:MyInvocation.MyCommand.Path
|
|
|
|
. ([System.IO.Path]::Combine($Dir, "utils\write_messages.ps1"))
|
|
|
|
|
2017-08-08 17:00:29 +00:00
|
|
|
$check = $(-Not (-Not (Get-Command "Hyper-V\Get-VMSwitch" -errorAction SilentlyContinue)))
|
2014-04-09 16:30:17 +00:00
|
|
|
$result = @{
|
|
|
|
result = $check
|
|
|
|
}
|
|
|
|
|
|
|
|
Write-Output-Message $(ConvertTo-Json $result)
|