Solved

Can't generate Export-Module, Ex2013

Posted on 2014-02-18
5
2,098 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I was assigned the task of performing a hardware refresh in the datacenter. The previous Windows 2008 systems were connected to the SAN via fiber channel HBA’s and among other thing, had PowerPath installed in order to provide sufficient f…
The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

816 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

12 Experts available now in Live!

Get 1:1 Help Now