Video Screencast Help
Scheduled Maintenance: Symantec Connect is scheduled to be down Saturday, April 19 from 10am to 2pm Pacific Standard Time (GMT: 5pm to 9pm) for server migration and upgrade.
Please accept our apologies in advance for any inconvenience this might cause.

Backup Exec

Showing posts tagged with BEMCLI
Showing posts in English
BE_KirkFreiheit | 18 Jun 2012 | 1 comment

The following blog entry was originally posted as a reply to a comment here on SymConnect.  The techniques demonstrated here are useful in virtually any PowerShell session, so I've reposted it here for the BEMCLI community:

 

With PowerShell, developers can provide a default 'view' for the format-list and format-table cmdlets.  BEMCLI does this a lot -- only the most important/common properties of BEMCLI objects are shown automatically.

BEMCLI> get-bejob


Name                  : KIRKF-OFFICE.hro.rnd.veritas.com Backup 00010-Full
JobType               : Backup
TaskType              : Full
TaskName              : Full
IsActive    ...
BE_KirkFreiheit | 15 Jun 2012 | 4 comments

Backup Exec 2012 ships with a new PowerShell module called BEMCLI.  I lead the development of BEMCLI, and am very excited about its role in making your Backup Exec tasks more automated and easier to manage.

30,000 foot view of PowerShell and BEMCLI in 30 seconds

PowerShell is an automation technology.  PowerShell contains a language.  The interface you'll start using PowerShell from is a command window, but it can also be scripted.

PowerShell commands are called "cmdlets".

Developers can write and package custom cmdlets that plug into PowerShell.  Such packages of cmdlets are called "Modules" and that's what BEMCLI is: a PowerShell module.

There are three main categories of PowerShell cmdlets:

  1. Get objects.  The topic of today's blog post.
  1. Do work -- create, change, delete objects.
  1. Filter or format output  PowerShell...