Help about the BEMCLI can be accessed by:
Command discovery
Get-BECommand can be used with wildcards to show a subset of available commands
example:
Get-BECommand *backup*
will show all commands the contatin the word backup
Getting cmdlet help
Get-help
this will give you a synopsis, the syntax, and description of the cmdlet
Get-help
This wil give you examples of how to use the cmdlet
BEMCLI> get-help New-BEBackupDefinition -Examples
NAME
New-BEBackupDefinition
SYNOPSIS
Creates a new backup definition in Backup Exec.
-------------------------- EXAMPLE 1 --------------------------
C:\PS> Get-BEAgentServer -Local | New-BEBackupDefinition -BackupJobDefault BackupToDisk | Save-BEBackupDefinition
These commands create a new backup definition that backs up the entire local computer using the BackupToDisk defaults.
-------------------------- EXAMPLE 2 --------------------------
C:\PS> Get-BEAgentServer -Local | New-BEBackupDefinition -BackupJobDefault BackupToDisk -FileSystemSelection C:\Windows\*,D:\* -SystemStateSelection Include | Save-BEBackupDefinition
These commands create a new backup definition that backs up the C:\Windows directory, the D: drive, and the System State of the local computer.
-------------------------- EXAMPLE 3 --------------------------
C:\PS> Get-BEAgentServer -Local | New-BEBackupDefinition -BackupJobDefault BackupToDisk | Remove-BEBackupTask * | Add-BEDifferentialBackupTask | Save-BEBackupDefinition
These commands create a new backup definition that backs up the local computer with an initial full and a differential backup.
Other options for get-help are full, detailed, and parameter