Skip to content

Opening a KVM session from the API #178

Closed
@pinguinfuss

Description

@pinguinfuss

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions