You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (-not ($oModuleInfo-is [System.Management.Automation.PSModuleInfo])) {Throw"Could not load module '$strNameOfModuleToTest' -- is it available in the PSModulePath? You can manually load the module and start tests again"}
8
+
} ## end if
9
+
Write-Verbose-Verbose ("Starting testing of module '{0}' (version '{1}' from '{2}')"-f$oModuleInfo.Name,$oModuleInfo.Version,$oModuleInfo.Path)
10
+
11
+
## ensure that this session is connected to at least one vCenter server (prompt to do so if not already connected)
## does the array of names of NoteProperties in the set of return objects have only the values expected for return objects? (does the comparison of the arrays return no difference objects?)
## does the array of names of NoteProperties in the set of return objects have only the values expected for return objects? (does the comparison of the arrays return no difference objects?)
Copy file name to clipboardExpand all lines: vNugglets.Utility/vNuggletsUtilityMod_functions.ps1
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -799,7 +799,7 @@ function Connect-VNVIServer {
799
799
Function to use for connecting to VIServers instead of the default "Connect-VIServer" cmdlet -- includes call to function to update PowerShell window's title bar with the VIServer(s) to which the current session has connections
if (-not (Test-Connection-Quiet -Count 2$strVIServerToWhichToConnect)) {Write-Warning"server at '$strVIServerToWhichToConnect' not reachable; not trying to connect"}
826
826
else {$strVIServerToWhichToConnect}
@@ -854,11 +854,11 @@ function Disconnect-VNVIServer {
854
854
#>
855
855
param (
856
856
## Name(s) of the VIServers from which to disconnect. Accepts wildcards. Disconnects from all VIServer if none specified here.
0 commit comments