for anyone who has been creating custom DDRs, this is old hat. for me, I just wanted to prove that it could be done in powershell. apparently no one has tried -- or at least web searching has led me to believe it. :) $Computer = "MarcusRocks" $IPAddress = "192.168.0.25" , "192.168.0.39" $MACAddress = "00:02:A5:B1:11:68" , "00:02:A5:B1:11:69" $SMSDisc = New-Object -ComObject SMSResGen.SMSResGen.1 $SMSDisc.DDRNew( "System" , "myCustomAgent" , "XYZ" ) $SMSDisc.DDRAddString( "Netbios Name" , $Computer, 64, 0x8) $SMSDisc.DDRAddStringArray( "IP Addresses" , $IPAddress, 64, 0x10) $SMSDisc.DDRAddStringArray( "MAC Addresses" , $MACAddress, 64, 0x10) $SMSDisc.DDRWrite([System.Environment]::GetFolderPath( "Desktop" ) + "\$Computer.DDR" ) in sccm 2007, the command to send the DDR to the site server was removed in the sccm sdk redistributable dlls. this isn'
notes, ramblings, contemplations, transmutations, and otherwise ... on management and directory miscellanea.