Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Hyper-V Integration Services
1.0
2017-12-12
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
6200
File | Description |
---|---|
check_is_hv.ps1 | check_is_hv.ps1 |
check_is_hv.ps1 | If VM Version has newer than Version on Host Version result is ok |
Usage:
check_is_hv.ps1 -V NameOfVM -U DomainAdminUser -P DomainAdminPassword
Checkcommand:
check_is_hv=cmd /c echo scriptscheck_is_hv.ps1 -V $ARG1$ -U $ARG2$ -P $ARG3$; exit $LastExitCode | powershell.exe -command -
Output: Name of Hyper-V Host of the VM and Update required or not
Description:
At first the Script reads VM's Registry to find the parent Hyper-V Host. Then it checks the installed IS on the Hyper-V Host and the installed IS on the VM.
Username and Password is needed to connect the hosts powershell.
Script is tested on Windows 2012 R2 Hyper-V Hosts and OS of VM's could be Windows 2003 -> Windows 2016.
check_is_hv.ps1 -V NameOfVM -U DomainAdminUser -P DomainAdminPassword
Checkcommand:
check_is_hv=cmd /c echo scriptscheck_is_hv.ps1 -V $ARG1$ -U $ARG2$ -P $ARG3$; exit $LastExitCode | powershell.exe -command -
Output: Name of Hyper-V Host of the VM and Update required or not
Description:
At first the Script reads VM's Registry to find the parent Hyper-V Host. Then it checks the installed IS on the Hyper-V Host and the installed IS on the VM.
Username and Password is needed to connect the hosts powershell.
Script is tested on Windows 2012 R2 Hyper-V Hosts and OS of VM's could be Windows 2003 -> Windows 2016.
Reviews (0)
Be the first to review this listing!