This script contains some PowerShell 3 specific commands, so PowerShell 3 is a must. Checks status of SEP Service running on device. Queries registry for SEP definitions date and formats to a readable string Queries registry for SEP version installed Confirms Hostname from WMI class query (Could have DNS issues based on PING if this wasn't done) The Pingable devices are then passed though the following: It then creates an array of devices it is unable to ping and exports that to a separate CSV.ĭevices it can ping also get added to an array. Its this array that is then checked further and each entry is added to a hash table and exported to CSV to view results. The script pulls a list of Hostnames from a CSV file and attempts to PING that list. I bet some of the Dev's on here could do it in just a few lines, but it does the job and is exactly what I need. Now I'm not saying by any means that my script is indeed perfect, I'm no developer. In my current role I specialise in infrastructure support. I setup a small Lab at home of about 20 workstations for a test and it worked perfectly. Seems to work we'll on a large scale or took considerable amount of time to complete. looking online in various blogs I could see other people have done the same thing to tailor there needs but none I wanted to check the status of (Specifically Symantec Endpoint Protection) on all devices in his organisation from one machine In their forest. Make sure that the date for 32 bit and 64 Definitions for u0018Virus & Spyware Definitionsu0019 is up-to-date. Open SEPM->Admin->Servers->Loca l Site 2. I then started to write my own script "How How to clear out corrupted definitions for a Symantec Endpoint Check if SEPM has Latest Definitions: DONE - 1. well not that really fit what I had set out to achieve. The reason I'm here is because I have searched high and low for a script to suit a friend who came to me for help, but to no avail (similar to most people I imagine).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |