Archive

Posts Tagged ‘commandline’

Install Nagios NPRE client on Windows

December 20, 2011 Leave a comment

download the client from: http://nsclient.org/nscp/downloads (choose the *.zip file) and extract it to c:program files%foldername%

Install the service from cmd:

c:program filesnsclient++-0.3.9-x64nsclient++.exe /install

Service NSClientpp installed…
NSClient++.cpp(233) Service installed!

then start the service with net start from cmd:

net start nsclientpp

The NSClientpp (Nagios) 0.3.9.322 2011-07-04 x64 service is starting.
The NSClientpp (Nagios) 0.3.9.322 2011-07-04 x64 service was started successfully.

 

Get SMTP adresses with CSVDE (commandline) in Exchange 2003

November 23, 2011 Leave a comment

This one gives you username and primary Email address

csvde -f users.csv -r “(&(objectCategory=Person)(objectClass=user))” -l “sAMaccountname,mail”

 

This one gives you ALL email addresses connected to the user

csvde -f users.csv -d OU=SBSUsers,OU=Users,OU=MyBusiness,DC=Company,DC=no -r (mailnickname=*) -l “sAMaccountname,mail,proxyaddresses”

Install Telnet on Windows 2008 server Commandline


pkgmgr /iu:”TelnetClient”

Ref:


%d bloggers like this: