Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New-RubrikHyperVVMMount automatically powers on VMs - Need to update documentation #756

Closed
mwpreston opened this issue May 7, 2021 · 0 comments · Fixed by #762
Closed
Assignees
Labels

Comments

@mwpreston
Copy link
Contributor

Current Behavior:

Currently running the New-RubrikHyperVVMMount cmdlet will always power on VMs by automatically - this is the direct opposite of what the examples and documentation says.

IE,

The documentation states that running

Get-RubrikHyperVVM VMName | Get-RubrikSnapshot -Latest | New-RubrikHyperVVMMount will create a live mount which is powered on - even though the body doesn't contain the poweredon: true stanza

It says to have it powered on you need to run

Get-RubrikHyperVVM VMName | Get-RubrikSnapshot -Latest | New-RubrikHyperVVMMount -PowerOn

This adds the poweredon: true stanza to the body and it powers the VM on

The only way to Live Mount with the VM powered off is to run
Get-RubrikHyperVVM VMName | Get-RubrikSnapshot -Latest | New-RubrikHyperVVMMount -PoweredON:$false

The documentation and examples should be updated to reflect this as it states the opposite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant