Hello All,
I want to automate HX replication and VM restoration process. I have installed the respective package in powershell by running the following command :
It installs the package successfully but does not show me HXRunbook cmdlets.
It does not give any output when i run the following command :
get-module -name Cisco.Runbook
My power shell version is 5.1 , Can anyone point out if i am missing anything ?
Thanks in advance !!
Solved! Go to Solution.
It lists that as a function vs a cmdlet:
PS C:\Windows\system32> new-HXRunbook -recoveryMode TestRecovery -ProtectedSiteClusterIP
Sometimes using the Windows ISE and import-Module Cisco.HXPowerCLI , the GUI gives a fairly nice list of parameters.
Kirk...
Greetings.
Assuming you have run: Import-Module Cisco.HXPowerCLI
You can run: Get-Command -Module Cisco.HXPowerCLI
with output like:
CommandType Name Version Source
----------- ---- ------- ------
Function Get-HXJsonConfig 4.0.2.2 Cisco.HXPowerCLI
Function New-HXRunbook 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Add-HXProtectedVMToGroup 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Connect-HXCluster 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Disconnect-HXCluster 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Get-HXCluster 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Get-HXJobStatus 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Get-HXProtectedVM 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Get-HXProtectionGroup 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Get-HXTaskStatus 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Invoke-HXFailover 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Invoke-HXMigrate 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Invoke-HXPrepareFailover 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Invoke-HXPrepareGroupMigrate 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Invoke-HXPrepareGroupRecovery 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Invoke-HXPrepareReverseProtect 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Invoke-HXReverseProtect 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Invoke-HXTestFailover 4.0.2.2 Cisco.HXPowerCLI
Cmdlet New-HXProtectionGroup 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Protect-HXVM 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Remove-HXProtectedVMFromGroup 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Remove-HXProtectionGroup 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Unprotect-HXVM 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Wait-HXJob 4.0.2.2 Cisco.HXPowerCLI
Cmdlet Wait-HXTask 4.0.2.2 Cisco.HXPowerCLI
Thank you for your reply.
Yes i get the same output as yours but i want to leverage New-HXRunbook cmdlet which is mentioned in cisco document :
I don't see this cmdlet in the package , can you please confirm if you see that or I am missing something.
Thanks in advance
It lists that as a function vs a cmdlet:
PS C:\Windows\system32> new-HXRunbook -recoveryMode TestRecovery -ProtectedSiteClusterIP
Sometimes using the Windows ISE and import-Module Cisco.HXPowerCLI , the GUI gives a fairly nice list of parameters.
Kirk...
yes I see that in ISE.
Thank you for the help