Skip to content

Struggling with Syntax #96

Closed
Closed
@tbrock47

Description

@tbrock47

I'm really struggling with the Intersight PowerShell syntax after working with UCSM and VMware for so long.
It just does not seem very intuitive.

I'm really trying to perform a simple task right now by requesting a server profile by name, and retrieving all of its assigned vNICs/vHBAs (a laughably simple task in UCSM).

For example, just trying to pull the WWPNs from a server profile with Get-IntersightVnicFcIf is proving overly complicated. I can't even seem to pass the correct information to the -Profile parameter on some of these commands.
Should it not work as simple as this?

$ServerProfile = Get-IntersightServerProfile -Name ProfileName
$VnicFcIf = Get-IntersightVnicFcIf -Profile $ServerProfile

I'm also not used to the json style payloads that are loaded into these properties.
And why does "ActualInstance" even exist. All these nested properties are unnecessarily complicated.
If I expand $intersightVnicFcIf.WwpnPool, then take me straight to the "ActualInstance"...
And what's with "AdditionalProperties"? Why does that even exist. Just put ALL the properties in the object...

I'm no schema architect by any means, just a heavy user, and this is just not user friendly whatsoever, so much so that I guarantee I'm not the only one with these same opinions.

Sorry for venting, but it really shouldn't be this hard to transition from the UCSPowertool.

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