You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the Export-RubrikVM cmdlet the VMs power on even if you do NOT pass the -PowerOn switch. Looking at the help it appears this switch is incorrectly set with a default of true. This means if you don't pass the switch the VM Powers On and if you do pass the switch the VM Powers On. There is no way to ensure the VM doesn't Power On.
-PowerOn [<SwitchParameter>]
Whether the VM should be powered on after restoration. Default is true.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? False
Expected Behavior:
It is expect if you do not pass the switch -PowerOn then the VM will not Power On after it has been exported.
Steps to Reproduce:
Please provide detailed steps for reproducing the issue.
Use the cmdlet Export-RubrikVM without adding the -PowerOn switch and you will see the VM still powers on.
Context:
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Rubrik PowerShell Module Version: Use Get-Module -ListAvailable Rubrik
PowerShell Version: Use $PSVersiontable.PSVersion
Operating System: Use $PSVersiontable.PSVersion on PowerShell 6 and later, use (Get-WMIObject win32_operatingsystem).Name for Windows PowerShell
Please include any relevant log snippets or files here, IMPORTANT all information will be visible publicly on GitHub. Do not include computer or user names, passwords, API tokens or any identifiable information when submitting failure logs.
The text was updated successfully, but these errors were encountered:
Current Behavior:
When using the Export-RubrikVM cmdlet the VMs power on even if you do NOT pass the -PowerOn switch. Looking at the help it appears this switch is incorrectly set with a default of true. This means if you don't pass the switch the VM Powers On and if you do pass the switch the VM Powers On. There is no way to ensure the VM doesn't Power On.
Expected Behavior:
It is expect if you do not pass the switch -PowerOn then the VM will not Power On after it has been exported.
Steps to Reproduce:
Please provide detailed steps for reproducing the issue.
Context:
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Get-Module -ListAvailable Rubrik
$PSVersiontable.PSVersion
$PSVersiontable.PSVersion
on PowerShell 6 and later, use(Get-WMIObject win32_operatingsystem).Name
for Windows PowerShellRubrik PowerShell Module Version: 5.0.1
PowerShell Version: 5 1 18362 628
OS System: 5 1 18362 628
Failure Logs
Please include any relevant log snippets or files here, IMPORTANT all information will be visible publicly on GitHub. Do not include computer or user names, passwords, API tokens or any identifiable information when submitting failure logs.
The text was updated successfully, but these errors were encountered: