Welcome to TechNet Blogs Sign in | Join | Help

Back in the UK - with some scripts to write

So I'm finally back on the GMT timezone - although it will take my body clock a couple of days to catch up with the 8 hour time difference.  I'm hungry at completely the wrong times and more than a little tired.  My head is totally full of the E12 stuff I've learned from the course over the last few days.  Some stuff that I can talk about, and some stuff that we'll be talking about soon (that's the hard bit actually - I need a list with 2 columns in it detailing what I can and can't talk about - so I don't make any slip ups due to not knowing what I can  or can't say at the moment).

But what I can, and should talk about is Monad - a hard thing for a platforms person like me - so I've been on the search for a decent book on the topic.  And found this one and am going to have to work my way through it, and try to get some sort of understanding of the Monad shell.  Oh Yikes.  The Exchange team have an example of Monad script if you want to start to scare yourself before reading the book.  And here's a tip I've pinched from the Exchange team which seems useful for automating the creation of Storage groups..

Here’s a handy tip for repeating a command n times. Instead or writing a for loop as in classical languages, simply use the following syntax:
1..10 | foreach {“do something here”}
For example:
 
1..10 | foreach { new-storagegroup -name “sg$_” –server foobar }
 
Will create 10 new storage groups with names: sg1 through sg10 on server foobar. 

Don't think I'll ever get to that standard.  I'll stick to the simple stuff...the very simple stuff...

 

Published Friday, January 20, 2006 7:04 PM by Eileen_Brown
Filed Under: ,

Comments

Friday, January 20, 2006 2:49 PM by Christian Schindler

# re: Back in the UK - with some scripts to write

Monad is the real cool stuff in E12. From an admin perspective everything I ever wanted in Exchange... This is the first time that you have more possibilties on the command line than in the GUI. Brilliant!
Thursday, February 09, 2006 7:45 AM by Adam's Mindspace

# UKESP Relaunch Press Release - Competition time

We've created this press release that will be included in a forthcoming TechNet flash newsletter so I...
Tuesday, April 11, 2006 11:38 AM by Eileen Brown's WebLog

# Download Monad and start scripting stuff...

Guy has been giving me a few hints and tips recently since I admitted to my terror at using Monad and...
New Comments to this post are disabled