Hello,
I am a beginner in POWERSHELL/VEEAM and I have only one question :
I want to use powershell for VEEAM in a batch file.
If I open powershell from veeam directly => NO problem and I can do all I want.
But How can I use powershell for VEEAM with a batch file ?
I searched in the forum before (and Google), but I did not find a solution.
Could someone help me ?
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Aug 23, 2015 9:00 pm
- Full Name: NADON
- Contact:
-
- Product Manager
- Posts: 20406
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: VEEAM Powershell and batch file
Take a look at this post and ask for additional clarification, should it be needed. Thanks.
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Aug 23, 2015 9:00 pm
- Full Name: NADON
- Contact:
Re: VEEAM Powershell and batch file
Thank you for your help.
I know the adress of this file.
But if I Launch it in a batch file, then, VEEAM commands are not reconized. I get an error.
I think there is a parameter or a command to open powershell in VEEAM environment and to use VEEAM commands.
Could someone give me this, please ?
I know the adress of this file.
But if I Launch it in a batch file, then, VEEAM commands are not reconized. I get an error.
I think there is a parameter or a command to open powershell in VEEAM environment and to use VEEAM commands.
Could someone give me this, please ?
-
- Product Manager
- Posts: 20406
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: VEEAM Powershell and batch file
Did you add a VB&R PS snap-in in the beginning of the script?
Thanks.
Code: Select all
Asnp VeeamPSSnapin
Who is online
Users browsing this forum: No registered users and 7 guests