Useful Powershell Commands
View all ports in use Get-NetTCPConnection | ? {$_.State -eq “Listen”} | sort LocalPort -Descending
A blog about curiosity being a good habit
View all ports in use Get-NetTCPConnection | ? {$_.State -eq “Listen”} | sort LocalPort -Descending
Use PowerShell to output a list of installed features This requires a couple steps. I ran this in Microsoft Windows 2012 R2. YMMV. I was in a rush and didn’t feel like figuring out why you have to do step 1. Create a folder called log and text file called iis.log somewhere. I used C… Continue reading Output Microsoft Windows installed features to a file