Edit

Share via


New-AzNetworkCloudBareMetalMachineConfigurationDataObject

Create an in-memory object for BareMetalMachineConfigurationData.

Syntax

Default (Default)

New-AzNetworkCloudBareMetalMachineConfigurationDataObject
    -BmcCredentialsPassword <SecureString>
    -BmcCredentialsUsername <String>
    -BmcMacAddress <String>
    -BootMacAddress <String>
    -RackSlot <Int64>
    -SerialNumber <String>
    [-MachineDetail <String>]
    [-MachineName <String>]
    [<CommonParameters>]

Description

Create an in-memory object for BareMetalMachineConfigurationData.

Examples

Example 1: Create an in-memory object for BareMetalMachineConfigurationData.

$password = ConvertTo-SecureString "********" -AsPlainText -Force

New-AzNetworkCloudBareMetalMachineConfigurationDataObject -BmcCredentialsPassword $password -BmcCredentialsUsername username -BmcMacAddress "00:BB:CC:DD:EE:FF" -BootMacAddress "00:BB:CC:DD:EE:FF" -RackSlot 1 -SerialNumber serialNumber -MachineDetail machineDetail -MachineName machineName
BmcConnectionString BmcMacAddress     BootMacAddress    MachineDetail MachineName RackSlot SerialNumber
------------------- -------------     --------------    ------------- ----------- -------- ------------
                    00:BB:CC:DD:EE:FF 00:BB:CC:DD:EE:FF machineDetail machineName 1        serialNumber

Create an in-memory object for BareMetalMachineConfigurationData.

Parameters

-BmcCredentialsPassword

The password of the administrator of the device used during initialization.

Parameter properties

Type:SecureString
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-BmcCredentialsUsername

The username of the administrator of the device used during initialization.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-BmcMacAddress

The MAC address of the BMC for this machine.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-BootMacAddress

The MAC address associated with the PXE NIC card.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-MachineDetail

The free-form additional information about the machine, e.g. an asset tag.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-MachineName

The user-provided name for the bare metal machine created from this specification. If not provided, the machine name will be generated programmatically.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RackSlot

The slot the physical machine is in the rack based on the BOM configuration.

Parameter properties

Type:Int64
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SerialNumber

The serial number of the machine. Hardware suppliers may use an alternate value. For example, service tag.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

BareMetalMachineConfigurationData