- danovich.com.au -

Designing & deploying IT infrastructure in the enterprise

  • Home
  • About
  • Consulting
  • Contact
  • RSS Feed

10

Jun

Nifty Powershell script to ping multiple servers

Posted by danovich  Published in Powershell, Tools, Windows

This great Powershell script will ping all machines listed in a text file and put the live results into a Excel workbook: $erroractionpreference = “SilentlyContinue” $a = New-Object -comobject Excel.Application $a.visible = $True $b = $a.Workbooks.Add() $c = $b.Worksheets.Item(1) $c.Cells.Item(1,1) = “Machine Name” $c.Cells.Item(1,2) = “Ping Status” $d = $c.UsedRange $d.Interior.ColorIndex = 19 $d.Font.ColorIndex = 11 [...]

Continue reading...

Tags: active, online, ping, powershell, Scripting

3 comments

6

Jun

SCOM R2 – Service Name Changes

Posted by danovich  Published in Windows

Display names of the services changed in the R2 version of SCOM 2007.  The names themselves did NOT change, so if you use ‘net stop’ or ‘net start’ that will not be affected. If you are looking for the services in the services.msc, the new names are list below. It had me stumped for a few [...]

Continue reading...

Tags: SCOM, SCOM R2, Service Name

no comment

2

Jun

Change Product Key On Windows Server 2008

Posted by danovich  Published in Windows

Open the command prompt and navigate to %windir%\System32 directory slmgr.vbs -cpky (this clears the KMS entry you may have) slmgr.vbs -upk (this removes any product key installed) slmgr.vbs -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx (where the x’s are the new product key you want to use) slmgr.vbs -ato (this activates the server) Type slmgr.vbs for further options….

Continue reading...

Tags: key, kms, windows 2008

3 comments

Most Popular In The Last 24 hrs

  • Windows 7 locks out domain account 14 views
  • SCCM 2007 PXE boot error – The SMS PXE Service Point does not have a boot image matching the processor architetcure 14 views
  • Remote desktop (RDP) session keyboard shortcuts 14 views
  • Query to show members of an AD group 13 views
  • Remove computer association from collection after SCCM task sequence 13 views

Website Referrers

    Categories

    • No categories

    Archive

    • June 2013 (2)
    • May 2013 (4)
    • April 2013 (3)
    • March 2013 (2)
    • January 2013 (2)
    • December 2012 (4)
    • October 2012 (1)
    • September 2012 (4)
    • August 2012 (1)
    • July 2012 (5)
    • June 2012 (4)
    • May 2012 (6)
    • April 2012 (3)
    • March 2012 (7)
    • February 2012 (5)
    • January 2012 (6)
    • December 2011 (6)
    • November 2011 (1)
    • October 2011 (4)
    • September 2011 (3)
    • August 2011 (5)
    • July 2011 (2)
    • June 2011 (1)
    • May 2011 (3)
    • April 2011 (5)
    • February 2011 (7)
    • January 2011 (5)
    • December 2010 (9)
    • November 2010 (2)
    • October 2010 (5)
    • September 2010 (3)
    • August 2010 (3)
    • July 2010 (1)
    • June 2010 (4)
    • May 2010 (4)
    • April 2010 (2)
    • March 2010 (9)
    • February 2010 (7)
    • January 2010 (8)
    • December 2009 (1)
    • November 2009 (4)
    • October 2009 (5)
    • September 2009 (3)
    • August 2009 (2)
    • June 2009 (3)
    • May 2009 (1)
    • March 2009 (2)
    • February 2009 (4)
    • January 2009 (2)
    • December 2008 (7)

    Recent Entries

    Recent Comments

    • No Comments
    • Random Selection of Posts

    © 2009 - danovich.com.au - is proudly powered by WordPress.