?
Solved

Can't generate Export-Module, Ex2013

Posted on 2014-02-18
5
Medium Priority
?
3,548 Views
Last Modified: 2017-08-01
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 1500 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
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.
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…

615 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