New-AzNetworkCloudBareMetalMachineConfigurationDataObject
Create an in-memory object for BareMetalMachineConfigurationData.
Syntax
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 -String "****" -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.
Type: | SecureString |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BmcCredentialsUsername
The username of the administrator of the device used during initialization.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BmcMacAddress
The MAC address of the BMC for this machine.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BootMacAddress
The MAC address associated with the PXE NIC card.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MachineDetail
The free-form additional information about the machine, e.g. an asset tag.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | 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.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RackSlot
The slot the physical machine is in the rack based on the BOM configuration.
Type: | Int64 |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SerialNumber
The serial number of the machine. Hardware suppliers may use an alternate value. For example, service tag.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Azure PowerShell