PowerShell for Admins

PowerShell for Admins
pscookiemonster
DevOps

Slack and PowerShell

Having a platform that enables ChatOps can be a game changer. You can quickly see changes, alerts, build status, discussions, emergency chats, and more, all in a single, searchable interface. If you can sift through the gifs. Bots are a hot topic these days, and and it’s well worth checking …

msorens
PowerShell for Admins

Practical PowerShell Unit-Testing

By the time you are using PowerShell to automate an increasing amount of your system administration, database maintenance, or application-lifecycle work, you will likely come to the realization that PowerShell is indeed a first-class programming language and, as such, you need to treat it as such. …

msorens
PowerShell for Admins

Documenting your PowerShell API–solved!

Long has it been known how to easily document your PowerShell source code simply by embedding properly formatted documentation comments right along side your code, making maintenance relatively painless… But if you advanced to writing your PowerShell cmdlets in C#, you have largely been on …

Jacob Moran
PowerShell for Admins

Keeping it simple – Line breaks in PowerShell

Trying to get your code to look good when reading it later can be tricky For line breaks in function scripts, there are two out-of-the-box options: First, you can break a line after the pipe key, which is an elegant and easy-to-read approach. Second, you can arbitrarily break a line with a back tick …

WeiYen Tan
PowerShell for Admins

A study in Powershell scripting – A beginners guide Part 2

In this post I elaborate the steps that I went through to build the function to extract users into alphabetical order. I talk about the problems I face and how I resolved them. I also post snippets of my code that I used so that new people can see how I wrote it. I’m hoping that this help the …

WeiYen Tan
PowerShell for Admins

A study in Powershell Scripting – A beginners Guide Part I

I thought I would post my learning experiences as a person that has very little programming background. Don did say in one of the TechEd’s a few years ago that even a beginner could share their experiences with others. So I thought that I should contribute with the approach that I use to write …

pscookiemonster
PowerShell for Admins

I'm Not A Developer

Are you intimidated by scripting? Does PowerShell seem too much like programming to you? You aren’t a developer, why should you learn this mumbo jumbo? It turns out, PowerShell is quite easy to get started with. Can you run ipconfig? Do you know how to give someone instructions? You could …

Steve Parankewich
DevOps

Connect to all Office 365 Services with PowerShell

If you are not on Office 365 or have a tenant set up with Microsoft yet, now is the time to reserve your tenant name! With utilizing Office 365, a lot of administration is only available from a PowerShell session. There is a mix of outdated information on what you actually need to install and …