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

Image may be NSFW.
Clik here to view.

PowerTip: Use PowerShell to Remove an Item from an Array

Summary: Use Windows PowerShell remove an item from an array. How can I remove an item from an array?Use the ArrayList class, which has the Remove() method (instead of using System.Array,...

View Article


Image may be NSFW.
Clik here to view.

Enforce Better Script Practices by Using Set-StrictMode

Summary: Boe Prox shows how to use Set-StrictMode to write better scripts.Honorary Scripting Guy and Windows PowerShell MVP, Boe Prox, here today filling in for my good friend, The Scripting Guy. This...

View Article


Image may be NSFW.
Clik here to view.

PowerTip: Use PowerShell to Hide Parameter From IntelliSense

Summary: Learn how to use Windows PowerShell to hide a parameter from IntelliSense. How can I use Windows PowerShell to hide a parameter from IntelliSense? Introduced in Windows PowerShell 4.0, you can...

View Article

Image may be NSFW.
Clik here to view.

Trace Your Commands by Using Trace-Command

Summary: Boe Prox uses Trace-Command to understand commands.Honorary Scripting Guy and Windows PowerShell MVP, Boe Prox, here today filling in for my good friend, The Scripting Guy. This is the fourth...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Use PowerShell to View Trace Sources

Summary: Use Windows PowerShell to view all trace sources. How can I use Windows PowerShell to see all available trace sources? Use Get-TraceSource cmdlet:Get-TraceSource | Select Name, DescriptionPS...

View Article


Image may be NSFW.
Clik here to view.

Use the PowerShell Debugger

Summary: Boe Prox shows how to debug scripts in Windows PowerShell.Honorary Scripting Guy and Windows PowerShell MVP, Boe Prox, here today filling in for my good friend, The Scripting Guy. This is the...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Create Self-Updating Variable

Summary: Learn how to create a self-updating variable. How can I create a variable that will automatically update when I call it? Use Set-PSBreakPoint to set a variable that will always have the...

View Article

Image may be NSFW.
Clik here to view.

Weekend Scripter: Remove Non-Alphabetic Characters from String

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to remove all non-alphabetic characters from a string.Microsoft Scripting Guy, Ed Wilson, is here. This morning I am...

View Article


Image may be NSFW.
Clik here to view.

PowerTip: Use PowerShell to Replace Characters in String

Summary: Use Windows PowerShell to replace non-alphabetic and non-number characters in a string. How can I use Windows PowerShell to replace every non-alphabetic and non-number character in a string...

View Article


Image may be NSFW.
Clik here to view.

Weekend Scripter: Count Images with PowerShell

Summary: Microsoft Scripting Guy, Ed Wilson, counts the images he used in Hey, Scripting Guy! Blog posts through the years.Microsoft Scripting Guy, Ed Wilson, is here. I have been writing the Hey,...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Use PowerShell to See if String Has Wildcard Character

Summary: Use Windows PowerShell to determine if a string contains a wildcard character. How can I use Windows PowerShell to determine if a string contains a wildcard character? Use the static...

View Article

Image may be NSFW.
Clik here to view.

Pre- and Post-Incrementing Do...While Loop in PowerShell

Summary: Microsoft Scripting Guy, Ed Wilson, talks about pre- and post-incrementing the Do...While loop in Windows PowerShell. Hey, Scripting Guy! I think that I found a bug in Windows PowerShell. In...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Zoom the PowerShell ISE

Summary: Use a Windows PowerShell command to increase zoom in the Windows PowerShell ISE. How can I increase the zoom level in a script that I use to set up the Windows PowerShell ISE before...

View Article


Image may be NSFW.
Clik here to view.

Use PowerShell to Get BIOS Information on Remote Servers

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to retrieve BIOS information from remote servers. Hey, Scripting Guy! I really hope you can help me. I need to get a...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Use PowerShell to Determine Weeks Between Dates

Summary: Use Windows PowerShell to determine the number of weeks between two dates. I have a project that is broken into several major components of work. I know the start date of the project and...

View Article


Image may be NSFW.
Clik here to view.

Use PowerShell and WMI to Explore Threads

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell and WMI to explore processes and threads. Hey, Scripting Guy! I need to find information about threads that are related...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Use CIM and PowerShell to Find WMI Classes

Summary: Use CIM and Windows PowerShell to find WMI classes related to threads. How can I use Windows PowerShell to easily find WMI classes that are related to threads? Use the Get-CimClass cmdlet, and...

View Article


Image may be NSFW.
Clik here to view.

Use a PowerShell Function to Determine Miles to Go

Summary: Microsoft Scripting Guy, Ed Wilson, talks about a Windows PowerShell function to determine miles remaining to meet challenge.Microsoft Scripting Guy, Ed Wilson, is here. If you are friends...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Replace Multiple Words in String with PowerShell

Summary: Use Windows PowerShell to replace multiple words in a string.   How can I use Windows PowerShell to replace misspelled words in a string? Use the –Replace operator, for example:$s = "The...

View Article

Image may be NSFW.
Clik here to view.

Use PowerShell for an Easy Shutdown

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to perform an easy shutdown.Microsoft Scripting Guy, Ed Wilson, is here. One of the things I do with Windows PowerShell...

View Article
Browsing all 3333 articles
Browse latest View live


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