This Powershell script creates a html file containing Computers imported from AD with SEP data added. This allows one to see which computers are defined but do not have an active Client. Forum for discussion: https://www-secure.symantec.com/connect/forums/sep-powershell-script-find-computers-defined-not-active Works in this environment: Windows 2008 (sp2) for SEPM and MS SQL servers (EDIT: Note code may need to be changed for YOUR version of MS SQL: see below. Work in Progress) Powershell version 1 (runs on 2 as well, but I keep it 1 compatible) SEPM 11.0.5 Note on Powershell: Microsoft has added a safety feature if the Powershell has never run a script, the command to disable is: set-executionpolicy unrestricted
Let us see if I can get help with putting the code(s) I have made @ http://sourceforge.net/projects/sepbabedoda/
New versions of SEPM and I will now do an update to the lattest and get this code onto a Subversion Server.
Anybody wanting to help with code and any other Powershell code that can be usefull is welcome.
Probably on SourceForge...
Hi Albert.
In the previous article about this tool located here, you asked how to run the script.
As mentioned, you need to adjust the Execution policy to allow the script to run. Then you have two ways of launching the script.
From inside a PowerShell command window run the following line:
&'C:\path_to_script\script.ps1'
If you want to run this as a scheduled task or from a shortcut, then use the following:
powershell.exe "&'C:\path_to_script\script.ps1'"
In both cases, be aware of the inverted commas and the apostrophes.
Thanks very much
I hope to make a "refresh" of the code within the next month.
However, I got this scary error message: