The “Hey, Scripting Guys!” blog has been retired. There are many useful posts in this blog, so we keep the blog here for historical reference. However, some information might be very outdated and many of the links might not work anymore.
New PowerShell content is being posted to the PowerShell Community blog where members of the community can create posts by submitting content in the GitHub repository.
Summary: Use Windows PowerShell to write process information to a text file.
(image) How can I use Windows PowerShell to document information about currently running processes by writing the information to a text file?
(image) Use the Get-Process cmdlet and pipe the results to the Out-File cmdlet:
Get-Process | ...
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to work with text files.
Microsoft Scripting Guy, Ed Wilson, is here. Good morning! Today I have an excerpt from my new book, Windows PowerShell 3.0 First Steps, which was recently published by Microsoft Press.
(image)
One of the easiest methods to store data is...
Summary: Use Windows PowerShell to group the numbers of processes in Windows.
(image) How can I use Windows PowerShell to determine the number of processes that are running— for example, if I notice that there are multiple copies of the same processes running?(image) Use the Get-...
Summary: Microsoft Scripting Guy, Ed Wilson, shares an excerpt from his new Windows PowerShell book.
Microsoft Scripting Guy, Ed Wilson, is here. Today, I have an excerpt from my recently published book, Windows PowerShell 3.0 First Steps. This book is published by Microsoft Press.
(image)
The Windows PowerShell pipeline takes the output...
Summary: Use Windows PowerShell to find the user who owns a process.
(image) How can I use Windows PowerShell 4.0 in Windows 8.1 to determine who owns a process?
(image) Use the –IncludeUserName switch with the Get-Process cmdlet:
Get-Process -IncludeUserName
(image...