Category: PowerShell

Foundational PowerShell For Developers - Part 1
Foundational PowerShell For Developers – Part 1
Blog Posts

PowerShell Introduction When Microsoft introduced PowerShell in the mid-2000’s, it was a pretty big deal. The venerable cmd.exe (based on DOS’s command.com) was not very effective in comparison to open source shells popping up on Windows that drug half of a GNU/Linux installation along with them. About 13 years ago I wrote about Microsoft’s new… READ MORE

PowerShell: Invoke-RestMethod
PowerShell: Invoke-RestMethod
Blog Posts

Scenario I want to write a function that will query an image site and download a picture so I can insert it into a blog post. After watching a local PowerShell User Group presentation on using Invoke-RestMethod, I decided to give it a try. API Parameters Invoke-RestMethod is a PowerShell utility specifically for quering web sites that… READ MORE

Get all Teams a User is Part of Using PowerShell PnP
Get all Teams a User is Part of Using PowerShell PnP
Blog Posts

As you may be aware already (hopefully!), we have Microsoft Teams cmdlets surfacing in the SharePoint PowerShell PnP module since July 2020. Today, we’ll work again with those cmdlets. As a matter of fact, we’ll use 2 modules for this blog post. PowerShell PnP Azure AD So make sure you’ve got both installed to be… READ MORE

Executing CMDKEY via a PowerShell remote session
Executing CMDKEY via a PowerShell remote session
Blog Posts

I faced some troubles in executing cmdkey.exe on a PowerShell remote session, while I was trying to automate the creation of a SQL Failover Cluster Instance on Azure VMs, using Azure Premium File Share (PFS) as shared storage. You need cmdkey.exe since you must persist Azure PFS access credentials on the Credential Manager of both cluster nodes, into the… READ MORE

4 Directions for Power Platform Business Growth
4 Directions for Power Platform Business Growth
Blog Posts

It’s now roughly one year since Microsoft launched the the Power Platform Business. It’s been extremely interesting in the past 12 months to watch how this new platform strategy starts to play out in the world outside Redmond, as the pieces of this grand puzzle begin to become visible here and there. Having worked in… READ MORE