Quantcast
Channel: Hey, Scripting Guy! Blog
Browsing all 3333 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Use Select-String Cmdlet in PowerShell to View Contents of Log File

Summary: Use the Windows PowerShell cmdlet, Select-String, to view the contents of a log file. Hey, Scripting Guy! I have a log file that I created by dumping process information from Get-Process. It...

View Article


Image may be NSFW.
Clik here to view.

PowerTip: Use PowerShell and Graphical Tool to View Files

Summary: Use Windows PowerShell and a graphical tool to view large files. How can I use Windows PowerShell to easily see what files in a folder are the largest so I can clean up my file system?  Use...

View Article


Image may be NSFW.
Clik here to view.

Analyzing PowerShell Script Files

Summary: Learn how to analyze Windows PowerShell script files.Microsoft Scripting Guy, Ed Wilson, is here. This morning I am sitting around sipping a cup of English Breakfast tea. I added some...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Use PowerShell to Assess Memory Requirements

Summary: Use Windows PowerShell to assess memory requirements. How can I use Windows PowerShell to figure out the minimum, maximum, and average working set            requirements for processes on my...

View Article

Image may be NSFW.
Clik here to view.

What's Up with the Crazy PowerShell Formatting?

Summary: Microsoft Scripting Guy, Ed Wilson, talks about calculating properties in output. Hey, Scripting Guy! Dude, I’ve got a question. I read your Hey, Scripting Guy! Blog every day. In fact, most...

View Article


Image may be NSFW.
Clik here to view.

PowerTip: Find Current Working Directory in PowerShell

Summary: Easily find your current working directory in Windows PowerShell. I saved a file to my current working directory while I was working in the Windows PowerShell console,            but I am not...

View Article

Image may be NSFW.
Clik here to view.

Weekend Scripter: Why Does PowerShell Hide Stuff?

Summary: Microsoft Scripting Guy, Ed Wilson, talks about how Windows PowerShell decides what to display.Microsoft Scripting Guy, Ed Wilson, is here. This morning I received an email from a friend with...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Find all Format*xml Files Referencing WMI Class

Summary: Find all Format*xml files that contain references to specific WMI class. I am trying to find why a particular WMI class returns a subset of properties. I suspect output is controlled by an...

View Article


Image may be NSFW.
Clik here to view.

Weekend Scripter: Sorting PowerShell Hash Tables

Summary: Microsoft Scripting Guy, Ed Wilson, talks about sorting hash tables.Microsoft Scripting Guy, Ed Wilson, is here. Today is part of the Scripting Wife’s birthday weekend, and so we are heading...

View Article


Image may be NSFW.
Clik here to view.

PowerTip: Display Keys from Hash Table

Summary: Learn how to display keys from a hash table. How can I display only the keys in a Windows PowerShell hash table? Store the hash table in a variable, and then use the Keys property, for...

View Article

Image may be NSFW.
Clik here to view.

PowerShell and Active Directory Recycle Bin

Summary: Guest blogger, Alan Kaplan, talks about using Windows PowerShell with the Active Directory Recycle Bin.Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest blog post written by...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Find Syntax for Related PowerShell Cmdlets

Summary: Easily find the syntax for related Windows PowerShell cmdlets. How can I easily find the syntax for related Windows PowerShell cmdlets with the least effort? Use the Get-Command cmdlet, select...

View Article

Image may be NSFW.
Clik here to view.

Use PowerShell to Create Ordered Dictionary

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create an ordered dictionary.Microsoft Scripting Guy, Ed Wilson, is here. One of the really cool things that was...

View Article


Image may be NSFW.
Clik here to view.

PowerTip: Retrieving Specific Items from Hash Table

Summary: Retrieve specific items from a Windows PowerShell hash table. How can I use Windows PowerShell t retrieve specific values associated with specific keys in a hash table? Suppose you have a hash...

View Article

Image may be NSFW.
Clik here to view.

Use PowerShell to Create Local User Accounts

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create local user accounts.Microsoft Scripting Guy, Ed Wilson, is here. As much as we might like to ignore it, or...

View Article


Image may be NSFW.
Clik here to view.

PowerTip: Use PowerShell to Create Hash Table to Hold Lowercase Letters

Summary: Use Windows PowerShell to create a hash table that holds all ASCII lowercase letters. How can I use Windows PowerShell to create a hash table that holds all lowercase ASCII letters? Create an...

View Article

Image may be NSFW.
Clik here to view.

Use PowerShell to Create Local Groups

Summary: Microsoft Scripting Guy, Ed Wilson, talks about creating local groups.Microsoft Scripting Guy, Ed Wilson, is here. Creating a local group works exactly the same way as creating a local user...

View Article


Image may be NSFW.
Clik here to view.

PowerTip: Use PowerShell to Reverse Array

Summary: Easily use Windows PowerShell to reverse an array. How can I use Windows PowerShell to reverse an array? Pipe the array to the Sort-Object cmdlet and use the –Descending switch, for example:$a...

View Article

Image may be NSFW.
Clik here to view.

Adding Local Users to Local Groups

Summary: Learn how to use Windows PowerShell to add local users to local groups.Microsoft Scripting Guy, Ed Wilson, is here. Creating local user objects and local group objects is fine, but to be...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Change Color of PowerShell Errors

Summary: Learn how to change the color of Windows PowerShell errors. How can I change the color of Windows PowerShell errors in the Windows PowerShell console? Use $host.PrivateData and supply a new...

View Article
Browsing all 3333 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>