PowerShell

Enable Windows Power Saving features while running HyperV on Windows 2008 R2

by Nicolas Blank 16 May 2011 Documentation

Running  HyperV on my laptop as my preferred hypervisor is enabled by using Server 2008 R2 as my laptops primary operating system, however, the caveat is that all power management features are automatically disabled. Hyper-V management services have a base dependency on a driver service known as HVBOOT. HVBOOT is a driver and as such [...]

Share this post:
  • Twitter
  • muti
  • laaik.it
  • Facebook
  • Posterous
  • del.icio.us
  • Digg
  • Live
  • LinkedIn
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Fark
  • email
0 comments Read the full article →

Exchange 2010 remote PowerShell breaks after add/remove/change of IP Address

by Nicolas Blank 5 April 2011 Exchange

Something that occurs in a lab situation quite frequently and less in real life is changing IP addresses on your Exchange server. Some of my lab servers frequently undergo a scenario change where I’ll add or remove them from specific Hyper-V networks or subnets.   Then one day everything broke. EMS reported : Connecting to [...]

Share this post:
  • Twitter
  • muti
  • laaik.it
  • Facebook
  • Posterous
  • del.icio.us
  • Digg
  • Live
  • LinkedIn
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Fark
  • email
2 comments Read the full article →

Using PowerShell to find the MAPI endpoint on Exchange 2010

by Nicolas Blank 30 March 2011 Exchange

I’ve been working with some folks who are discovering the intricacies of MAPI on Exchange 2010. Since they were feeling some pain on this issue, I thought it may be worth writing about in case more folks are running into the same issue. We’re used to Outlook doing a load of things for us, and [...]

Share this post:
  • Twitter
  • muti
  • laaik.it
  • Facebook
  • Posterous
  • del.icio.us
  • Digg
  • Live
  • LinkedIn
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Fark
  • email
0 comments Read the full article →

Using PowerShell to determine the state of MAPI Encryption on Exchange Servers

by Nicolas Blank 15 March 2011 Exchange

In Exchange 2010 specifically, or even Exchange 2007/2010 mixed orgs you can easily detect which servers require MAPI encryption. The easiest would be to run Get-RPCClientAccess, which returns all Exchange 2010 servers  hosting MAPI Endpoints and all encryption levels as well as if the server carries  MAPI client and/or public folder responsibility. The output above [...]

Share this post:
  • Twitter
  • muti
  • laaik.it
  • Facebook
  • Posterous
  • del.icio.us
  • Digg
  • Live
  • LinkedIn
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Fark
  • email
0 comments Read the full article →

Useful Powershell and WMI Tip

by Peter Johnson 18 May 2010 Documentation

During my day to day operations, currently doing a documentation exercise, I came across the following rather useful tip to recover the UUID of a server from within Windows using Powershell either locally or on a remote server. The UUID is a 32 bit number for the server that is guaranteed to be unique across [...]

Share this post:
  • Twitter
  • muti
  • laaik.it
  • Facebook
  • Posterous
  • del.icio.us
  • Digg
  • Live
  • LinkedIn
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Fark
  • email
3 comments Read the full article →

Old Computer Accounts in Active Directory

by Andrew Herron 20 April 2010 Active Directory

I needed to find out which computer accounts where stale in a Active Directory Environment. I first tried to use Powergui to get the information that I required by exporting all the computer objects to a csv. When I opened the csv that I exported I could not find the attribute that I was looking [...]

Share this post:
  • Twitter
  • muti
  • laaik.it
  • Facebook
  • Posterous
  • del.icio.us
  • Digg
  • Live
  • LinkedIn
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Fark
  • email
1 comment Read the full article →

Power Shell in the Enterprise – Standards and Best Practices

by Nicolas Blank 11 March 2010 PowerShell

I’ve been teaching PowerShell formally and informally for the last three years or so, and one of the trends I find coming up more and more, especially in companies that have their own in house development capability is the need to establish Standards for PowerShell developments, script rollout, signing, etc.

One of the MANY advantages that PowerShell has is the concept of Code Signing, and built in restricted execution policies – meaning that companies can choose to ONLY run signed production scripts across their enterprise. This dramatically limits the kind of exposure that companies used to face with Windows Script Host and VBS scripts.

Often the companies I teach don’t know where to start, and without having some kind of whitepaper to refer to this can be difficult.

Dmitry Sotnikov blogged about the release of a new whitepaper written by PowerShell MVP Jeffery Hicks, who’s one of the leading figures writing about PowerShell and it’s practical application. I especially love the TFM books he’s written on PowerShell 1.0 and 2.0 and recommend you grab a copy of the latest one if you’re in any way serious about using PowerShell.

The whitepaper explains the issue and suggests standardisation based on several examples and is should be added to the suggested reading list if you’re starting with or thinking of using PowerShell in your company.

Share this post:
  • Twitter
  • muti
  • laaik.it
  • Facebook
  • Posterous
  • del.icio.us
  • Digg
  • Live
  • LinkedIn
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Fark
  • email
0 comments Read the full article →