Solved

Can't generate Export-Module, Ex2013

Posted on 2014-02-18
5
1,990 Views
Last Modified: 2014-02-19
Hi Everyone

Please can you help with the following :

OS : Server 2013 Std / Exchange 2013 Std { loaded in same environment - inherited from previous admin }
Updates : Fully updated

After executing Exchange command shell i get an error :

" Can't  generate Export-Module for the current session using Import-PSSession "

Please can you assist.

Thanks
0
Comment
Question by:aNaLyz3R
  • 3
  • 2
5 Comments
 
LVL 17

Expert Comment

by:Sikhumbuzo Ntsada
ID: 39867245
Quick question are you running the command remotely or you are on the server directly?
0
 

Author Comment

by:aNaLyz3R
ID: 39867290
I am running it remotely, what I find strange though is that I can't execute any command within the shell which I think is related to this issue.
0
 
LVL 17

Accepted Solution

by:
Sikhumbuzo Ntsada earned 500 total points
ID: 39867405
What is the status of the username in use when you run?

Get-user Sikhumbuzo | fl RemotePowerShellEnabled

Open in new window


Can you run it directly on the serve console please?

This assumes remote server execution has already been enabled on the server.
0
 

Author Comment

by:aNaLyz3R
ID: 39868111
I will check tomorrow morning and confirm.

Cheers
0
 

Author Comment

by:aNaLyz3R
ID: 39869671
Thanks, you lead me in the right direction, i ran the :

Set-ExecutionPolicy RemoteSigned and that helped with the error message i was receiving.
It no longer appears when opening the EMS.

Thanks
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now