Powershell – How to add a custom Powershell CMDLET to Exchange 2010

delegationexchange-2010permissionspowershell

I remember reading about how it's possible to add scripts or commandlets to Exchange 2010… in a way that as soon as Powershell imports the remote commands, your custom command is available as well.

My thought is that I'll use Exchange's roles to allow constrained / elevated access to certain functionality thought this technique.

Does anyone know the name of the thing Im thinking of?

Best Answer

What you want to do is create a custom Powershell module. Start here for the official MS documentation, but there are plenty of other tutorials available online. There is also a book called Professional Windows Powershell Programming that covers development of custom cmdlets and modules. It dives deep into the .NET level. Haven't read it myself so can't make a recommendation.

Related Topic