There are things in Endpoint Manager that are just 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
Personally, I use Windows Sandbox a lot for testing Endpoint Manager packages or software, sometimes you want to start it with certain options (Connect a folder on your hard drive or start without a network connection) and you have to create a custom configuration file (.wsb) with those options. This blog post shows you how to start Windows Sandbox using PowerShell with parameters without the need of 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 at the end so that you can jump straight away 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 add printers using Endpoint Manager and PowerShell in an easy way.
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, 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. In this blog post, I will show you which ones I use and why. If you use certain extensions that you want to share, please leave a comment š
Get WHOIS information using PowerShell
For the last few days, I was working on an issue that involved getting an overview of the networks being used and the public IP addresses. Because I was not sure 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 a way in which you can get details for your own Public IP or the address or domain name that 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 a way to copy an existing Receive Connector to a new Exchange server easily!
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 now that has been postponed until after December 2022. You need to start updating scripts, be prepared for that. In this blog post, I wanted to show you a way to collect all the new cmdlets and show their description, synopsis (A brief 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 FQDN of the printer, model, and location of the printer. In this blog post I will show you how to do that with a few example printers.