Skip to content

Unable to Set-IntersightConfiguration in the same session with PowerCLI loaded #203

@wgjhstt247

Description

@wgjhstt247

Describe the bug
When the latest version of Intersight.powershell is loaded in the same powershell session as PowerCLI modules, Set-IntersightConfiguration fails. Loading both modules in the same session is a requirement for our company. I don't have administrative rights to perform local powershell remoting.
Image

Image Image

To Reproduce
Run this (replacing <config_here> with the real configuration)

Import-Module VMware.Vim
Import-Module Intersight.Powershell
$config = @{ <config_here> }
Set-IntersightConfiguration @config

Version used
See description

Expected behavior
I expect Set-IntersightConfiguration to succeed.

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