Chris Stauffer at myITForum.com

You want me to do What?

Syndication

News

Links to blogs i like

Links

SCCM Network Check tool

This script was designed to help SCCM admin fix machines that are failing the install due to some network issue.

'===============================================================

'

' NAME: Client Network check

' AUTHOR: Chris Stauffer

' DATE : 12-17-09

'

' Description

' This script is designed to check a list a machines that are missing the SCCM client

' It will check the following:

' 1. Does it ping

' 2. If it pings does is the same name come back when you run nbtstat-a

' 3. If the same name is returned can you connect to Admin$

' 4. If you can access Admin$ is the needed SCCM admin present?

' 4. If all tests passed install client with the Health check startup script

' Note: this is do just as a precautionary step you could just trigger CCMSetup.exe

'

' Once the checks are done if the machine passes the test it continues in the script.

' If it fails it is put into a log for later remediation either by another script Or

' by some other solution yet to be determined.

'

' COMMENT: Version 1.14

'

' Version Notes:

' Version 1 -- Got all tasks working and figured out logic

' Version 1.1 -- added logging and separating out issues for easier resolutions

' Version 1.2 -- added headings to all 5 logs

' Version 1.3 -- added admin account check and repair if possible

' Version 1.4 -- Install client remotely if everything else passes

' Version 1.5 -- Redid logic for installing client and cleaned up some other things

' Version 1.7 -- Added NSLoopup check

' Version 1.8 -- Changed Client install method

' Version 1.9-1.12 -- cleaned up some logic

' Version 1.13-- Fixed Client install method and added some additional logic

' Version 1.14 -- Cleaned up some notes

'==============================================================

How to use the script:

Create a list of machines that you can not get the client to install on and put them in the machines.txt file. Then execute the script. It will scan each computer with your admin rights. If it finds problems it will attempt to resolve them. If it is able to resolve all of the issues then it will attempt to install the client.

 

 

Let me know if you find issues. This was beta tested by me in my environment but not in the real world.

Published Thursday, December 17, 2009 10:20 AM by cstauffer

Comments

No Comments