Symantec Backup Exec 2012 Adds PowerShell Support!

The latest version of Backup Exec, version 2012 adds support for PowerShell. When Backup Exec 2012 is installed, it adds a PowerShell module named “BEMCLI”:

You’ll need the .NET Framework 3.5.1 installed to be able to import this module:

I’m guessing this .NET Framework 3.5.1 issue is an oversight since the typical installation installs the .NET Framework 4.0, but doesn’t enable 3.5.1:

Enable the NET-Framework-Core Windows Feature. You’ll have to import the server manager module (Import-Module ServerManager) first if adding it through PowerShell:

Close out of PowerShell and reopen it after adding the .NET Framework to prevent the errors shown above. The BEMCLI module adds 203 PowerShell cmdlets:

Looks like a lot of fun for us PowerShell Enthusiasts. Here’s a list of the “Get” cmdlets:

There will definitely be more blog articles about this PowerShell Module. I’m happy to see that more vendors are seeing the benefits of adding PowerShell support to their products.

Update 5/19/2012

You’ll also need to set the script execution policy on the system you’re importing the BEMCLI PowerShell module on otherwise you’ll receive an error when trying to import it:


1 Comment

  1. Rob Cornelius

    Hi Mike: I would like to do a powershell script to create a quick report showing last night’s backup jobs to include the actual media label that was used. As I dig into this I find that this is not the easiest thing to do. Have you found a way to do this?

    Example of what I am looking to do:

    Job Name: Media Label: Status: Job Type:
    ————— —————– ——— ————-
    FileServer1 L00123L5 Completed Daily Backup
    WebServer1 B2D00234 Completed Weekend Backup



Leave a Reply to Rob Cornelius Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: