Most of you are probably subscribed to a few RSS feeds, personally, I use Feedly for them in my browser as an extension and as an app on my phone. But wouldn't it be nice to see that feed in a PowerShell session with links you can click on to read them more in your browser? This blog post will show you how to read and display them in PowerShell.
Month: May 2022
PowerShell remoting to Linux Servers
Connecting from a Windows Client to a Windows Server using PowerShell is easy. Enter-PSSession -Computername xxxx, and you're in when connecting with enough credentials. But I also have two Linux systems (Ubuntu VPS and a Raspberry Pi4 running Raspian Bullseye) on which PowerShell is also installed. But PowerShell remoting into those systems is not standard and requires a few steps. This blog post will show you how to connect to Linux using PowerShell.
Get all download links from Microsoft Evaluation Center
A few weeks ago, the website of the Evaluation Center from Microsoft was down, and I saw a post about it on Tech Community. (Article) People were sharing links to a few ISO files from it to help people who needed them. That got me thinking. What if I could export all of them just in case something happens to the site again?! This blog post describes a method to retrieve all links from the Evaluation Center.
Get 365 Service Health status using PowerShell and MS-Graph
We have all been there, you're working on something (Microsoft Endpoint Manager, for example), and things don't work like they are supposed to. Strange errors, you're starting to doubt yourself... And then you see something in your newsfeed (Twitter, LinkedIn, etc.) that there's an issue and that Microsoft is working on it... You lost a few hours troubleshooting your issue. Wouldn't it be nice to get notified when starting PowerShell if there's an issue you should be aware of? This blog post will cover just that 🙂
How to create a report on PST files in your environment
Recently I've been working on an Exchange migration from an Exchange 2016 environment to Exchange Online. The company had a lot of PST archives on home directories which we could import as an Online Archive for the users. But there also were a lot of PST files on department File Shares that needed to be inventoried. This blog post describes how to create a report on those files.
Get a random 9GAG item in your browser using PowerShell
Brighten up your day when starting a new PowerShell session by... Getting a 9GAG item (Picture/movie clip) in your browser 🙂 I was working on parameter sets and got side-tracked into this script. Start it, and you will receive a random category 9GAG post in your browser unless it's NSFW because you wouldn't want that .. Right? 😉
Microsoft 365 License overview per user
You can add many licenses to your 365 tenant, but getting a good overview of all users' assigned licenses and what each license plan contains is challenging. I wrote a PowerShell script for that, and it outputs all the users with their assigned SKU (Short for Stock-Keeping-Unit). In Microsoft terms, a license SKU predefines a license's properties, including Product/Version/Features) in a CSV file.
Adding Mobile Phone Authentication method for Azure AD Multi-Factor Authentication using PowerShell
One of our customers is switching from Mobile Iron to Endpoint Manager for their mobile devices, which is a good choice :). After retiring the device, Mobile Iron removes the managed Authenticator app from the device. Microsoft Endpoint manager pushes it back to the device again, but... The iCloud backup options were not set/managed, and users had to add their account back which requires MFA. Which they can't do because only the Authenticator app was registered (Mobile app code) and no recovery email or mobile phone number. But the mobile phone numbers were set on most users in Active Directory in the past and were synced to Azure AD. This blog post describes how you can add those numbers to the affected users so that they can use the recovery option and won't have to contact the ServiceDesk 🙂
Exporting passwords for WLAN profiles using PowerShell and Netsh
Over time, your Windows device has a lot of saved WLAN profiles, and well... Sometimes you don't know the password you (Or someone else) entered. You use that connection, and then a colleague asks you if you know the password for the customer's SSID... You can export it from your Windows laptop (Or desktop) using the script in this blogpost 🙂
Create Slack messages using PowerShell
If you're a Slack user like myself, you can use PowerShell to send messages to your Slack channel. This is very useful for scripts that run during the day on which you want to receive information. This is done using the Invoke-Webrequest method, and in this blog post, I will show you how you can use it in your scripts.