cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
205
Views
5
Helpful
4
Replies
Highlighted

"New-HXRunbook Cmdlet" in Cisco Hyperflex

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 :

 

Install-Module -Name Cisco.HXPowerCLI
 

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 !!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

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.

ise hxmod.JPG

 

Kirk...

View solution in original post

4 REPLIES 4
Highlighted
Cisco Employee

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

 

Highlighted

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 :

https://www.cisco.com/c/en/us/td/docs/hyperconverged_systems/HyperFlex_HX_DataPlatformSoftware/HyperFlex_PowerShell_Toolkit/4_0/b_Cisco_HyperFlex_PowerShell_Cmdlets_for_Disaster_Recovery_4_0/b_Cisco_HyperFlex_PowerShell_Cmdlets_for_Disaster_Recovery_...

 

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

Highlighted

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.

ise hxmod.JPG

 

Kirk...

View solution in original post

Highlighted

yes I see that in ISE.

 

Thank you for the help