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.
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: