Solved

Can't generate Export-Module, Ex2013

Posted on 2014-02-18
5
2,249 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

This article will review the basic installation and configuration for Windows Software Update Services (WSUS) in a Windows 2012 R2 environment.  WSUS is a Microsoft tool that allows administrators to manage and control updates to be approved and ins…
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 to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
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…

738 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