Using Command Line to Configure iDrac Settings

Configure iDrac Settings
#Download and install RacAdm 10.2 :
$url='https://dl.dell.com/FOLDER07549599M/1/DellEMC-iDRACTools-Web-WINX64-10.2.0.0-4583_A00.exe'
$tempDir='C:\Temp'
mkdir $tempDir; cd $tempDir
wget $url
write-host "Please install RacAdm from $temp"
# Run this command after RacAdm is installed
$env:path += ";C:\Program Files\Dell\SysMgt\iDRACTools\racadm"; refreshenv
# Setup iDrac with standardized default settings
$adminUid=2
$adminPassword='insertPasswordHere'
racadm set iDRAC.Users.$adminUid.UserName admin
racadm set iDRAC.Users.$adminUid.Password $adminPassword
racadm set iDRAC.NIC.DNSRacName ($env:computername).tolower()
racadm set iDRAC.NIC.DNSRegister 0
racadm set iDRAC.IPv4.DHCPEnable 1
racadm set iDRAC.IPv4.DNSFromDHCP 1
racadm set iDRAC.NIC.DNSDomainFromDHCP 1
racadm set iDRAC.NIC.VLanEnable

Leave a Reply

Your email address will not be published. Required fields are marked *