Open
Conversation
Ghufz
reviewed
Apr 9, 2026
| $Organization1 = Get-IntersightOrganizationOrganization -Name "test_new_org" -Account $Account1 | ||
| $Catalog1 = Get-IntersightSoftwarerepositoryCatalog -Name "user-catalog" -Organization $Organization1 | ||
| $FirmwareDistributable = New-IntersightFirmwareDistributable -Name "ucsc-845a-m8-huu-2.0.1.250000D" -ImportAction "None" -SupportedModels @("CAI-845A-M8") -Version "-" -Origin "User" -Source $Source1 -Catalog $Catalog1 | ||
| $Organization2 = Get-IntersightOrganizationOrganization -Name "test_new_org" -Account $Account1 |
Collaborator
There was a problem hiding this comment.
why to call $organization2 when we have already $organization1
|
|
||
| $Source1 = Initialize-IntersightSoftwarerepositoryNfsServer -FileLocation "10.xx.xx.xx/shared/ucsc-845a-m8-huu-2.0.1.250000D.iso" -ObjectType "SoftwarerepositoryNfsServer" | ||
| $Account1 = Get-IntersightIamAccount -Name "my-account" | ||
| $Organization1 = Get-IntersightOrganizationOrganization -Name "test_new_org" -Account $Account1 |
Collaborator
There was a problem hiding this comment.
why to provide $account1 any specific region because API key is generated for account and it works within account boundry
| $ValidInstallTarget = New-IntersightOsValidInstallTarget -Servers @($Servers11) | ||
| $OsSupport = New-IntersightOsOsSupport -OsVersion "ESXi 8.0" | ||
| $Account1 = Get-IntersightIamAccount -Name "my-account" | ||
| $Organization1 = Get-IntersightOrganizationOrganization -Name "Org-Auto-8332" -Account $Account1 |
Collaborator
There was a problem hiding this comment.
do you need to pass account to get account?
please add comment before the main cmdlet operation so that user can read and understand it
| $IpV4Config31 = Initialize-IntersightCommIpV4Interface -ObjectType "CommIpV4Interface" -Gateway "" -IpAddress "" -Netmask "" | ||
| $IpConfiguration31 = Initialize-IntersightOsIpv4Configuration -ObjectType "OsIpv4Configuration" -IpV4Config $IpV4Config31 | ||
| $Answers31 = Initialize-IntersightOsAnswers -ObjectType "OsAnswers" -Hostname "google" -IpConfigType "DHCP" -IpConfiguration $IpConfiguration31 -IsRootPasswordCrypted $false -Nameserver "" -NetworkDevice "" -ProductKey "" -Source "Template" -RootPassword "123456" | ||
| $Organization4 = Get-IntersightOrganizationOrganization -Moid "5da9f0b76972652d30b3bae7" |
Collaborator
There was a problem hiding this comment.
What do we receive for the organization when using the Moid? Will it work the same way in the customer environment? How should customers determine whether they need to provide the $organization1 Moid or the $organization4 Moid?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding examples.