Category

Powershell

5 articles in this category

Use PowerShell to get total size of files recursively

June 20, 2024 1 min read

Here’s a one-liner in PowerShell to get the total size of all files found with wildcard pattern of *ORIGINAL*. [math]::round((get-childitem -path . -filter "*ORIGINAL*" -file -recurse | measure-object…

Analyze RDP Disconnection Logs using PowerShell

February 7, 2023 3 min read

The PowerShell script is designed to extract information about Remote Desktop Protocol (RDP) local session manager events from the Windows event logs on a RDS host and save…

Check Windows Servers Activation Status

October 7, 2022 1 min read

I needed a quick way to check activation status of Windows Servers in a domain. This is the solution I came up with using PowerShell to run the…