Carpe Diem: Flaphead@Home

seize the day
Welcome to Carpe Diem: Flaphead@Home Sign in | Join | Help
in Search

Browse by Tags

All Tags » Scripting
  • #Powershell and Send-MailMessage cmdlet

    #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 ...
    Posted to Carpe Diem: Flaphead.com (Weblog) by paul on December 9, 2009
  • Powershell Cmdlets for SCOM 2007 R2 (beta)

    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 ...
    Posted to Carpe Diem: Flaphead.com (Weblog) by paul on May 12, 2009
  • Export non expiry password accounts

    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 ...
    Posted to Carpe Diem: Flaphead.com (Weblog) by paul on April 17, 2009
  • Setting Exchange mailbox size limits on a group

    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 = ...
    Posted to Carpe Diem: Flaphead.com (Weblog) by paul on October 20, 2008
  • Get a list of scheduled tasks running on your exchange servers

    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
    Posted to Carpe Diem: Flaphead.com (Weblog) by paul on September 15, 2008
  • Add a user to the local administrators group

    How cool is this ;-) $srv=hostname;([ADSI]''WinNT://$srv/Administrators,group'').Add(''WinNT://<Domain>/<Account>'')   
    Posted to Carpe Diem: Flaphead.com (Weblog) by paul on August 28, 2008
  • Exchange 2007 / Outlook 2003 / Blackberry & OoO

    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 ...
    Posted to Carpe Diem: Flaphead.com (Weblog) by paul on March 28, 2008
  • .. omatic

    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 ...
    Posted to Carpe Diem: Flaphead.com (Weblog) by paul on October 9, 2007
Powered by Community Server (Personal Edition), by Telligent Systems