< Back
Get-iBMCOSDeployConfig
Post
NAME Get-iBMCOSDeployConfig
SYNOPSIS
Get Smart Provisioning OS deploy configuration.
SYNTAX
Get-iBMCOSDeployConfig [-Session] <RedfishSession[]> [<CommonParameters>]
DESCRIPTION
Get Smart Provisioning OS deploy configuration.
Tips:
- This function only supports V5 servers with BIOS version later than 0.39.
- This function can only be used with a valid license.
PARAMETERS
-Session <RedfishSession[]>
iBMC redfish session object which is created by Connect-iBMC cmdlet.
A session object identifies an iBMC server to which this cmdlet will be executed.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
PSObject
Returns Smart Provisioning OS deploy configuration if cmdlet executes successfully.
In case of an error or warning, exception will be returned.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> $DeployConfig = Get-ibmcOSDeployConfig $session
PS C:\\> $DeployConfig
Host : 10.10.1.2
Id : 1
Name : SP OS Install Parameter
InstallMode : Recommended
OSType : Win2016
BootType : UEFIBoot
CDKey : *****-*****-*****-*****-*****
RootPwd : *******
HostName : huawei
Autopart : False
AutoPosition : True
Language : en-US
TimeZone : Eastern Standard Time
Keyboard : 0x00000409
CheckFirmware : False
Partition : {@{Name=C; FileSystem=swap; Size=32}}
Software : {@{FileName=iBMA }}
NetCfg : {@{Device=; IPv4Addresses=System.Object[]; IPv6Addresses=System.Object[];
NameServers=System.Object[]}}
Packages : {@{PackageName=System.Object[]; PatternName=System.Object[]}}
RELATED LINKS
https://github.com/Huawei/Huawei-iBMC-Cmdlets
Get-iBMCOSDeployConfig
Set-iBMCOSDeployConfig
Set-iBMCSPService
Connect-iBMCVirtualMedia
Disconnect-iBMCVirtualMedia
Connect-iBMC
Disconnect-iBMC
SYNOPSIS
Get Smart Provisioning OS deploy configuration.
SYNTAX
Get-iBMCOSDeployConfig [-Session] <RedfishSession[]> [<CommonParameters>]
DESCRIPTION
Get Smart Provisioning OS deploy configuration.
Tips:
- This function only supports V5 servers with BIOS version later than 0.39.
- This function can only be used with a valid license.
PARAMETERS
-Session <RedfishSession[]>
iBMC redfish session object which is created by Connect-iBMC cmdlet.
A session object identifies an iBMC server to which this cmdlet will be executed.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
PSObject
Returns Smart Provisioning OS deploy configuration if cmdlet executes successfully.
In case of an error or warning, exception will be returned.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> $DeployConfig = Get-ibmcOSDeployConfig $session
PS C:\\> $DeployConfig
Host : 10.10.1.2
Id : 1
Name : SP OS Install Parameter
InstallMode : Recommended
OSType : Win2016
BootType : UEFIBoot
CDKey : *****-*****-*****-*****-*****
RootPwd : *******
HostName : huawei
Autopart : False
AutoPosition : True
Language : en-US
TimeZone : Eastern Standard Time
Keyboard : 0x00000409
CheckFirmware : False
Partition : {@{Name=C; FileSystem=swap; Size=32}}
Software : {@{FileName=iBMA }}
NetCfg : {@{Device=; IPv4Addresses=System.Object[]; IPv6Addresses=System.Object[];
NameServers=System.Object[]}}
Packages : {@{PackageName=System.Object[]; PatternName=System.Object[]}}
RELATED LINKS
https://github.com/Huawei/Huawei-iBMC-Cmdlets
Get-iBMCOSDeployConfig
Set-iBMCOSDeployConfig
Set-iBMCSPService
Connect-iBMCVirtualMedia
Disconnect-iBMCVirtualMedia
Connect-iBMC
Disconnect-iBMC