OK, by default the add-pssnapin Microsoft.Exchange.Management.PowerShell should link to the highest version installed, since that seems to be having troubles, let's try importing the 2013 version specifically.
add-pssnapin Microsoft.Exchange.Management.PowerShell.E2013
Also I just wanted to confirm, this is a 64 bit OS and using 64 bit powershell application? The exchange 2013 snapin can be installed on but not loaded on x86 systems, hence why I asked.
exchange 2013 powershell script
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: exchange 2013 powershell script
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: exchange 2013 powershell script
Update:
I run powershell ise "as administrator"
When prompted for 'identity' I entered the servername
It exits
Does that mean everything is fubar?
I run powershell ise "as administrator"
When prompted for 'identity' I entered the servername
It exits
Code: Select all
OK: - 0 checks are OKRe: exchange 2013 powershell script
Looks like it *might* not be able to read any output, so it defaults to 0. It's been a while since this thread was last active, so apologies if my thoughts are not fresh in my head.sreinhardt wrote:Also I just wanted to confirm, this is a 64 bit OS and using 64 bit powershell application? The exchange 2013 snapin can be installed on but not loaded on x86 systems, hence why I asked.
Former Nagios employee
Re: exchange 2013 powershell script
yeah, I know. I had a bunch of other things and a holiday in the meantime..
Are there any plans for an official plugin for exchange2013?
Are there any plans for an official plugin for exchange2013?
Re: exchange 2013 powershell script
I would think not. We actively maintain the standard Nagios plugins but in terms of creating new ones that would need to be discussed.MichielvM wrote:Are there any plans for an official plugin for exchange2013?
Former Nagios employee
Re: exchange 2013 powershell script
I managed to get in toucht with the author of the script.
He provided me with an updated version.
Back to thinkering and testing.
I got it running on the server. That's positive.
points to figure out:
Have NagiosXi run powershell as admin
and edit the command to pass the args
How to auto-run the add-snapin comandlet (servers tend to reboot every now and then)
bug my admins on what they really need to see....
He provided me with an updated version.
Back to thinkering and testing.
I got it running on the server. That's positive.
points to figure out:
Have NagiosXi run powershell as admin
and edit the command to pass the args
How to auto-run the add-snapin comandlet (servers tend to reboot every now and then)
bug my admins on what they really need to see....
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: exchange 2013 powershell script
That guy right therebug my admins on what they really need to see...
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.