Tips and Tricks

Tips and Tricks
Stephen Owen
PowerShell for Admins

How to handle oAuth from PowerShell

One of the coolest features of PowerShell is the many tools we have available to work with services on the web, be they SOAP, REST, RPC or even WSDL services. It’s no question, PowerShell makes it very easy to pull down data from any of these places. Unfortunately, getting data from a service isn’t always as easy as embedding your credentials in a URL. In fact, some services require us to authenticate and ask the user for permission before giving up the goods.

Steve Parankewich
PowerShell for Admins

Automate enabling and disabling Lync / Skype for Business users

Hello PowerShell.org community, This is my first post here at PowerShell.org, and I have a goal of posting tips, tricks, articles, and solutions once a week. My first exposure to scripting was on my x486 computer. I would always create .bat files to launch my DOS based games from the root folder. I learned complex scripting through the use of VB Script, automating the roll out and updating of Windows 2000 desktops and servers.

Matt Laird
PowerShell for Admins

Store Secured Password in PowerShell Script

Automation is awesome, but what if you need to run a script with elevated privileges? If you are following security best practices then the account you login with most likely doesn’t have the required elevated privileges. Storing your password in plain text in your scripts is no good either. So what do we do? There are several options and each has there place, but I’ll show you my favorite below. Check out the full article by clicking on the link below.

Thomas Rayner, MVP
PowerShell for Admins

Where Are My FSMO Roles?

Hello, PowerShell people! I’ve never posted on PowerShell.org before and so I feel as though I owe you a quick introduction before we dive into the tip I’d like to share with you. My name is Thomas Rayner and I am a Microsoft MVP for Windows PowerShell. I’m also a systems administrator and degree program instructor. I volunteer a fair bit of time as the President of the Edmonton Microsoft User Group (EMUG).

Matt Laird
PowerShell for Admins

Find Location of Locked Out Accounts

I’m Locked Out, Help! If you’ve been a sys admin for more than a week you’ve probably heard this…“I’m locked-out, help!”. Normally the user has made their way to your cube and is impatiently tapping their foot waiting for you to magically solve there problem. So you find their account, reset their password and everything is right with the world…Or is it? Two minutes later they show up again because their account was locked-out before they even got back to their desk.

Matt Laird
PowerShell for Admins

Basic Exchange Monitoring

Hello Powershell.org! This is the first time I’ve posted for anyone outside of my own powershell blog site PowerShellMasters.com and I just want to thank PowerShell.org for everything they do for our community. I think most of you would agree that this site is one of the best PowerShell sites out there today and I am grateful for the opportunity to reach so many PowerShell people. OK enough with the touchy-feely stuff.

Matthew Hodgkins
Tips and Tricks

Automating with Jenkins and PowerShell on Windows

Take a minute think about how many PowerShell scripts you have written for yourself or your team. Countless functions and modules, helping to automate this or fix that or make your teams lives easier. You spend hours coding, writing in-line help, testing, packaging your script, distributing it to your team. All that effort, and then a lot of the time the script is forgotten about! People just go back to doing things the manual way.