Hey guys!
Running into an issue where I can’t enable a remote mailbox when its in a script. I can do it normally, but whenever I run my script, I got a exception error.
The type initializer for ‘Microsoft.Exchange.Diagnostic.ExTrace.Configuration’ threw an exception.
*CategoryInfo : Operation Stopped:(adminserver.mydomain.com:String) [], PSRemotingTransportException *FullyQualifiedErrorID : JobFailure *PSComputerName : adminserver.mydomain.com
I ran through Google and was searching for anything that could help. I installed Powershell 4.0 in the hopes that would work, but to no avail. These are Win 2008R2 machines.
Is there any place else I can look or things to try before I have to start over from scratch? Any and all help is, as always, appreciated.
Thanks!
EDIT: For context, here is the pastebin. It dies at line 164.
submitted by /u/idolmindapproved
[link] [comments]
The post Issue with enabling remote mailbox in script appeared first on How to Code .NET.