### Example Intersight PowerShell Cmdlet Execution Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/New-IntersightOsBulkInstallInfo.md This PowerShell example demonstrates the basic execution of the 'New-IntersightOsBulkInstallInfo' cmdlet. It serves as a starting point for creating new Intersight OS bulk installation information objects. ```powershell PS C:\> New-IntersightOsBulkInstallInfo ``` -------------------------------- ### PowerShell: Example Usage of Set-IntersightVirtualizationVmwareVirtualSwitch Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Set-IntersightVirtualizationVmwareVirtualSwitch.md Demonstrates a basic example of how to use the Set-IntersightVirtualizationVmwareVirtualSwitch cmdlet. This example does not specify any parameters and serves as a starting point for further configuration. ```powershell PS C:\> Set-IntersightVirtualizationVmwareVirtualSwitch ``` -------------------------------- ### Set-IntersightVirtualizationVmwareVirtualNetworkInterface PowerShell Example Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Set-IntersightVirtualizationVmwareVirtualNetworkInterface.md This example demonstrates the basic usage of the Set-IntersightVirtualizationVmwareVirtualNetworkInterface cmdlet. It does not take any specific parameters in this simple form but serves as a starting point for more complex configurations. ```powershell PS C:\> Set-IntersightVirtualizationVmwareVirtualNetworkInterface ``` -------------------------------- ### Create Workflow WorkflowInfo (PowerShell Example) Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/New-IntersightWorkflowWorkflowInfo.md Example of how to initiate the creation of a WorkflowInfo object using the New-IntersightWorkflowWorkflowInfo cmdlet. This is a basic command to start the process. ```powershell PS C:\> New-IntersightWorkflowWorkflowInfo ``` -------------------------------- ### Example Usage of Initialize-IntersightVirtualizationVmwareRemoteDisplayInfo Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightVirtualizationVmwareRemoteDisplayInfo.md This example demonstrates the basic invocation of the Initialize-IntersightVirtualizationVmwareRemoteDisplayInfo cmdlet without any parameters. It serves as a starting point for creating a VirtualizationVmwareRemoteDisplayInfo object in the PowerShell session. ```powershell PS C:\> Initialize-IntersightVirtualizationVmwareRemoteDisplayInfo ``` -------------------------------- ### Initialize Intersight Fcpool Pool Example Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightFcpoolPool.md Provides an example of initializing an Intersight Fcpool Pool using the Initialize-IntersightFcpoolPool cmdlet. This is a basic usage example to get started with Fcpool Pool management. ```powershell PS C:\> Initialize-IntersightFcpoolPool ``` -------------------------------- ### Example PowerShell Command Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/New-IntersightPartnerintegrationFile.md Provides a basic example of how to initiate the creation of a partner integration file using the New-IntersightPartnerintegrationFile cmdlet. Further details on usage and parameters would typically follow. ```powershell ### Example 1 ```powershell PS C:\> New-IntersightPartnerintegrationFile ``` { Add example description here } ``` -------------------------------- ### PowerShell: Get Intersight Chassis Profile Template Example Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Set-IntersightChassisProfileTemplate.md This snippet demonstrates a basic example of how to use the Set-IntersightChassisProfileTemplate cmdlet in PowerShell. It serves as a starting point for users to interact with Intersight's chassis profile management functionalities. Further customization would involve specifying parameters relevant to the desired configuration. ```powershell PS C:\> Set-IntersightChassisProfileTemplate { Add example description here } ``` -------------------------------- ### Initialize-IntersightKubernetesVirtualMachineNodeProfile Example Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightKubernetesVirtualMachineNodeProfile.md An example demonstrating the usage of the Initialize-IntersightKubernetesVirtualMachineNodeProfile cmdlet. ```APIDOC ## Initialize-IntersightKubernetesVirtualMachineNodeProfile Example ### Description This example shows how to initialize the KubernetesVirtualMachineNodeProfile object. ### Method Cmdlet Initialization ### Endpoint N/A (Cmdlet operation) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```powershell PS C:\> Initialize-IntersightKubernetesVirtualMachineNodeProfile ``` ### Response #### Success Response (200) Returns an initialized KubernetesVirtualMachineNodeProfile object. #### Response Example ```json { "example": "Initialized KubernetesVirtualMachineNodeProfile object" } ``` ``` -------------------------------- ### Remove WorkflowCustomDataTypeDefinition via Pipelining Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Remove-IntersightWorkflowCustomDataTypeDefinition.md This example demonstrates piping the output of Get-IntersightWorkflowCustomDataTypeDefinition to the Remove-IntersightWorkflowCustomDataTypeDefinition cmdlet. This allows for the removal of resources based on criteria specified in the Get cmdlet, such as by name. The Intersight PowerShell module must be installed and configured. ```powershell Get-IntersightWorkflowCustomDataTypeDefinition -Name "MoName" | Remove-IntersightWorkflowCustomDataTypeDefinition ``` -------------------------------- ### POST /api/v1/os/OsBulkInstallInfo Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/New-IntersightOsBulkInstallInfo.md Creates a new 'OsBulkInstallInfo' resource. This is used to initiate bulk operating system installations on servers. ```APIDOC ## POST /api/v1/os/OsBulkInstallInfo ### Description Creates a new 'OsBulkInstallInfo' resource. This resource is used to manage the bulk installation of operating systems on multiple servers, allowing for configuration through a CSV file. ### Method POST ### Endpoint /api/v1/os/OsBulkInstallInfo ### Parameters #### Request Body - **ConfigurationFile** (OsConfigurationFileRelationship) - Optional - A reference to a osConfigurationFile resource. When the $expand query parameter is specified, the referenced resource is returned inline. - **FileContent** (string) - Optional - The content of the entire CSV file is stored as value. The content can hold complete OS install parameters in two sections. The first section holds generic information about the OS Install like OS Image, SCU Image etc. The second section holds parameters which are specific to each server level data. - **Name** (string) - Required - The name of the CSV file, which holds the OS install parameters. - **Organization** (OrganizationOrganizationRelationship) - Optional - A reference to a organizationOrganization resource. - **OsImage** (SoftwarerepositoryOperatingSystemFileRelationship) - Optional - A reference to a softwarerepositoryOperatingSystemFile resource. - **ScuImage** (FirmwareServerConfigurationUtilityDistributableRelationship) - Optional - A reference to a firmwareServerConfigurationUtilityDistributable resource. - **Servers** (Array) - Optional - An array of relationships to computePhysical resources. - **AdditionalProperties** (Object) - Optional - Key-value pairs for additional properties. - **Tags** (Array) - Optional - List of tags to be applied to the resource. - **ValidationInfos** (Array) - Optional - Information about validation performed on the resource. ### Request Example ```json { "Name": "os-install-config.csv", "FileContent": "OS_IMAGE=default/ubuntu-20.04.iso\nSCU_IMAGE=default/dell-idrac-4.0.iso\nSERVER_1_HOSTNAME=server1.example.com\nSERVER_1_IP=192.168.1.10\nSERVER_1_USERNAME=admin\nSERVER_1_PASSWORD=password", "OsImage": { "Moid": "60f1b2b3c4d5e6f7a8b9c0d1" }, "Servers": [ { "Moid": "60f1b2b3c4d5e6f7a8b9c0d2" } ] } ``` ### Response #### Success Response (200) - **Moid** (string) - The unique identifier of the created OsBulkInstallInfo resource. - **Name** (string) - The name of the OsBulkInstallInfo resource. - **Status** (string) - The current status of the bulk OS installation. #### Response Example ```json { "Moid": "60f1b2b3c4d5e6f7a8b9c0d3", "Name": "os-install-config.csv", "Status": "Initiated" } ``` ``` -------------------------------- ### Remove Intersight IamOAuthToken via Pipeline Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Remove-IntersightIamOAuthToken.md This example demonstrates piping the output of Get-IntersightIamOAuthToken to the Remove-IntersightIamOAuthToken cmdlet. This allows for the removal of tokens based on criteria specified in the Get cmdlet, such as by name. The Intersight.PowerShell module must be installed and configured. ```powershell Get-IntersightIamOAuthToken -Name "MoName"| Remove-IntersightIamOAuthToken ``` -------------------------------- ### Example Usage of Initialize-IntersightVirtualizationVmwareTeamingAndFailover Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightVirtualizationVmwareTeamingAndFailover.md This example demonstrates the basic usage of the Initialize-IntersightVirtualizationVmwareTeamingAndFailover cmdlet. Further details on its specific inputs and outputs would be required for a complete understanding of its functionality. ```powershell PS C:\> Initialize-IntersightVirtualizationVmwareTeamingAndFailover ``` -------------------------------- ### Initialize FabricSwitchClusterProfileTemplate - PowerShell Example Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightFabricSwitchClusterProfileTemplate.md This example demonstrates the basic initialization of the FabricSwitchClusterProfileTemplate cmdlet. It requires no specific parameters to start. ```powershell PS C:\> Initialize-IntersightFabricSwitchClusterProfileTemplate ``` -------------------------------- ### Set-IntersightIamIpAddress Example Usage Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Set-IntersightIamIpAddress.md A basic example demonstrating how to call the Set-IntersightIamIpAddress cmdlet. This example serves as a starting point for users to update IamIpAddress resources. More complex examples would involve specifying parameters like Address and Description. ```powershell PS C:\> Set-IntersightIamIpAddress ``` -------------------------------- ### Initialize-IntersightBootPxe Cmdlet Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightBootPxe.md Documentation for the Initialize-IntersightBootPxe cmdlet, detailing its parameters and usage. ```APIDOC ## Initialize-IntersightBootPxe ### Description Initializes a new instance of the BootPxe object. ### Method POST (Implied, as cmdlets often map to API POST operations) ### Endpoint /ciscodevnet/intersight-powershell/Initialize-IntersightBootPxe (Hypothetical Endpoint based on cmdlet name) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body - **Slot** (string) - Required: False - The slot ID of the adapter on which the underlying virtual ethernet interface is present. Supported values are ( 1 - 255, "MLOM", "L", "L1", "L2", "OCP"). - **Json** (SwitchParameter) - Required: False - Returns the json payload received in response. - **WithHttpInfo** (SwitchParameter) - Required: False - Returns the HTTP response with headers and content. ### Request Example ```powershell Initialize-IntersightBootPxe -Slot "MLOM" ``` ### Response #### Success Response (200) - **Output** (TestModule.FavoriteStuff) - The result of the cmdlet operation. #### Response Example ```json { "message": "BootPxe object initialized successfully." } ``` ### Common Parameters Supports common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. ### Example 1 ```powershell PS C:\> Initialize-IntersightBootPxe ``` ### Inputs System.Int32 System.String ### Outputs TestModule.FavoriteStuff ### Related Links about_CommonParameters ``` -------------------------------- ### Cmdlet Examples Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightCapabilityEquipmentPhysicalDef.md Provides examples of how to use the Intersight PowerShell cmdlets. ```APIDOC ## EXAMPLES ### Example 1 ```powershell PS C:\> Initialize-IntersightCapabilityEquipmentPhysicalDef ``` { Add example description here } ``` -------------------------------- ### Initialize-IntersightOsBulkInstallInfo Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightOsBulkInstallInfo.md Initializes a new instance of the OsBulkInstallInfo class. This cmdlet is used to create or configure OS bulk installation information. ```APIDOC ## Initialize-IntersightOsBulkInstallInfo ### Description Initializes a new instance of the OsBulkInstallInfo class. ### Method Cmdlet ### Endpoint N/A (Cmdlet) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body - **ScuImage** (Model.FirmwareServerConfigurationUtilityDistributableRelationship) - A reference to a firmwareServerConfigurationUtilityDistributable resource. Optional. - **Servers** (System.Collections.Generic.List[Model.ComputePhysicalRelationship]) - An array of relationships to computePhysical resources. Optional. - **Tags** (System.Collections.Generic.List[Model.MoTag]) - Tags to associate with the resource. Optional. - **ValidationInfos** (System.Collections.Generic.List[Model.OsValidationInformation]) - Validation information for the OS installation. Optional. #### Switch Parameters - **Json** (SwitchParameter) - Returns the json payload received in response. Optional. - **WithHttpInfo** (SwitchParameter) - Returns the HTTP response with headers and content. Optional. ### Request Example ```powershell # Example of initializing with parameters (parameters would be detailed if known) Initialize-IntersightOsBulkInstallInfo -ScuImage $scuImageRef -Servers $serverRefs -Tags $tagList -ValidationInfos $validationList ``` ### Response #### Success Response (200) This cmdlet typically returns a newly created or initialized object of type `Model.OsBulkInstallInfo`. #### Response Example ```json { "@odata.type": "#os.BulkInstallInfo", "AccountMoid": "5e7f1c8d2e5f4b0018b31e91", "CreateTime": "2023-01-01T10:00:00Z", "DomainGroupMoid": "5e7f1c8d2e5f4b0018b31e92", "ModTime": "2023-01-01T10:00:00Z", "Moid": "63b2f4e01322320018d4a1b3", "Owners": [ "5e7f1c8d2e5f4b0018b31e91" ], "RegisteredDeviceMoid": "5e7f1c8d2e5f4b0018b31e93", "ScuImage": { "Moid": "63b2f4e01322320018d4a1b4", "ObjectType": "firmware.ServerConfigurationUtilityDistributable", "Selector": "SCU_Image_v1.0" }, "Servers": [ { "Moid": "63b2f4e01322320018d4a1b5", "ObjectType": "compute.Physical", "Selector": "server-01" } ], "SharedScope": "Tenant", "Tags": [ { "Key": "environment", "Value": "production" } ], "ValidationInfos": [ { "OsName": "CentOS 7", "ValidationStatus": "Passed" } ], "UserPolicies": null } ``` ### CommonParameters - Debug - ErrorAction - ErrorVariable - InformationAction - InformationVariable - OutBuffer - OutVariable - PipelineVariable - Verbose - WarningAction - WarningVariable ### NOTES - Use Initialize-IntersightMoTag to create the object of complex type MoTag. - Use Initialize-IntersightOsValidationInformation to create the object of complex type OsValidationInformation. ### RELATED LINKS [Initialize-IntersightMoTag](./Initialize-IntersightMoTag.md) [Initialize-IntersightOsValidationInformation](./Initialize-IntersightOsValidationInformation.md) ``` -------------------------------- ### Get Intersight SdcardPolicy Cmdlet Examples Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Get-IntersightSdcardPolicy.md Provides examples of how to use the Get-IntersightSdcardPolicy cmdlet in PowerShell. These examples demonstrate retrieving all policies, filtering by name, filtering by organization, and retrieving policies with their count. ```powershell PS C:\> $result = Get-IntersightSdcardPolicy ``` ```powershell PS C:\> $result = Get-IntersightSdcardPolicy -Name "MoName" ``` ```powershell PS C:\> $result = Get-IntersightSdcardPolicy -Organization $organization ``` ```powershell PS C:\> $result = Get-IntersightSdcardPolicy -InlineCount allpages ``` -------------------------------- ### Get CommHttpProxyPolicy Cmdlet Examples Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Get-IntersightCommHttpProxyPolicy.md Provides examples of how to use the Get-IntersightCommHttpProxyPolicy cmdlet in PowerShell. These examples demonstrate retrieving all policies, filtering by name, filtering by organization, and retrieving policies with a count. ```powershell PS C:\> $result = Get-IntersightCommHttpProxyPolicy ``` ```powershell PS C:\> $result = Get-IntersightCommHttpProxyPolicy -Name "MoName" ``` ```powershell PS C:\> $result = Get-IntersightCommHttpProxyPolicy -Organization $organization ``` ```powershell PS C:\> $result = Get-IntersightCommHttpProxyPolicy -InlineCount allpages ``` -------------------------------- ### Example: Initialize VirtualizationActionInfo (PowerShell) Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightVirtualizationActionInfo.md A basic example demonstrating how to initialize the Initialize-IntersightVirtualizationActionInfo cmdlet. This command will create a local instance of the object. ```powershell PS C:\> Initialize-IntersightVirtualizationActionInfo ``` -------------------------------- ### Example Usage of Initialize-IntersightHciAhvVm Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightHciAhvVm.md This is an example of how to use the Initialize-IntersightHciAhvVm cmdlet. It demonstrates a basic call to initialize the object without any specific parameters. ```powershell PS C:\> Initialize-IntersightHciAhvVm ``` -------------------------------- ### Example New-IntersightWorkflowServiceItemActionDefinition Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/New-IntersightWorkflowServiceItemActionDefinition.md Provides a basic example of how to use the New-IntersightWorkflowServiceItemActionDefinition cmdlet. This serves as a starting point for creating new workflow service item action definitions. ```powershell PS C:\> New-IntersightWorkflowServiceItemActionDefinition ``` -------------------------------- ### Get Intersight ResourcepoolUniverse Cmdlet Examples Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Get-IntersightResourcepoolUniverse.md Provides examples for using the Get-IntersightResourcepoolUniverse cmdlet to retrieve ResourcepoolUniverse resources. These examples demonstrate fetching all resources, filtering by name, filtering by organization, and including counts. ```powershell PS C:\> $result = Get-IntersightResourcepoolUniverse # Above example returns the list of ResourcepoolUniverse. ``` ```powershell PS C:\> $result = Get-IntersightResourcepoolUniverse -Name "MoName" # Above example returns the ResourcepoolUniverse matched with name. ``` ```powershell PS C:\> $result = Get-IntersightResourcepoolUniverse -Organization $organization # Above example returns the list of ResourcepoolUniverse available under the $organization . ``` ```powershell PS C:\> $result = Get-IntersightResourcepoolUniverse -InlineCount allpages # Above example returns the list of ResourcepoolUniverse along with count. ``` -------------------------------- ### Example: Initialize Intersight Hyperflex Software Compatibility Info Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/New-IntersightHclHyperflexSoftwareCompatibilityInfo.md This example demonstrates how to initialize a new Intersight Hyperflex Software Compatibility Info object using the New-IntersightHclHyperflexSoftwareCompatibilityInfo cmdlet. ```powershell PS C:\> New-IntersightHclHyperflexSoftwareCompatibilityInfo ``` -------------------------------- ### Get Intersight IamEndPointUserPolicy Cmdlet Examples Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Get-IntersightIamEndPointUserPolicy.md Provides examples of how to use the Get-IntersightIamEndPointUserPolicy cmdlet to retrieve IamEndPointUserPolicy resources. These examples demonstrate retrieving all policies, filtering by name, filtering by organization, and retrieving results with a count. ```powershell PS C:\> $result = Get-IntersightIamEndPointUserPolicy PS C:\> $result = Get-IntersightIamEndPointUserPolicy -Name "MoName" PS C:\> $result = Get-IntersightIamEndPointUserPolicy -Organization $organization PS C:\> $result = Get-IntersightIamEndPointUserPolicy -InlineCount allpages ``` -------------------------------- ### Examples Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/README.md Practical examples demonstrating how to use the Intersight.PowerShell module for common Intersight management tasks. ```APIDOC ## Examples ### Example - Server Configuration [Example code for configuring servers using the module.] ### Example - Firmware Upgrade [Example code for performing firmware upgrades.] ### Example - OS Install [Example code for installing operating systems.] ``` -------------------------------- ### Example: Create a Server Profile Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/New-IntersightServerProfile.md This example demonstrates how to create a new server profile using the New-IntersightServerProfile cmdlet. This is a fundamental operation for managing server configurations within Intersight. ```powershell PS C:\> New-IntersightServerProfile ``` -------------------------------- ### Get Intersight CloudTfcAgentpool Cmdlet Examples Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Get-IntersightCloudTfcAgentpool.md Provides examples of how to use the Get-IntersightCloudTfcAgentpool cmdlet to retrieve CloudTfcAgentpool resources. These examples demonstrate fetching all resources, filtering by name, filtering by organization, and retrieving resources with their count. ```powershell PS C:\> $result = Get-IntersightCloudTfcAgentpool ``` ```powershell PS C:\> $result = Get-IntersightCloudTfcAgentpool -Name "MoName" ``` ```powershell PS C:\> $result = Get-IntersightCloudTfcAgentpool -Organization $organization ``` ```powershell PS C:\> $result = Get-IntersightCloudTfcAgentpool -InlineCount allpages ``` -------------------------------- ### Get Intersight PciCoprocessorCard Cmdlet Examples Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Get-IntersightPciCoprocessorCard.md Provides examples of how to use the Get-IntersightPciCoprocessorCard cmdlet to retrieve PciCoprocessorCard resources. These examples demonstrate retrieving all cards, filtering by name, filtering by organization, and retrieving count information. ```powershell PS C:\> $result = Get-IntersightPciCoprocessorCard # Above example returns the list of PciCoprocessorCard. ``` ```powershell PS C:\> $result = Get-IntersightPciCoprocessorCard -Name "MoName" # Above example returns the PciCoprocessorCard matched with name. ``` ```powershell PS C:\> $result = Get-IntersightPciCoprocessorCard -Organization $organization # Above example returns the list of PciCoprocessorCard available under the $organization . ``` ```powershell PS C:\> $result = Get-IntersightPciCoprocessorCard -InlineCount allpages # Above example returns the list of PciCoprocessorCard along with count. ``` -------------------------------- ### PowerShell: Example Cmdlet Initialization Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightHyperflexSoftwareDistributionComponent.md This snippet shows a basic example of how to initialize an Intersight PowerShell cmdlet. It serves as a starting point for using the Intersight module and can be combined with other parameters like -Json or -WithHttpInfo for more detailed output. ```powershell PS C:\> Initialize-IntersightHyperflexSoftwareDistributionComponent ``` -------------------------------- ### Get Intersight LicenseCustomerOp Cmdlet Examples Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Get-IntersightLicenseCustomerOp.md Examples demonstrating how to use the Get-IntersightLicenseCustomerOp cmdlet to retrieve LicenseCustomerOp resources. These examples cover retrieving all resources, filtering by name, filtering by organization, and retrieving resources with a count. ```powershell PS C:\> $result = Get-IntersightLicenseCustomerOp ``` ```powershell PS C:\> $result = Get-IntersightLicenseCustomerOp -Name "MoName" ``` ```powershell PS C:\> $result = Get-IntersightLicenseCustomerOp -Organization $organization ``` ```powershell PS C:\> $result = Get-IntersightLicenseCustomerOp -InlineCount allpages ``` -------------------------------- ### PowerShell Example: Initialize-IntersightOsConfigurationFile Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightOsConfigurationFile.md This example demonstrates how to use the Initialize-IntersightOsConfigurationFile cmdlet. It is a basic cmdlet call and does not require specific input parameters to execute. ```powershell PS C:\> Initialize-IntersightOsConfigurationFile ``` -------------------------------- ### Get Intersight AdapterUnit Cmdlet Examples (PowerShell) Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Get-IntersightAdapterUnit.md Provides examples of how to use the Get-IntersightAdapterUnit cmdlet to retrieve AdapterUnit resources. These examples demonstrate retrieving all units, filtering by name, filtering by organization, and retrieving the count. ```powershell PS C:\> $result = Get-IntersightAdapterUnit ``` ```powershell PS C:\> $result = Get-IntersightAdapterUnit -Name "MoName" ``` ```powershell PS C:\> $result = Get-IntersightAdapterUnit -Organization $organization ``` ```powershell PS C:\> $result = Get-IntersightAdapterUnit -InlineCount allpages ``` -------------------------------- ### Basic Initialization Example for Intersight EtherMacsecOperData Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightEtherMacsecOperData.md A simple example demonstrating how to initialize the EtherMacsecOperData object using the Initialize-IntersightEtherMacsecOperData cmdlet. This example shows the basic usage without any specific parameters, relying on default values. ```powershell PS C:\> Initialize-IntersightEtherMacsecOperData ``` -------------------------------- ### Initialize-IntersightOsBulkInstallInfo Cmdlet Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightOsBulkInstallInfo.md This section details the parameters and usage of the Initialize-IntersightOsBulkInstallInfo cmdlet. ```APIDOC ## Initialize-IntersightOsBulkInstallInfo ### Description Initializes an object of the complex type OsBulkInstallInfo in the PowerShell session. This cmdlet does not create the object on the server. ### Method Cmdlet (PowerShell) ### Endpoint N/A (Local object instantiation) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body This cmdlet does not directly use a request body in the traditional REST sense. Parameters are passed as arguments. - **AdditionalProperties** (System.Collections.Generic.Dictionary`2[string,object]) - Optional - Key-value pairs for additional properties. - **ClassId** (OsBulkInstallInfo.ClassIdEnum) - Optional - The discriminator to identify the type of the payload. - **ConfigurationFile** (Model.OsConfigurationFileRelationship) - Optional - A reference to a osConfigurationFile resource. - **FileContent** (string) - Optional - The content of the entire CSV file storing OS install parameters. - **Moid** (string) - Optional - The unique identifier of this Managed Object instance. - **Name** (string) - Optional - The name of the CSV file holding OS install parameters. - **ObjectType** (OsBulkInstallInfo.ObjectTypeEnum) - Optional - The fully-qualified name of the instantiated, concrete type. - **Organization** (Model.OrganizationOrganizationRelationship) - Optional - A reference to an organizationOrganization resource. - **OsImage** (Model.SoftwarerepositoryOperatingSystemFileRelationship) - Optional - A reference to a softwarerepositoryOperatingSystemFile resource. - **ScuImage** (Model.FirmwareServerConfigurationUtilityDistributableRelationship) - Optional - A reference to a firmwareServerConfigurationUtilityDistributable resource. - **Servers** (System.Collections.Generic.List`1[Model.ComputePhysicalRelationship]) - Optional - A list of references to computePhysical resources. - **Tags** (System.Collections.Generic.List`1[Model.MoTag]) - Optional - A list of tags associated with the resource. - **ValidationInfos** (System.Collections.Generic.List`1[Model.OsValidationInformation]) - Optional - A list of OS validation information. - **Json** (SwitchParameter) - Optional - Switch parameter to indicate JSON output. - **WithHttpInfo** (SwitchParameter) - Optional - Switch parameter to include HTTP information in the response. ### Request Example ```powershell Initialize-IntersightOsBulkInstallInfo -Name "install_config.csv" -FileContent "OS_IMAGE,SCU_IMAGE,SERVER_ID\nCentOS_8.4,SCU_1.2,192.168.1.100" ``` ### Response #### Success Response (200) Returns the initialized OsBulkInstallInfo object in the PowerShell session. #### Response Example ```json { "@odata.type": "#os.BulkInstallInfo", "ClassId": "os.BulkInstallInfo", "ObjectType": "os.BulkInstallInfo", "AdditionalProperties": {}, "ConfigurationFile": null, "FileContent": "OS_IMAGE,SCU_IMAGE,SERVER_ID\nCentOS_8.4,SCU_1.2,192.168.1.100", "Moid": null, "Name": "install_config.csv", "Organization": null, "OsImage": null, "ScuImage": null, "Servers": null, "Tags": [], "ValidationInfos": null } ``` ``` -------------------------------- ### Example: Get All HyperflexClusterReplicationNetworkPolicy (PowerShell) Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Get-IntersightHyperflexClusterReplicationNetworkPolicy.md This example demonstrates how to retrieve all available HyperflexClusterReplicationNetworkPolicy resources using the Get-IntersightHyperflexClusterReplicationNetworkPolicy cmdlet without any specific filters. ```powershell $result = Get-IntersightHyperflexClusterReplicationNetworkPolicy ``` -------------------------------- ### Initialize Intersight ESXi VM Configuration Example Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightVirtualizationEsxiVmConfiguration.md This example demonstrates how to initialize an Intersight ESXi VM configuration using the Initialize-IntersightVirtualizationEsxiVmConfiguration cmdlet. It serves as a basic starting point for configuring ESXi virtual machines within Intersight. ```powershell PS C:\> Initialize-IntersightVirtualizationEsxiVmConfiguration ``` -------------------------------- ### Intersight PowerShell Cmdlet Example Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Set-IntersightCapabilityEquipmentPhysicalDef.md This example demonstrates the basic invocation of the Set-IntersightCapabilityEquipmentPhysicalDef cmdlet. It serves as a starting point for users to interact with Intersight resources via PowerShell. ```powershell PS C:\> Set-IntersightCapabilityEquipmentPhysicalDef ``` -------------------------------- ### Initialize-IntersightHclHardwareCompatibilityProfile Example Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightHclHardwareCompatibilityProfile.md This example demonstrates the basic usage of the Initialize-IntersightHclHardwareCompatibilityProfile cmdlet. It shows how to invoke the cmdlet without any specific parameters, likely to create a default or empty profile object. ```powershell PS C:\> Initialize-IntersightHclHardwareCompatibilityProfile ``` -------------------------------- ### Initialize-IntersightBootUsb Cmdlet Example - PowerShell Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightBootUsb.md A basic example demonstrating how to use the Initialize-IntersightBootUsb cmdlet. This example shows the simplest invocation of the cmdlet, which is useful for initializing default settings or for testing purposes. ```powershell PS C:\> Initialize-IntersightBootUsb ``` -------------------------------- ### Example Cmdlet Initialization - PowerShell Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightFabricPcOperation.md Provides a basic example of how to call an Intersight cmdlet, Initialize-IntersightFabricPcOperation, in a PowerShell environment. This serves as a starting point for executing Intersight operations. ```powershell PS C:\> Initialize-IntersightFabricPcOperation ``` -------------------------------- ### Create Intersight Kvm Policy Example Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/New-IntersightKvmPolicy.md This example demonstrates how to create a new Kvm Policy using the New-IntersightKvmPolicy cmdlet. It assumes the Intersight PowerShell module is installed and configured. ```powershell PS C:\> New-IntersightKvmPolicy ``` -------------------------------- ### Installation Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/README.md Instructions on how to install the Intersight.PowerShell module, including prerequisites and methods for installation from the PowerShell Gallery or from source. ```APIDOC ## Installation ### Requirements - PowerShell 7.4.0 or later - net8.0 SDK or later ### Dependencies `Intersight.dll` : Intersight C# SDK, generated using [openaapi-generator](https://github.com/OpenAPITools/openapi-generator) ### Install #### Install from PowerShell Gallery ```powershell Install-Module -Name Intersight.PowerShell ``` #### Install from GitHub Source ```powershell build.ps1 Import-Module -Name '.\Intersight.PowerShell' -Verbose ``` ### Uninstall Intersight.PowerShell ```powershell Remove-Module -FullyQualifiedName @{ModuleName = "Intersight.PowerShell"; ModuleVersion = "1.0.11.2025081401"} ``` or ```powershell Remove-Module -Name Intersight.PowerShell ``` ``` -------------------------------- ### Example: Get FcpoolFcBlock by Name Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Get-IntersightFcpoolFcBlock.md This PowerShell example shows how to fetch a specific FcpoolFcBlock resource by its name using the -Name parameter of the Get-IntersightFcpoolFcBlock cmdlet. ```powershell $result = Get-IntersightFcpoolFcBlock -Name "MoName" ``` -------------------------------- ### PowerShell Cmdlet Example: Set-IntersightOpenapiTaskGenerationRequest Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Set-IntersightOpenapiTaskGenerationRequest.md This example demonstrates the basic usage of the Set-IntersightOpenapiTaskGenerationRequest cmdlet. It serves as a starting point for creating or modifying Intersight API task generation requests. ```powershell PS C:\> Set-IntersightOpenapiTaskGenerationRequest ``` -------------------------------- ### Initialize Intersight Firmware Direct Download (PowerShell) Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightFirmwareDirectDownload.md This cmdlet initializes a direct download for Intersight firmware. It supports common PowerShell parameters for debugging and output control. The example shows a basic invocation without specific parameters. ```powershell PS C:\> Initialize-IntersightFirmwareDirectDownload ``` -------------------------------- ### Create Intersight Access Policy Example Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/New-IntersightAccessPolicy.md Provides a basic example of how to create a new Intersight Access Policy using the New-IntersightAccessPolicy cmdlet. This is a starting point for policy creation. ```powershell PS C:\> New-IntersightAccessPolicy { Add example description here } ``` -------------------------------- ### Example: Initialize Intersight IAM IdP Source: https://github.com/ciscodevnet/intersight-powershell/blob/main/docs/Initialize-IntersightIamIdp.md An example demonstrating how to initialize the Intersight IAM IdP object using the Initialize-IntersightIamIdp cmdlet. Further actions would typically follow to configure the IdP. ```powershell PS C:\> Initialize-IntersightIamIdp ```