I run the script and get the following errors... is there something i need to install....
I've also ran the set-executionpolicy to unrestricted... not sure why its prompting...
Security Warning
Run only scripts that you trust. While scripts from the Internet can be useful, this script can potentially harm your
computer. Do you want to run c:\scripts\HealthCheck1-7.ps1?
Do not run Run once Suspend Help (default is "D"): r
Add-PSSnapin : No Windows PowerShell Snap-ins are available for version 1.
At c:\scripts\HealthCheck1-7.ps1:39 char:13
+ Add-PSsnapin <<<< VMware.VimAutomation.Core
The term 'Initialize-VIToolkitEnvironment.ps1' is not recognized as a cmdlet, function, operable program, or script fil
e. Verify the term and try again.
At c:\scripts\HealthCheck1-7.ps1:40 char:36
+ Initialize-VIToolkitEnvironment.ps1 <<<<
The term 'connect-VIServer' is not recognized as a cmdlet, function, operable program, or script file. Verify the term
and try again.
At c:\scripts\HealthCheck1-7.ps1:41 char:17
+ connect-VIServer <<<< $vcserver -port $portvc
The term 'get-view' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try
again.
At c:\scripts\HealthCheck1-7.ps1:48 char:22
+ $vcversion = get-view <<<< serviceinstance
The term 'get-vm' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try ag
ain.
At c:\scripts\HealthCheck1-7.ps1:49 char:15
+ $snap = get-vm <<<< | get-snapshot