You probably use it all the time in your scripts, but how do they work? In this blog post, I will show some simple examples of what you can do with them 🙂
Month: May 2024
Keep Microsoft Teams status Available instead of away using PowerShell
It is one of the things I hear my colleagues, and even my girlfriend, mention regularly... Why does Microsoft Teams think I'm away while I'm not / My PC isn't locked yet... I read a few solutions, setting your status duration to a date in the future, etc... Didn't work 🙁 What does work is running my simple PowerShell scripts, which I will show you in this blog post 🙂
Parameters for PowerShell Scripts and Functions
Using parameters for your Scripts and Functions is very powerful. You don't have to hardcode things in them, making running them from a command line easier. This blog post will show you the parameters I use in most of my scripts and how they work.
Deprecated PowerShell Modules and Azure AD Graph retirement
You created a script or function a while back that people in the company use a lot, and suddenly... They come to you telling you that it doesn't work anymore. 🙁 The module you used has become deprecated, cmdlets don't all work anymore, etc. In this blog post, I will show the three most prominent modules that have become deprecated and where you can find good information about the successor to adjust your scripts.
Using $using in PowerShell for local variables in remote sessions
When running scripts that connect to remote systems using Invoke-Command, you can use your local variables in the remote session which makes things a lot easier. In this blog post, I will show you how 🙂