Powershell – List Users Logged Into A Range Of Computers

So this script get a list of users logged into computers. It uses my personal favourite RDS PowerShell module but works on PCs. Note: some firewall rule(s) inbound may be required. Its something I did one night when pondering how to show an availability sheet for rooms where there is only 1 specialist PC in […]
Continue reading…

 

PowerShell Regex Examples

https://regex101.com/ handy website to check your regex results Regular Expression Language – Quick Reference Simple comparison to find a part of a line that matches “.*.enc” where the * is 3 characters or more and  each character is a-z or A-Z the \ is used to escape the .

e.g. .docx.enc .doc.enc
Continue reading…