07-04-2014 07:14 AM
Hello,
I would like to export all the view joblog in a excel file with some fields , name of te job, type , success or not sucess, with all the field by default.
I have installed Backup Exec Management Command Line Interface on the sever but i don't how to answer sql database to get this informations.
I tried get-jobs > c:\joblist.xls but with a file 0 Ko.
When i open Backup Exec Management Command Line Interface, it display this message in red ? did you know why ?
Bienvenue sur l'interface de gestion par ligne de commande Backup Exec
Pour obtenir la liste des commandes Backup Exec, saisissez :
Get-BECommand
Pour lancer l'interface de gestion par ligne de commande Backup Exec, saisissez
:
Show-BEHelp
Copyright (c) 2012 Symantec Corporation. All rights reserved.
Import-Module : Impossible de charger le fichier D:\Program Files\Symantec\Back
up Exec\Modules\BEMCLI\BEMCLI.Scripts.psm1. Le contenu du fichier D:\Program Fi
les\Symantec\Backup Exec\Modules\BEMCLI\BEMCLI.Scripts.psm1 peut avoir été fals
ifié, car le hachage du fichier ne correspond pas à celui qui figure dans la si
gnature numérique. Le script ne sera pas exécuté sur le système. Pour plus d'in
formations, consultez « get-help about_signing »..
Au niveau de ligne : 1 Caractère : 17
+ & {import-module <<<< 'd:\Program Files\Symantec\Backup Exec\Modules\BEMCLI\
BEMCLI.psd1'; function global:prompt{ 'BEMCLI> ' }}
+ CategoryInfo : NotSpecified: (:) [Import-Module], PSSecurityExc
eption
+ FullyQualifiedErrorId : RuntimeException,Microsoft.PowerShell.Commands.I
mportModuleCommand
07-05-2014 12:16 AM
Did you install BE onto the D: drive? It appears that the BEMCLI module is either damaged or not meant to be installed on the D: drive.
07-07-2014 12:38 AM
Yes it is.
I would like to export all the view joblog in a excel file with some fields , name of the job, type, success or not sucess, with all the field by default.
What is the request ? and how i can do this ?
07-07-2014 12:58 AM
Before you can even talk about what cmdlet to use, you got to get BEMCLI working.
Start up a command prompt and key in
1) Powershell
2) set-executionpolicy remotesigned
3) import-module "d:\program files\symantec\backup exec\modules\bemcli\bemcli"
Let me know whether you get any error messages
11-05-2014 11:42 PM
Hello,
I did, Nothjing more, and no messages displayed ...
After what we do ?
Voulez-vous modifier la stratégie d'exécution ?
[O] Oui [N] Non [S] Suspendre [?] Aide (la valeur par défaut est « O ») : O
PS C:\Documents and Settings\Administrator> import-module "d:\program files\s
ymantec\backup exec\modules\bemcli\bemcli"
PS C:\Documents and Settings\Administrator>
11-05-2014 11:59 PM