PowerShell

A collection of powershell what I have done

Azure, PowerShell : Creating a VM with PowerShell

#Azure #PowerShell #Server

To really take advantage of a lot of the features of Azure you need to start getting used to doing things in PowerShell. You don'…

Mat Grumpy Tech

PowerShell: Create random password function V3.

#PowerShell #UsefulFunctions

A while ago I wrote this, which in turn was an improvement on this. This is a slight improvement on the previous version in that it…

Mat Grumpy Tech

PowerShell: Test if running as admin

#PowerShell #UsefulFunctions

If you need to run something as the local admin then you can test for that. See below: function Test-Administrator { $User = [Security.Principal.WindowsIdentity]::GetCurrent(); return…

Mat Grumpy Tech

PowerShell, Intune: How to disable Teams GPU acceleration with Intune/GPO - Updated for new Teams

#PowerShell #Azure

This is an update to this post. Credit for this one goes to the user Dacid Salin. Thanks Dacid. Much appreciated. <#$FilePath = "C:\Users\…

Mat Grumpy Tech