Showing results for February 2013 - Scripting Blog [archived]

Feb 28, 2013
0
0

PowerTip: Determine How Long a PowerShell Command Takes

Doctor Scripto
Doctor Scripto

Summary: Figure out how long a Windows PowerShell command takes to run.  You want to know how long a particular Windows PowerShell command takes to run so you can optimize your code. How can you do this? Use the Measure-Command cmdlet and specify the code in the –expression script block. Measure-Command -Expression {...

Scripting Guy!Windows PowerShellPowerTip
Feb 28, 2013
0
0

Use PowerShell to Explore Process Threads in Windows

Doctor Scripto
Doctor Scripto

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, Ed ...

Scripting Guy!Windows PowerShellscripting techniques
Feb 27, 2013
0
0

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

Doctor Scripto
Doctor Scripto

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 is ...

Scripting Guy!Windows PowerShellPowerTip
Feb 27, 2013
0
0

Get Exchange Online Mailbox Size in GB

Doctor Scripto
Doctor Scripto

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, and...

Scripting Guy!Windows PowerShellguest blogger
Feb 26, 2013
0
0

PowerTip: Find the Number of Entries in Event Logs

Doctor Scripto
Doctor Scripto

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 –...

Scripting Guy!Windows PowerShellPowerTip

Feedback