Scripting Blog

A place to learn about PowerShell and share stories of automation

Use PowerShell to Explore Process Threads in Windows

Summary: Microsoft Scripting Guy talks about using Windows PowerShell to explore process threads in Windows.  Hey, Scripting Guy! I have a problem. On our system, every once in a while, we have this application where the threads go crazy. I need an easy way to check threads. Can you help? —BC  Hello BC, Microsoft Scripting Guy...

PowerTip: Use PowerShell to Easily Find How Long a Process Runs

Summary: Use Windows PowerShell to show easily how long a process runs.  You need to find how long a particular process has been running. How can you easily do this with Windows PowerShell?  Use the New-TimeSpan cmdlet and specify the –Start parameter as the results from Get-Process on a process and the StartTime property. This...

Get Exchange Online Mailbox Size in GB

Summary: Microsoft PFE, Brian Jackett, talks about using Windows PowerShell to get Exchange Online Mailbox size in GB. Microsoft Scripting Guy, Ed Wilson, is here. Today I want to welcome back guest blogger, Brian T. Jackett. Brian T. Jackett is a premier field engineer at Microsoft who has specialized in SharePoint development, Project Server...

PowerTip: Find the Number of Entries in Event Logs

PowerTip: Find the Number of Entries in Event Logs Summary:  Use Windows PowerShell to find the number of entries in all event logs and ETL logs?   How can you use Windows PowerShell to show how many entries exist in all traditional event logs as well as ETL logs?  Use the Get-WinEvent cmdlet and pass a wild card to the &...