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

Image may be NSFW.
Clik here to view.

Use PowerShell to Create a User in Active Directory

Summary: Use the Active Directory cmdlet New-ADUser to create a new user via Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. The Scripting Wife has the Window PowerShell Saturday site...

View Article


Image may be NSFW.
Clik here to view.

PowerTip: Creating an Empty Hash Table

Summary:  Learn to create a Windows PowerShell hash table.  How can I create an empty hash table?  Use @{} and assign it to a variable:             $hash = @{}

View Article


Image may be NSFW.
Clik here to view.

Use PowerShell 3.0 to Work with Network Adapters

Summary: Learn how to use the Get-NetAdapter CIM cmdlet in Windows PowerShell 3.0. Microsoft Scripting Guy, Ed Wilson, is here. I must live a rather boring life—although to be honest, it does not...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Find the Length of PowerShell Aliases

Summary: See how to determine the distribution of Windows PowerShell cmdlet aliases by length.  How many Windows PowerShell aliases are 1-letter or 2-letters or 3-letters in length? In fact, how do you...

View Article

Image may be NSFW.
Clik here to view.

Use PowerShell 3.0 to Stop Network Adapters on Windows 8

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell 3.0 to stop network adapters on Windows 8. Microsoft Scripting Guy, Ed Wilson, is here. The other day a customer asked...

View Article


Image may be NSFW.
Clik here to view.

PowerTip: Create a Strongly Typed Array in PowerShell

Summary: Learn how to create a strongly typed array.    I want to create a strongly typed array of system.diagnostics.processes and store it in a variable called $a. How can I do this?  Use a command...

View Article

Image may be NSFW.
Clik here to view.

PowerShell 3.0 is now available for download!

Summary: Windows PowerShell 3.0 is now available for download! WOOHOO! Windows PowerShell 3.0 is now available for download for Windows 7, Windows Server 2008 R2 and for Windows Server 2008. Windows...

View Article

Image may be NSFW.
Clik here to view.

Use PowerShell 3.0 to Rename Network Adapters

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell 3.0 in Windows 8 to rename network adapters. Microsoft Scripting Guy, Ed Wilson, is here. I received an exciting email...

View Article


Image may be NSFW.
Clik here to view.

PowerTip: Finding Letters in Strings with PowerShell

Summary: Learn four ways to use Windows PowerShell to find letters in strings.  I want to find out if a string contains the letter “m.” The string is stored in the variable $a as shown here:...

View Article


Image may be NSFW.
Clik here to view.

Discover Windows PowerShell 3.0 Cmdlets

Summary: Microsoft Scripting Guy, Ed Wilson, talks about discovering Windows PowerShell 3.0 cmdlets. Microsoft Scripting Guy, Ed Wilson, is here. There are still a few tickets available for Windows...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Use PowerShell to Obtain User Input

Summary: Learn how to use Windows PowerShell to solicit user input.   How can I solicit input from the user?  Use the Read-Host cmdlet: $in = Read-host “enter the data”  

View Article

Image may be NSFW.
Clik here to view.

Weekend Scripter: Exploring New and Improved PowerShell 3.0 Cmdlets

Summary: Microsoft Scripting Guy, Ed Wilson, goes spelunking for new and improved Windows PowerShell 3.0 cmdlets. Microsoft Scripting Guy, Ed Wilson, is here. Today is officially the last day of my...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Don’t Name a Variable $input

Summary: Advice against using $input for a variable name.  Can I use a variable named $input to hold input from the Read-Host cmdlet?  $input is an automatic variable that is used for script blocks in...

View Article


Image may be NSFW.
Clik here to view.

Weekend Scripter: PowerShell Saturday Sessions Revealed

Summary: Read sneak previews for Charlotte PowerShell Saturday sessions. Microsoft Scripting Guy, Ed Wilson, is here. Today is just one week before Windows PowerShell Saturday #002 in Charlotte, NC.  I...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Two Quick Ways to Check Variables in PowerShell

Summary: Check for undeclared variables.  How can I cause the script to generate an error if a variable has not been declared?  Here are a couple of ways to do this with Windows PowerShell. a. Place...

View Article


Image may be NSFW.
Clik here to view.

Increase PowerShell Command History to the Max (Almost)

Summary: In Windows PowerShell command history, you may run into the console history limit. Microsoft Scripting Guy, Ed Wilson, is here. While I was in Cincinnati, Ohio for their first Windows...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Working with the Maximum History Setting

Summary: Learn how to increase the maximum history value.    How can I increase the number of commands that are stored in the Windows PowerShell command history?  Specify a new value for the...

View Article


Image may be NSFW.
Clik here to view.

Bespoke Scripting? What Do You Want in PowerShell?

Summary: Let the Windows PowerShell team know what you would like to see in the next version. Microsoft Scripting Guy, Ed Wilson, is here. This week is a complete geek fest for me. I am in Redmond at...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Discovering PowerShell Functions

Summary: Learn how to discover Windows PowerShell 3.0 functions.  How can I find all of the functions that exist in my Windows PowerShell 3.0 installation? a. Use the Function drive:             Dir...

View Article

Image may be NSFW.
Clik here to view.

The Scripting Guy Talks About PowerShell 3.0 Step by Step

Summary: The latest episode of TechNet Radio with the Scripting Guy just went live! Microsoft Scripting Guy, Ed Wilson, is here. One of the good things I have to announce, is that I am continuing my...

View Article
Browsing all 3333 articles
Browse latest View live


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