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)
Send-Mail.ps1 v3.2 [7 November 2008]
v3.0 6 August 2008 : Removed the GUI form the original script v3.1 22 August 2008 : Updated to "autofind" a hub server if -server is not specified v3.2 7 November 2008 : Some minor tweeks. Added event logging.Added Error Event logging This script uses Read More...
Posted: 19 November 2008 14:02 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-hotfix.ps1 v1.5 [7 November 2008]
Okay I have updates as follows: v1.0 27 October 2008 : A Script is born v1.1 28 October 2008 : Add ability to expose Server Model v1.2 31 october 2008 : Added email and commandline v1.3 4 November 2008 : Added option to check recent changes v1.4 6 November Read More...
Posted: 19 November 2008 13:57 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
CAS vdir restore using PowerShell
Wow is all I have to say, this is a damm excellent article and script .. check it out: http://technet.microsoft.com/en-us/library/bb124359.aspx Basically, it's a script that will recreate your owa virtual directories from a previous xml export! ..I just Read More...
Posted: 18 November 2008 15: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.
Get-MailboxStatistics with TotalItemSize in MB to a CSV file
Just ignore this, I wanted to store this code snippet somewhere and this was the best place. But if you are interested this will create a csv file from Get-MailboxStatistics, but with the TotalItemSize in MB "DisplayName,TotalItemSize(MB),ItemCount,StorageLimitSize,Database,LegacyDN" Read More...
Posted: 14 November 2008 15:26 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Powershell and where
Another thing I wanted to share. If you want to say Get-MailboxServer but only want a subset of server you could try this: Get-MailboxServer | Where {$_.Name -LIKE "*Serv01" -OR $_.Name -LIKE "Ex*NYC*"} Enjoy Read More...
Posted: 14 November 2008 14: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.
Scheduling a Powershell Command
Just wanted to share this with you all. So I have a number of scripts that I schedule to run either every 10 min, once a day or once a week. It's simple really, I create .cmd file that I then use the task scheduler or schtasks to create. Inside the .cmd Read More...
Posted: 14 November 2008 14:05 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 Powershell and Whatif
So I have been creating a few scripts to automate the configuration of exchange, and wanted to use the -WhatIf switch so you can see what would or would not change. -WhatIf [<SwitchParameter>] The WhatIf parameter instructs the command to simulate Read More...
Posted: 14 November 2008 09:25 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-Hotfixes.ps1 v1.4 [7 November 2008]
This script uses Get-ExchangeServer to generate a list of servers and will enumerate the Exchange Patch information and list the windows updates installed on the server. This update changes the way the server list is generated and added the ability to Read More...
Posted: 07 November 2008 14:44 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
schtasks
I mentioned this before as a way to script adding tasks to a server. So I came across an issue the other day, where I ran it once, but then it failed on the second time: ERROR: Multiple connections to a server or shared resource by the same user, using Read More...
Posted: 07 November 2008 14:29 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-AllQueuesGUI.ps1 v1.5 [24 October 2008]
A while back I posted this , but to have something more "in your face" I put a GUI around it, and this is the latest version. The script enumerates all messaging queue and displays it in a GUI. The GUI then refreshes every 10 seconds. THE GUI has four Read More...
Posted: 31 October 2008 11:46 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-hotfix.ps1
I needed to get a quick list of the hotfixes installed on my Exchange 2007 servers. So I “knocked” this up .. enjoy Read More...
Posted: 27 October 2008 17:04 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
TechNet Webcast: 24 Hours of Exchange Server 2007 (Part 08 of 24): Introduction to Windows PowerShell (Level 200)
At last I think I have cracked it so I can download these TechNet Webcasts as a video podcast to my Zune! Will post more as I get round to it, but here is the first one! .. Enjoy .. the RSS is: http://blogs.flaphead.dns2go.com/rss.aspx?Tags=BlogCast&AndTags=1 Read More...
Posted: 22 October 2008 20:55 by Paul Flaherty | 0 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
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 Read More...
Posted: 20 October 2008 14: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-ExchangeADChanges.ps1
So I needed a way to check what has changed in the Exchange Configuration container … basically if something stopped worked ;-) So I came up with this. I run it once a week, and it checks for changes in the last 7 days. It has one command line option Read More...
Posted: 08 October 2008 13:21 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 SP1 Powershell Commands
This is kinda interesting .. honest .. Did you know there are 394 Powershell command with Exchange 2007 SP1.  But thats not intersting, the table below is!  So the AD and Server build boys said … no mate, you can’t have local admin rights to Read More...
Posted: 24 September 2008 17:01 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
Enable-ServiceEmailChannel
Everyday is indeed a School Day and I had never come across this command util today! The .NET service channel is introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1). This channel enables Exchange Server 2007 to store information that it Read More...
Posted: 24 September 2008 09:49 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 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 Read More...
Posted: 15 September 2008 17:18 by Paul Flaherty | 1 Comments
eXTReMe Tracker
Add Me! - Search Engine Optimization
Locations of visitors to this page Blog Flux Pinger - reliable ping service.
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 | 1 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.