There are things in Endpoint Manager that are easier to do with PowerShell scripts. This blog post describes where and how you can use these.
Month: June 2022
Start Windows Sandbox with parameters
I use Windows Sandbox a lot for testing Endpoint Manager packages or software. Sometimes you want to start it with specific options (Connect a folder on your hard drive or start without a network connection). You must create a custom configuration file (.wsb) with those options. This blog post shows you how to start Windows Sandbox using PowerShell with parameters without creating multiple configuration files.
Scripts from my blogs are available on GitHub now
All the scripts that I used in my blog posts are available on GitHub now 🙂 All new items will appear there too. You can download them individually or clone my repository to your hard drive. (How to Clone) The GitHub URL is https://github.com/HarmVeenstra/Powershellisfun. I also added the URL on each blog post page in the readme.md so that you can jump straight to the correct folder.
Adding printer drivers with Endpoint Manager and PowerShell
Printers and their drivers are not always the most fun part of IT 😉 Since PrintNightMare has become more difficult for users to add printers to their workstations, this blog post describes how you can easily add printers using Endpoint Manager and PowerShell.
Retrieve Email DNS records using PowerShell
I have been doing a lot of Exchange on-prem to Exchange Online migrations over the last few years, and because of that, I use mxtoolbox.com a lot for querying MX, SPF, DMARC, and DKIM records. Wouldn't it be convenient to get a simple overview of those records in a PowerShell function? This blog post will show you how 🙂
Visual Studio Code Extensions
Since I started using Visual Studio Code for creating PowerShell scripts, I added more extensions to it, which make the look and feel better and make scripting easier. This blog post will show you which ones I use and why. If you use specific extensions that you want to share, please leave a comment 🙂
Get WHOIS information using PowerShell
For the last few days, I have been working on an issue involving getting an overview of the networks and public IP addresses. Because I was unsure if the public IP addresses in some logs were from that company, I had to look up a lot of IPs manually using Ripe/Whois sites. This blog post shows you how you can get details for your Public IP or the address or domain name you specify.
Copy Exchange Receive Connector Settings using PowerShell
Currently working on rebuilding a failed Exchange 2016 DAG node, installing Exchange, and getting the databases in sync again... And then you remember that the Anonymous Relay settings are something that's configured on each node separately, and it contains a lot of IP addresses 🙁 This blog post shows you how to easily copy an existing Receive Connector to a new Exchange server!
Retrieving all cmdlets and help URLs from the new Microsoft Graph API modules
Things are changing... The Azure AD and MSOL modules will be getting a deprecated status. This was initially set for June 2022 and postponed until after December 2022. It would be best if you started updating scripts, be prepared for that. In this blog post, I wanted to show you how to collect all the new cmdlets and their description, synopsis (A summary), and the help URL for more information.
Adding printers with Microsoft Endpoint Manager using PowerShell
For one of our customers, I made a script that adds printers to their Endpoint Manager clients using a CSV file for data like the FQDN of the printer, model, and location. In this blog post, I will show you how to do that with a few example printers.