PowerShell: How to Remove OS Key License

I ran into an interesting problem that required removing the Windows OS license from workstations. The workstations were already removed the existing domain so I couldn’t use my normal tools. Fortunately, I still had other methods to launch a remote PowerShell script. I specially wrote my piece of of the overall script as a function. This way it could be easily dropped in, or edited, without much trouble. It is a simple script, but shows the type of flexibility you can exercise with PowerShell.

You can view my other Github repos at: Github: jtbarrera

Please follow and like us:
WordPress Appliance - Powered by TurnKey Linux