Remote PowerShell Error: Value cannot be null

Status
Not open for further replies.
E

Eric Thorsteinson

I am trying to run commands on our exchange server from another server, and I keep running into this problem regard less of the command I run. For example I am trying to run the New-MailboxExportRequest and I alway get the error " Value cannot be null." If I run the command from the exchange server console it works fine.

the client machine is Server 2008 (x86) and the server is Server 2008 R2 (x64).

Here is the exact log of what I am doing
Windows PowerShell Copyright (C) 2009 Microsoft Corporation. All rights reserved. PS C:\Users\Administrator> Enter-PSSession -computerName SAM [sam]: PS C:\Users\Administrator\Documents> Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 [sam]: PS C:\Users\Administrator\Documents> new-mailboxexportRequest cmdlet New-MailboxExportRequest at command pipeline position 1 Supply values for the following parameters: Mailbox: eric FilePath: C:\Test\eric.pst Value cannot be null. Parameter name: parameters + CategoryInfo : + FullyQualifiedErrorId : System.ArgumentNullException,Microsoft.Exchange.Management.RecipientTasks.NewMailboxExportRequest [sam]: PS C:\Users\Administrator\Documents>
It seems that almost all the exchange commands do not work using this connection method. Can any one tell me what I am missing?
 
E

Eric Thorsteinson

I have not. and can try it. Although I get the same error if I execute anything from the exchange tool set. For example if I do " Get-MailboxDatabase -Status" I get the same error.
 
E

Eric Thorsteinson

I am running 2008 R2. But I still have not found a solution to the problem. :(
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
M McAllister Outlook stops Sending/Receiving/Synching after disconnecting remote desktop session Using Outlook 2
T Lost access to remote BCM database BCM (Business Contact Manager) 4
M BCM remote database connection issue BCM (Business Contact Manager) 1
R BCM 2010 Problem with remote office (VPN) users cannot connect BCM (Business Contact Manager) 12
K Aol and remote devices Using Outlook 1
T Shared BCM database on remote server BCM (Business Contact Manager) 1
S Cannot Find Shared Database on Remote Computer BCM (Business Contact Manager) 13
J BCM 2010 - New user cannot connect to remote DB BCM (Business Contact Manager) 5
H Mailing List account needed with remote smtp auth facility Exchange Server Administration 3
M BCM 2010 Cannot Connect to Remote Database BCM (Business Contact Manager) 1
C Remote BCM database 2010 hosted via Godday SQL Server + access via PC Window 7 BCM (Business Contact Manager) 3
C DAGs and remote sites Exchange Server Administration 3
M OWA and Remote File server Using Outlook 1
M CAS Issue: OWA/Outlook remote users cannot login Exchange Server Administration 1
B Outlook 2010 unable to connect to a remote Microsoft Exchange 2003 server Using Outlook 8
B Problems getting a remote client working. Using Outlook 2
H Business Contact Manager 2010 Running On remote desktop / terminal server Enviornment Using Outlook 1
T Remote delivery Exchange Server Administration 1
W remote FSW networking requirements Exchange Server Administration 4
S Remote Device Wipe Confirmation Email Exchange Server Administration 2
M Cannot relay emails to a remote AD site Exchange Server Administration 2
L 2010 outlook not authenticating with a remote exchange server using pop accounts No problems with 20 Using Outlook 2
J Added Exch 2010 to 2003 envir. Mail to ext contact get "Body type not supported by Remote Host" Exchange Server Administration 4
M remote email access Using Outlook 1
S EMC won't open on remote station Exchange Server Administration 17
I event ID 8010 : message rejected by remote server Exchange Server Administration 1
K What 'additional capabilities' do the Exchange management tools provide over a remote shell? Exchange Server Administration 6
J Accessing email from remote device. Using Outlook 2
R Hosting Exchange For Remote Users in another domain Exchange Server Administration 1
M Remote move transfer rates Exchange Server Administration 1
S Bandwidth Requirements for Remote DAG Member Exchange Server Administration 5
R Remote Move Request using EMC Exchange Server Administration 5
J Select Remote Users Can't Connect to Exchange Server Exchange Server Administration 11
R Re: Remote EMS Error Exchange Server Administration 7
R Remote EMS Error Exchange Server Administration 3
T Remote Item Header Using Outlook 4
S Remote connection to bcm BCM (Business Contact Manager) 1
K Remote File Servers in Outlook Web Access? Exchange Server Administration 4
I Exchange 2010 Initialization failed (The windows remote shell cannot process the request) Exchange Server Administration 21
A BCM 2010 & remote database BCM (Business Contact Manager) 3
I RBAC Authentication error - Remote EMC not able to access Exchange Organization Exchange Server Administration 13
D BCM and remote synchronization BCM (Business Contact Manager) 1
S will SQL 2003 work for remote server BCM (Business Contact Manager) 1
C Installing BCM 2007 on Remote Server with MS Server 2003 BCM (Business Contact Manager) 1
M trouble connection to remote database BCM (Business Contact Manager) 1
D Install SQL on a remote server for 2003? BCM (Business Contact Manager) 1
Diane Poremsky Use PowerShell to log into Office 365 Exchange New Slipstick.com Articles 0
marcadamcarter Interrogate Outlook GAL with PowerShell Using Outlook 0
R Exchange - Locating a user that has log files but is not found using powershell Exchange Server Administration 1
Britonius Exchange Powershell to Remove Reviewer access from all Folders in a mailbox? Using Outlook 3
Similar threads


















































Top