Browse by Tags

All Tags » PowerShell (RSS)

Groups and their Membership

I'm working with a new client and this client is a "wholly owned subsidiary" of another company and is getting ready to be spun off as their own company. One of the things we are doing is configuring their network to be standalone and not...
Posted by michael | with no comments

More on Update-GAC (speeding up PowerShell startup)

Jeffrey Snover of Microsoft, PowerShell dude extraordinaire, recently reminded us of a way to Speed Up PowerShell Startup times, based on an article of over a year ago titled Update-Gac.ps1 . And yes, this does help to speed up the Exchange Management...
Posted by michael | 2 comment(s)
Filed under: , ,

Attribute Scoped Queries (ASQs) in PowerShell

I'm in the process of tech-reviewing an important book (you'll want it on your shelf once it is released), and one of the things I did today was spend a while figuring out how to do Attribute Scoped Queries in PowerShell. If you develop in C#...
Posted by michael | 1 comment(s)
Filed under: ,

Creating Many Users with PowerShell and Admod

One of the mailing lists I read and occaisionally post on is named ActiveDir. A lot of heavy-hitters in the AD world hang-out around there. I've learned quite a bit by lurking there. A recent poster had wanted to create a few thousand accounts for...

Finding Services Using non-System Accounts With PowerShell

In March of 2006, I authored this blog post, Finding Services Using non-System Accounts , with the script being written in VBscript. Two years later, most of my environment is now in PowerShell. So, I've decided to update that post with the PowerShell...

Configuring Virtual Organizations and Address List Segregation in Exchange 2007

I first got really interested in Exchange Server when I started working on hosting the product for multiple companies (while using only a single server environment). In fact, I started this blog to talk mainly about hosted Exchange. My interests have...
Posted by michael | with no comments

Multivalued Parameters in PowerShell (RemoteIPRanges in Set-ReceiveConnector)

A number of parameters for EMS (the Exchange Management Shell - which is just PowerShell v1 plus the Exchange snap-ins) require the specification of a multivalued property. A multivalued property is just what it sounds like - a property that has multiple...
Posted by michael | with no comments
Filed under: , ,

Renaming and Rebooting a Computer with PowerShell

Some things are just very easy in PowerShell. It's great! Here is a true quickie - rename and reboot a computer system (including a remote computer!): function renameAndReboot([string]$computer, [string]$newname) { $comp = gwmi win32_computersystem...

Multi-platform Data Manipulation Language (DML) With PowerShell, Part 3

In Part 1 of this mini-series I presented the beginnings of a database layer supporting three different database architectures, that could easily be extended to handle more database engines. In Part 2 we built on Part 1 and discussed variable handling...
Posted by michael | 2 comment(s)
Filed under: ,

Multi-platform Data Manipulation Language (DML) With PowerShell, Part 2

In yesterday's post http://theessentialexchange.com/blogs/michael/archive/2008/01/22/DML-with-PS-_2D00_-Part-1.aspx, I promised that we would talk more about DML with PowerShell. In writing resilient code, the database layer has to be prepared to...
Posted by michael | 1 comment(s)
Filed under: ,

Multi-platform Data Manipulation Language (DML) With PowerShell, Part 1

In this article I discussed how to used ODBC to access three different database platforms: Microsoft Access, Microsoft SQL Server, and MySQL. In that article, I noted that there were some interesting challenges that come into play when generating SQL...
Posted by michael | 1 comment(s)
Filed under: ,

32-bit or 64-bit - What Is My Processor?

Almost everything you can buy in the server market these days is 64-bit capable - whether AMD or Intel. Almost. Much of what you buy in the desktop market is 64-bit capable - whether AMD or Intel. Much. Why do you care? Exchange Server 2007 is only supported...
Posted by michael | with no comments

Multi-platform database access with PowerShell

I've recently had need to be able to access data contained in three different database platforms: Microsoft Access, Microsoft SQL Server, and Mysql AB's MySQL. Originally, I thought this was going to be a tough thing to do, but it turned out to...
Posted by michael | 2 comment(s)
Filed under: ,

Making Your Computer Talk

One of the "Gee Whiz!" things about computers, ever since I saw Stanley Kubrick's 2001: A Space Odyssey as a young boy (it was released in 1968), is computers that talk . In 1968, that was science fiction. Today, it is not sci-fi and hasn't...
Posted by michael | with no comments
Filed under: ,