PowerShell

LATEST

Understanding $PSDefaultParameterValues in PowerShell 7

Do you have that one PowerShell command you use constantly? If that command has parameters, you have to manually specify the parameter values every time. If you find yourself passing the same parameter values to a command frequently, this post is for you.

View Article

How Pipeline Chain Operators Work in PowerShell 7

PowerShell 7 has introduced a number of new abilities for the language. One of those abilities is the oft-requested pipeline chain operator. The PowerShell pipeline is a cornerstone of the language. Easily passing entire objects from one command to another is exceptionally useful.

View Article

How to Send a Microsoft Teams Message using PowerShell 7

Microsoft Teams is up and coming in the world of business chat and collaboration clients. Much like Slack, Microsoft Teams offers many of the same tools and integration abilities; a key selling point of business-oriented chat clients is the interoperability that the clients offer.

View Article

Microsoft Releases Alpha Version of PowerShell Secrets Management Module

Taking a look at the developer preview of a new PowerShell module from Microsoft that aims to make storing and securely accessing secrets easier in your PowerShell scripts.

View Article

Microsoft Launches Preview PowerShell Module for Graph

Microsoft has made a preview PowerShell module for the Graph available for developers to play with. Being able to use PowerShell with the Graph exposes a lot of data to play with, so it’s a great addition to the administrator toolkit. To see how things worked in practice,, I convert a script to report Teams channels that are email-enabled to use the Graph module. Things worked out pretty well, but as you’d expect, some rough edges exist that need to be smoothed.

View Article

Understanding How Streams Work in PowerShell 7

Much like Unix, PowerShell has the concept of streams. It’s important to understand how the flow of data output works within PowerShell. By leveraging the power of streams and their capabilities, you will be able to create better troubleshooting and more useful output.

View Article

Office 365 Successes and Failures Since 2011

Office 365 has experienced great success since its launch in June 2011, but it’s also had its share of failures as well. This article considers the most important technical advances in Office 365 and the most important parts of the ecosystem as well as some places where things didn’t go quite so well as either Microsoft or tenants would have liked.

View Article

Speedy PowerShell Access to Office 365 Groups with Get-ExoRecipient

The new Exchange Online Management PowerShell module has cmdlets that are faster than their older Remote PowerShell equivalents. Converting scripts to make the new cmdlets work takes some effort because the REST-based cmdlets have their own little quirks that need to be understood and mastered before scripts work properly. This example explains some of the issues met when converting code to report the Inbox sizes and items for Office 365 groups.

View Article

Teams Doesn’t Need Two PowerShell Modules (But Why Two Exist)

If you work with Teams through PowerShell, you’ll know that you sometimes need to open the Skype for Business Online module. It’s a royal pain in the rear end to deal with two inconsistent modules. It would be much neater if everything was gathered into one coherent module. However, that’s not going to happen much before Skype for Business Online retires in 2021. In the interim, here are seven sets of policy cmdlets that you’ll probably need to use to assign policies to multiple users at one time.

View Article

Getting Started with Azure Arc-Servers

Microsoft announced Azure Arc at Ignite 2019 providing a cross-platform hybrid management system to manage all servers anywhere. In this article, you’ll learn how to onboard your on-premises servers to Azure Arc Servers.

View Article
Go to page