Symantec Enpoint Protection–detect version and virus definitions state with Powershell

Get-ItemProperty -Path "hklm:\SOFTWARE\Symantec\Symantec Endpoint Protection\CurrentVersion" -name productversion

…gets SEP version

 

get-content (join-path -path (Get-ItemProperty -Path "hklm:\SOFTWARE\Symantec\Symantec Endpoint Protection\CurrentVersion\Content" -name virusdefs | select -expand virusdefs) -childpath definfo.dat)

…get virus defs version

Advertisements

Tagged: ,

3 thoughts on “Symantec Enpoint Protection–detect version and virus definitions state with Powershell

  1. gudge 9.1.2013 at 10:31 Reply

    Nice 🙂

    How can you run this against a list of computers?

  2. soykablog 13.1.2013 at 18:36 Reply

    well, it would be more usable if turned into an advanced function. At this stage I would use somethong along the lines of this:
    Invoke-Command -ScriptBlock {command from the post} -Computername $(Get-Content computers.txt)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

smsagent

Tips, tricks and time-savers for the Windows and ConfigMgr administrator

To The Point

Anything about Technology and Business

Brian's Power Windows Blog

Microsoft in the Enterprise. Windows, Hyper-V, Exchange, SQL, and more!

PowerScripting Podcast

Shownotes and links for the PowerScripting Podcast, a podcast to help people learn Windows Powershell

Learn Powershell | Achieve More

What is this Powershell of which you speak?

%d bloggers like this: