Wake-on-LAN using PowerShell

Wake-on-LAN and the Magic Packet The format of a Wake-on-LAN (WOL) magic packet is defined as a byte array with 6 bytes of value 255 (0xFF) and 16 repetitions of the target machine’s 48-bit (6-byte) MAC address. (See Wikipedia article) Wake-on-LAN works by broadcasting the magic packet to all network devices in a network. The…



Chocolatey on Windows

Introduction Chocolatey is a Windows counterpart to the Linux apt package manager or yum package manager. The software offers a CLI-based package installation and management in Windows with the community-maintained package repository. In this tutorial, you will learn to install Chocolatey on Windows 10 and learn basic Chocolatey commands. Prerequisites Windows 7+/Windows 2003+ (including Server Core, but excluding…




Windows 11 – Get the old context menu back

I mean, I really tried … for months I kept trying, but in the end I gave up. I’m talking about the new Windows 11 context menu. How many times did I click show more options? Probably thousands of times. The key combination Shift+F10 is then probably also not chosen as one could use it…




PowerShell – Quickly create a GPO report

Someone asked me today how to easily export a readable report of all GPOs applied to a system (they were doing a security audit and needed a simple way to script this). Of course, I immediately thought of PowerShell! So here is how to export a readable report of all GPOs applied to a given…



Recover/retrieve/find your Windows 10 Product Key

2 different ways to retrieve or recovery Windows Product Key: Windows Product key is fundamental on the off chance that you need to install and activate Microsoft Operating System, in spite of the fact that you get the item key when you purchase the OS from Microsoft yet losing the key throughout the time is…



How to view/inspect the generated SQL by Entity Framework Core using .NET Core’s build-in logging

Referring: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-5.0 This blog post is about how to view the SQL generated by Entity Framework Core. This method uses Microsoft’s built-in logging for .NET Core. This method is an alternative to profiling the SQL with something like SQL Server Management Studio. This will work with an ASP.NET Core application, which should cover the vast…



Publishing an ASP.NET Core Web Application to IIS using Visual Studio 2019

I’m a developer at heart, so I’m constantly keeping up with the latest technologies. currently I’m developing ‘Time and Bill’, an ASP.NET Core Web Application. The application is based on Microsoft .NET Core 5.0 (5.03 to be exact). Well, developing the application is one thing, the other thing is to publish the application on an…



How to access an Exchange Online mailbox without a license

An Office 365 or Microsoft 365 Admin will hopefully have a separate admin account to perform higher level (privileged) tasks, compared the their standard user account. As a result, admin accounts should not need any license, because they are not used as a normal user. A person should not need to have two sets of…




Microsoft Teams – Quickly add a Webhook to a Teams channel and send a message using PowerShell

I just discovered the possibility to add Webhooks to a Teams Channel. Since webhooks are nothing new to me, i wanted to know if my PowerShell Scripts i created when i was playing last time with Webhooks if they’re working with the Teams API as well – surprise, i created a Webhook and sent a…




Resolving MAC Address Conflicts in VMware ESXi

Evey once in a while it happens again. You run virtual machines on an ESX server and something seems to be wrong with the network communication. you search and search and find that mac addresses are assigned multiple times. Resolving MAC Address Conflicts in VMware ESXi When cloning virtual machines the VMX file stores information…