Skip to content

Gene Laisné

Azure and PowerShell goodness!

RSS

  • RSS - Posts
  • RSS - Comments
  • HOME
  • About
Main Menu

Author: Gene

Exchange 2010 / PowerShell

Simplify creating a remote PowerShell connection (part 1)

February 17, 2012February 21, 2021 - by Gene - Leave a Comment

For this example, I’ll be establishing a connection to Exchange 2010. My problem is that I’m lazy and that’s why I always script things out. the function is no different. …

Share this:

  • Email a link to a friend (Opens in new window) Email
  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Tumblr (Opens in new window) Tumblr

Like this:

Like Loading…
Simplify creating a remote PowerShell connection (part 1) Read More
Exchange 2010 / PowerShell

RBAC Helper #4 Who What Where for Role Groups

January 26, 2012February 21, 2021 - by Gene - Leave a Comment

So, This is a drill down of information from a RoleGroup. With this script, you will be able to see Who is a member of the RoleGroup, What Commands The …

Share this:

  • Email a link to a friend (Opens in new window) Email
  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Tumblr (Opens in new window) Tumblr

Like this:

Like Loading…
RBAC Helper #4 Who What Where for Role Groups Read More
Exchange 2007 / Exchange 2010

Current issues with Microsoft Exchange ActiveSync and Third Party Devices

January 20, 2012February 21, 2021 - by Gene - 1 Comment

New (Nov 2011) support doc from Microsoft on known issues with Exchange (2010 sp1 & 2007 sp3) and third party ActiveSync devices. The short version: update iOS to 4.3.3 and …

Share this:

  • Email a link to a friend (Opens in new window) Email
  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Tumblr (Opens in new window) Tumblr

Like this:

Like Loading…
Current issues with Microsoft Exchange ActiveSync and Third Party Devices Read More
Exchange 2007 / Exchange 2010 / PowerShell

Get a count of mailboxes by Exchange 2010 database

January 18, 2012February 21, 2021 - by Gene - Leave a Comment

Results:

Share this:

  • Email a link to a friend (Opens in new window) Email
  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Tumblr (Opens in new window) Tumblr

Like this:

Like Loading…
Get a count of mailboxes by Exchange 2010 database Read More
Exchange 2010 / PowerShell

RBAC Helper #2

December 23, 2011February 21, 2021 - by Gene - 1 Comment

So, we got the role entries for the management role, let’s now find out what management roles have a specific role entry. Basically, this is the revers of RBAC Helper …

Share this:

  • Email a link to a friend (Opens in new window) Email
  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Tumblr (Opens in new window) Tumblr

Like this:

Like Loading…
RBAC Helper #2 Read More
Exchange 2007 / Exchange 2010 / PowerShell

Get 1 user from each database on an Exchange 07 server

December 1, 2011February 21, 2021 - by Gene - Leave a Comment

Needed to test searching in some databases so I needed one user from all the databases on one server…

Share this:

  • Email a link to a friend (Opens in new window) Email
  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Tumblr (Opens in new window) Tumblr

Like this:

Like Loading…
Get 1 user from each database on an Exchange 07 server Read More
Exchange 2010 / PowerShell

RBAC helper

August 11, 2011February 19, 2021 - by Gene - 3 Comments.

Quick way to get all the Management Role Entries in a Management Role. Think of it as getting a list of what a Management Role is capable of.

Share this:

  • Email a link to a friend (Opens in new window) Email
  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Tumblr (Opens in new window) Tumblr

Like this:

Like Loading…
RBAC helper Read More
Exchange 2007 / Exchange 2010 / PowerShell

get all Exchange Servers and their IP addresses…

July 20, 2011February 21, 2021 - by Gene - 1 Comment

As one line: Readable: –Gene

Share this:

  • Email a link to a friend (Opens in new window) Email
  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Tumblr (Opens in new window) Tumblr

Like this:

Like Loading…
get all Exchange Servers and their IP addresses… Read More
PowerShell

Get PowerShell on-line help

June 23, 2011February 21, 2021 - by Gene - Leave a Comment

If you want to go straight to the horses mouth for help with a cmdlet, just type this: –Gene

Share this:

  • Email a link to a friend (Opens in new window) Email
  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Tumblr (Opens in new window) Tumblr

Like this:

Like Loading…
Get PowerShell on-line help Read More
PowerShell

10 tips for better PowerShell functions… (James O’Neill)

June 22, 2011February 21, 2021 - by Gene - 2 Comments.

Great blog post about how to better write PowerShell functions, sort of a mini Bible for PowerShell. At some point people need to get past the idea that a script …

Share this:

  • Email a link to a friend (Opens in new window) Email
  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Tumblr (Opens in new window) Tumblr

Like this:

Like Loading…
10 tips for better PowerShell functions… (James O’Neill) Read More

Posts pagination

Previous 1 2 3 4 Next
  • Popular
  • Comments
  • Tags

Rename a distribution group in Exchange with Powershell

April 24, 2014February 19, 2021

Viewing reports in Windows Server 2012 WSUS

December 4, 2012February 21, 2021

Advanced Automation Using Windows PowerShell 2.0

June 21, 2011February 21, 2021

RBAC helper

August 11, 2011February 19, 2021

10 tips for better PowerShell functions… (James O’Neill)

June 22, 2011February 21, 2021

CSU Scott - Rename a distribution group in Exchange with Powershell

This was probably written in the Powershell V2 era. Confirm is now provided by default and could be removed? param(…

JonRey - Rename a distribution group in Exchange with Powershell

Just to confirm (pun intended?), I am getting the same error. No matter what I do (even trying get-help rename-distributiongroup),…

Shahab Q - connecting disabled mailbox works… mostly.

Gene, many thanks for this command! This helped me out with a mailbox move did that did not finish properly…

Tim - Viewing reports in Windows Server 2012 WSUS

Thanks a lot! Had the same struggle.

Marc Vanderstraeten - Rename a distribution group in Exchange with Powershell

Found solution :-) Replace $Confirm with $MyConfirm everywhere and run ;-) PS: Probably because of the reserved word in PS

ASCII art Distribution Groups Exchange 2010 Fun PowerShell

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Search

Copyright © 2026 Gene Laisné.
Powered by WordPress and HitMag.
%d