hello
Google
Welcome to Carpe Diem: Flaphead@Home Sign in | Join | Help

Carpe Diem: Flaphead.com

Seize the Day

News


  • Add to Technorati Favorites <script type="text/javascript" src="http://technorati.com/embed/3ni3q36ikc.js"> </script>
    This information is provided "AS IS" with no warranties, and confers no rights. Also some of the information contains my views and thoughts.
    <script src="http://widgets.technorati.com/t.js" type="text/javascript" charset="UTF-8"></script>

    Add Me! - Search Engine Optimization

    I heart FeedBurner

Browse by Tags

All Tags » PowerShell   (RSS)
Add a user to the local administrators group
How cool is this ;-) $srv=hostname;([ADSI]"WinNT://$srv/Administrators,group").Add("WinNT://<Domain>/<Account>") Read More...
Posted: 28 August 2008 10:51 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Findout who is logged on to a server
Has a problem today where I couldn't RDP to an Exchange 2007 server ... so knocked this up ;-) Get-ExchangeServer | foreach-Object {write-host $_.name; quser /server:$_} Read More...
Posted: 27 August 2008 14:56 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Exchange 2007 Mailbox Server Role Storage Requirements Calculator
I am sure you all know there is a new Storage Calculator out in the wild not, ver 15.6 I have downloaded and read the article and found a need to pass this script on to you all. Basically about half way down is a link to Collectlogs VBS script Come on! Read More...
Posted: 26 August 2008 17:10 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Exchange 2007: Offline Address Book
So been automating some global configuration in Exchange 2007 today and wanted to share this. I need to enable web distribution of the oab and couldn't find the Powershell "check box". But cracked it. You need to just populate the VirtualDirectories entry Read More...
Posted: 20 August 2008 13:04 by Paul Flaherty | 2 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Get-AllQueuesGUI.ps1 v1.4
Update to this script too, basically a change from using Get-ExchangeServer in places to Get-TransportServer. Also add a size column to the message tab. It will also log data to c:\ps\logs\<datefolder> Let me know what you think ;-) Read More...
Posted: 07 August 2008 16:14 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Get-AllQueues.ps1
So another script .. This is actually a one liner but this is an easy wrapper. The one liner is: Get-TransportServer | Get-Queue Read More...
Posted: 07 August 2008 16:12 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Dump-Help.ps1 v1.0
Recreation of an old script. Basically this will run get-help for all commands and output it to c:\ps\help .. I like it ;-) ######################################################################################### $AppName = "Dump-Help.ps1" $AppVer = Read More...
Posted: 07 August 2008 15:15 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Get-ExchangeServerPLUS.ps1 v1.14
Damm, has this script grown up recently. In a nut shell, this is the daddy of all scripts and gathers chunks of information from the Exchange Organisation and each Exchange Server by using a mixture of WMI, .Net and Exchange 2007 Powershell commands. Read More...
Posted: 30 July 2008 17:11 by Paul Flaherty | 2 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
How to disable the "Sent by Microsoft Exchange Server 2007" branding sentence in an Exchange Server 2007 DSN message
So Anderson posted this, and my initial thought was huh? The KB didn't really explain either, so it was time for a test. So the KB will allow you to remove the circled text below: And it's a nice simple PowerShell Command: Set-TransportConfig WritingBrandingInDSNEnabled Read More...
Posted: 23 July 2008 08:51 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Exchange 2003 and Windows Powershell
I just have to share this with you, as I was quite impressed by how quick I knocked this script up.  Basically I wanted to see how much email was queued up on my Exchange 2003 servers.  I had a feeling that a WMI object existed so I ran scriptomatic Read More...
Posted: 03 July 2008 20:28 by Paul Flaherty | 2 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Powershell Warnings
Do you know how sometimes you write a script and the output looks lovely, but for some stupid reason a yellow warning message ruins it. Well my school day learning from today is that you can turn them off! So lets say I run this [PS] C:\PS>get-mailboxdatabase Read More...
Posted: 03 June 2008 14:50 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Version 5 of the Mailbox Size Gui Script for Exchange 2007
The king of exchange powershell scripting .. so here is v5 of the awesome mailbox size gui script by Glen. This time he has added mailbox growth history. Check it out and download it! http://gsexdev.blogspot.com/2008/05/version-5-of-mailbox-size-gui-script.htm Read More...
Posted: 02 June 2008 15:45 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
get-PerfCounters.ps1
I wrote this a while back, and just blew the dust off it. Meet get-PerfCounters.ps1 Basically you feed the script a csv file that has "ServerName" on the first line the first. The script will then loop the servers and get the following perf counters System\System Read More...
Posted: 23 May 2008 12:17 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Exchange Management Shell: TFM (eBook)
Off the back of Eileen's post, I just couldn't resist a new ebook. So Exchange Management Shell: TFM is a 386 page secured! PDF document, with the last 8 being adverts for Sapien Press!. The secured bit is a a major pain in the butt as you can't copy Read More...
Posted: 22 May 2008 08:42 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Windows PowerShell Scriptomatic
ooh ooh ooh ... nice Source: http://www.microsoft.com/downloads/details.aspx?familyid=d87daf50-e487-4b0b-995c-f36a2855016e&displaylang=en A new utility that writes Windows PowerShell scripts that harness the power of WMI (Windows Instrumentation Management) Read More...
Posted: 20 May 2008 17:51 by Paul Flaherty | 0 Comments
Filed under: ,
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Exchange 2007 Messaging Tracking
This is an interesting one I found. We set Message Tracking on out Hub Role servers so it would purge the logs after 30 days .. nice and simple. MessageTrackingLogEnabled : True MessageTrackingLogMaxAge : 30.00:00:00 MessageTrackingLogMaxDirectorySize Read More...
Posted: 04 April 2008 12:36 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
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 Read More...
Posted: 28 March 2008 17:43 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Get-MSXBackupStatus.ps1
So this is a script I knocked up to make sure Exchange is being backed up. It does it by querying the LastFullBackup attribute of an Exchange Database. It groups servers by AD site, and I have this run as a scheduled task every day. It also send and email. Read More...
Posted: 06 February 2008 11:45 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Powershell Array Comparison
I am updating my Get-ExchangeServerPlus.ps1 and I wanted to check for a hotfix in the registry. But I wanted the ability to add more checks by adding a value to an array. So my code is enumerating the registry using WMI and I wanted to check a registry Read More...
Posted: 30 January 2008 10:07 by Paul Flaherty | 0 Comments
Filed under: ,
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Windows PowerShell Cookbook
In my past life I used to program dBase and Foxpro. I am the sort of programmer that is kind of lazy, and I like looking for samples of code and then working by code around it, or using the sample to get an Idea how to do stuff. Typically I use msdn and Read More...
Posted: 17 December 2007 16:08 by Paul Flaherty | 0 Comments
Filed under: ,
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Get-AllQueuesGUI.ps1 (v1.2)
I just have to share this with you. So for those of us who have Installed Exchange 2007 RTM, you may have noticed that the queue viewer is a bit pants. Now I have not seen Exchange 2007 Service Pack 1, so maybe this is fixed, but when I look at queues Read More...