|
|
Browse by Tags
All Tags » Scripting
-
#Exchange2010 - Found this and it’s damm handy and what's cool is that its a Windows Powershell v2 thing and you don't need Exchange :-| Source: http://www.howexchangeworks.com/2009/11/send-emails-easily-using-powershell-v2.html
-and-
Source: http://technet.microsoft.com/en-us/library/dd347693.aspx
The Send-MailMessage cmdlet sends an ...
-
PsSnapin is called: Microsoft.EnterpriseManagement.OperationsManager.Client get-help * | where {$_.pssnapin -like "*Enter*"} | sort name | select name,synopsis | ft –auto Name
Synopis Add-ConnectorToTier Configures an ...
-
I’m doing requests now ;-)
This script will dump a list of user accounts that have “Password never expires” checked $CurrentDomain = [System.DirectoryServices.ActiveDirectory.Domain]::getcurrentdomain()
$Forest = $CurrentDomain.Forest.ToString()
$Forest = "dc=" + $Forest ...
-
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 ...
-
Been surfing today and found a whole load of Microsoft .. omatic utilities
Tweakomatic The Tweakomatic is a nifty new utility that writes scripts that allow you to retrieve and/or configure Windows and Internet Explorer settings. So what, you might ask. Well, think about it. Because these are WMI scripts, they can be used to configure settings ...
|
|
|