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

Opening a KVM session from the API #178

Open
pinguinfuss opened this issue Dec 9, 2024 · 0 comments
Open

Opening a KVM session from the API #178

pinguinfuss opened this issue Dec 9, 2024 · 0 comments

Comments

@pinguinfuss
Copy link

pinguinfuss commented Dec 9, 2024

Describe the bug
I'm trying to open a KVM session (like doing Server actions > Launch vKVM from Intersight) through PowerShell.
However New-IntersightKvmSession complains, that "create operation is not allowed using an API key, use a valid user session".
How would I go about doing that? The "documentation" sadly isn't really helping

To Reproduce

# Connect to Intersight CVA
# Get server profile ref
$ServerProfileRef = Get-IntersightServerProfile -Name 'some-profile'
# Get ComputeBlade
$server = Get-IntersightComputeBlade -Moid $ServerProfileRef.AssignedServer.ActualInstance.Moid

# Now start the KVM
New-IntersightKvmSession -Server $server

Version used

  • Intersight PowerShell Module version? 1.0.11.17956
  • Intersight Appliance Version (if using an Intersight Appliance as target) 1.1.1-0

Expected behavior
The ability to open the vKVM through PowerShell

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

No branches or pull requests

1 participant