Skip to main content

Posts

Showing posts from October, 2010

sccm: custom data discovery records (DDRs) using powershell

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't a tragedy.  it simply means you…

powershell: listing stuff from add/remove programs

heard from my buddy stefan stranger today and was discussing how to get information from ARP.  this is what we came up with:my methoddir "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" | % { get-itemproperty $_.pspath }
his method get-itemproperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*
his method requires less typing but in actuality took longer -- usually about twice as long.  still too fast to notice the difference but interesting anyway.  must be the wildcard.measure-command {dir "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" | % { get-itemproperty $_.pspath }}Days : 0
Hours : 0
Minutes : 0
Seconds : 0
Milliseconds : 736
Ticks : 7368684
TotalDays : 8.52856944444444E-06
TotalHours : 0.000204685666666667
TotalMinutes : 0.01228114
TotalSeconds : 0.7368684
TotalMilliseconds : 736.8684


measure-command {get-itemproperty HKLM:\Software\Microsoft\Wind…

atlanta systems management user group 10/11/2010

update: recordings are up.  click the titles to go to the recordings!The Atlanta Southeast Management User Group and System Center Virtual User Group invites you to attend the next SMUG meeting scheduled for October 11th, 2010 for a day of great presentations, discussions, and networking.Because this is a hybrid user group meeting there are two ways to register:If you would like to attend IN PERSON at the Alpharetta Microsoft Campus please register here. https://www.clicktoattend.com/invitation.aspx?code=151055If you would like to attend VIRTUALLY please register here. http://www.clicktoattend.com/?id=151148DATE & TIMEOctober 11, 201010:00 AM – 4:00 PM Eastern Time ZoneLunch provided by Veeam. http://www.veeam.com“The nworks Management Pack provides continuous monitoring of the largest, most demanding virtual environments. It features a centrally managed, distributed architecture for horizontal "no limits" scalability and automatic failover and load balancing for high av…

opalis: common errors while deploying an action server

in this post, I'm capturing a list of error messages as I run across them and documenting the problem.error 2147023293 :: [0x80070643] :: fatal error during installationthis first one is a requirements issue.  however, you can't see it while you're deploying it.  as you can see below, the installation results in a failure.checking the logs, it doesn't produce anything of further value.2010\10\04 22:38:49.420 [0x80070643] <E> Error deploying Action Server to OPALIS2:

- _com_error "Fatal error during installation." "" "-2147023293" however, when you check the logs on the action server you're deploying to, it becomes very evident why the installation failed to succeed (as highlighted below). === Logging started: 10/4/2010 17:38:47 ===
MSI (s) (C8:C0) [17:38:47:171]: Note: 1: 2262 2: PatchPackage 3: -2147287038
MSI (s) (C8:C0) [17:38:47:202]: Machine policy value 'DisableRollback' is 0
MSI (s) (C8:C0) [17:38:47:218]: User policy…

mvp award for 2010!

I really do love october.  for two reasons: it really marks the autumn season which is my favorite time of year, and it's my renewal time with the microsoft mvp program.anyway, I got the email today. I'm in the program for another year! (by the way, it's a fantastic program!)Congratulations! We are pleased to present you with the 2010 Microsoft® MVP Award! This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in System Center Operations Manager technical communities during the past year.congratulations to all my fellow MVPs who were awarded this month as well.