-
- Novice
- Posts: 6
- Liked: never
- Joined: May 14, 2019 9:44 am
- Full Name: David
- Contact:
How to use Exchange cmdlets
Hi,
I've loaded the Veeam powershell editor via the B&R console gui and imported the exchange module. But I still cannot run commands like Get-VEXCommand as they are not recognised.
I can run get-vbr command but cant get the exchange specific commands.
Im trying to write a script to automate multiple mailbox restores.
Thanks.
I've loaded the Veeam powershell editor via the B&R console gui and imported the exchange module. But I still cannot run commands like Get-VEXCommand as they are not recognised.
I can run get-vbr command but cant get the exchange specific commands.
Im trying to write a script to automate multiple mailbox restores.
Thanks.
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
-
- Novice
- Posts: 6
- Liked: never
- Joined: May 14, 2019 9:44 am
- Full Name: David
- Contact:
Re: How to use Exchange cmdlets
I imported Veeam.Exchange.PowerShell
But not
Import-Module Veeam.Sharepoint.PowerShell
Import-Module Veeam.Oracle.PowerShell
Import-Module Veeam.SQL.PowerShell
as I want to use the exchange specific cmdlets
however, I noticed if I try to import the last three, they are not available for import.
But not
Import-Module Veeam.Sharepoint.PowerShell
Import-Module Veeam.Oracle.PowerShell
Import-Module Veeam.SQL.PowerShell
as I want to use the exchange specific cmdlets
however, I noticed if I try to import the last three, they are not available for import.
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: How to use Exchange cmdlets
Ah, I didn't notice it in your original post, sorry for that. You've tried doing this via Veeam B&R console, do you see the same result for Veeam.Exchange.PowerShell when just starting the PS snap-in in Windows and registering all manually?
-
- Novice
- Posts: 6
- Liked: never
- Joined: May 14, 2019 9:44 am
- Full Name: David
- Contact:
Re: How to use Exchange cmdlets
Hi, thanks for your reply and for taking the time to assist me.
Yes I get the same result im afraid.
Yes I get the same result im afraid.
-
- Influencer
- Posts: 10
- Liked: never
- Joined: May 02, 2019 8:28 am
- Contact:
Re: How to use Exchange cmdlets
Try to include this command
Add-PSSnapin VeeamPSSnapin
Add-PSSnapin VeeamPSSnapin
-
- Novice
- Posts: 6
- Liked: never
- Joined: May 14, 2019 9:44 am
- Full Name: David
- Contact:
Re: How to use Exchange cmdlets
Hi thanks for your reply.
Yes i'm following the notes here: https://helpcenter.veeam.com/docs/backu ... l?ver=95u4
So I've already completed this step.
Yes i'm following the notes here: https://helpcenter.veeam.com/docs/backu ... l?ver=95u4
So I've already completed this step.
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: How to use Exchange cmdlets
Are you performing these steps on the backup server or in a remote computer with just a backup console installed?
-
- Novice
- Posts: 6
- Liked: never
- Joined: May 14, 2019 9:44 am
- Full Name: David
- Contact:
Re: How to use Exchange cmdlets
Im on the server with Veeam B&R on and have run run Powershell from within the software, and just tried running it from a normal powershell session.
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: How to use Exchange cmdlets
Ok, do you see the VEX module by running this command Get-Module? This would should you if this module is registered or not. If not, this would explain why cmdlet is not recognized and I would suggest contacting our support team for quick WebEx session to sort it out.
-
- Novice
- Posts: 6
- Liked: never
- Joined: May 14, 2019 9:44 am
- Full Name: David
- Contact:
Re: How to use Exchange cmdlets
Yes as per my first post I still cannot run commands like Get-VEXCommand as they are not recognised.
Thanks ill open a ticket
Thanks ill open a ticket
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: How to use Exchange cmdlets
Let us know your case ID, so that we could update this topic with a solution for future readers. Thanks!
-
- Lurker
- Posts: 1
- Liked: never
- Joined: Feb 20, 2019 12:39 am
- Contact:
Re: How to use Exchange cmdlets
Hi - How was this issue resolved?
I'm experiencing the same exact issue where we're able to add the VeeamPSSnapIn using "Add-PSSnapIn" command, but we cannot add any of the following modules using the Import-Module command:
Import-Module Veeam.Exchange.PowerShell
Import-Module Veeam.Sharepoint.PowerShell
Import-Module Veeam.Oracle.PowerShell
Import-Module Veeam.SQL.PowerShell
The error message displayed is:
Import-Module : The specified module 'Veeam.Exchange.PowerShell' was not loaded because no valid module file was found in any module directory.
We have following the exact steps as the OP did also. Our PSVersion is v5.1
Any assistance is appreciated. Thanks!
I'm experiencing the same exact issue where we're able to add the VeeamPSSnapIn using "Add-PSSnapIn" command, but we cannot add any of the following modules using the Import-Module command:
Import-Module Veeam.Exchange.PowerShell
Import-Module Veeam.Sharepoint.PowerShell
Import-Module Veeam.Oracle.PowerShell
Import-Module Veeam.SQL.PowerShell
The error message displayed is:
Import-Module : The specified module 'Veeam.Exchange.PowerShell' was not loaded because no valid module file was found in any module directory.
We have following the exact steps as the OP did also. Our PSVersion is v5.1
Any assistance is appreciated. Thanks!
-
- Product Manager
- Posts: 5797
- Liked: 1215 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: How to use Exchange cmdlets
As suggested in this topic, please contact support for insight and a solution.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
Who is online
Users browsing this forum: No registered users and 6 guests