|
|
Browse by Tags
All Tags » PowerShell » Scripting
-
WHAT! I hear you say, you can't do that! .. Very true, but you can automate it ;-) using the wonders of Powershell
Exchange 200x
First you will need to use adsiedit.msc and get the groups distinguishedName. Once you have that, using an account that has access to over the users AD objects you run this code:
$mygroup = ...
-
This is a handy little check. If you want to see what scheduled tasks are running on your Exchange 2007 servers try this:
Get-ExchangeServer | foreach-object{$srv=$_.Name.ToString(); write-host ''`n`n$srv''; schtasks /s \\$srv /query}
Enjoy
-
How cool is this ;-)
$srv=hostname;([ADSI]''WinNT://$srv/Administrators,group'').Add(''WinNT://<Domain>/<Account>'')
-
I saw Andy posted this (http://telnetport25.wordpress.com/2008/03/16/quick-ish-tip-exchange-2007-setting-oof-for-users-via-powershell-2/) today and wanted to share my script.
It uses the same dll from Glen(EWSOofUtil.dll) to open the specified users mailbox and Enable/Disable a users Out Off Office Setting. This in theory fixes an Issue with ...
|
|
|