Browse by Tags

Tagged Content List
  • Blog Post: PowerTip: Find Specific Help Articles with PowerShell

    Summary : Learn how to easily find specific Help articles with Windows PowerShell. How can I use Windows PowerShell to find a Help article about automatic variables, if I am not sure of the title? Use the Get-Help cmdlet and begin with about_ , then press Tab expansion. It will cycle through matches...
  • Blog Post: PowerTip: Find Processes with High Priority

    Summary : Learn how to use Windows PowerShell to find processes that have a high priority. How can I use Windows PowerShell to quickly see what processes have a high priority or an above normal priority? Open Windows PowerShell with Admin rights, use the Get-Process cmdlet to return processes,...
  • Blog Post: The PowerShell 5 NoNewLine Parameter

    Summary : Ed Wilson, Microsoft Scripting Guy, talks about the NoNewLine parameter in Windows PowerShell 5.0 in Windows 10. Microsoft Scripting Guy, Ed Wilson, is here. In addition to new cmdlets in Windows PowerShell 5.0, there are also improvements to existing cmdlets. These improvements are often...
  • Blog Post: PowerTip: Find Alias for PowerShell Cmdlet

    Summary : Learn how to find an alias for a specific Windows PowerShell cmdlet. How can I find is there is an alias for a specific Windows PowerShell cmdlet that I use a lot? Use the Get-Alias cmdlet, specify the –Definition parameter, and supply the name of the cmdlet, for example: Get...
  • Blog Post: Cool Stuff about PowerShell 5 in Windows 10

    Summary : Ed Wilson, Microsoft Scripting Guy, talks about cool stuff in Windows PowerShell 5.0 for Windows 10. Microsoft Scripting Guy, Ed Wilson, is here. Over the weekend, I installed Windows 10. It is way cool. I love what we have done with the charms bar…it is gone. I also like the streamlined...
  • Blog Post: What’s My PID?

    Summary : Ed Wilson, Microsoft Scripting Guy, creates a function to capture the process ID of a Windows PowerShell host. Microsoft Scripting Guy, Ed Wilson, is here. One of the things I like to know is the process ID (PID) of specific processes. Often this is trivial. I can use the Get-Process cmdlet...
  • Blog Post: Launch Elevated PowerShell Shell

    Summary : Ed Wilson, Microsoft Scripting Guy, talks about launching an elevated Windows PowerShell shell. Microsoft Scripting Guy, Ed Wilson, is here. Today I had a great talk with Steve, the Scripting Manager. One of the things we talked about was the importance of community, and how the Windows...
  • Blog Post: Use Function to Determine Elevation of PowerShell Console

    Summary : Ed Wilson, Microsoft Scripting Guy, talks about using a function to determine if a Windows PowerShell console is elevated. Microsoft Scripting Guy, Ed Wilson, is here. I had a friend tell me that nearly half of all the cmdlets, functions, and whatever’s in Windows PowerShell 4.0 on...
  • Blog Post: PowerTip: Use PowerShell to Check Logon Server for Client

    Summary : Use Windows PowerShell to check the logon server of your clients. How can I use Windows PowerShell to verify if my users are trying to sign in to their computers with a Windows account instead of using their domain credentials? Check the value of the environmental LOGONSERVER variable...
  • Blog Post: One of My Favorite PowerShell Functions

    Summary : Ed Wilson, Microsoft Scripting Guy, discusses one of his favorite functions: Get-EnumValues. Microsoft Scripting Guy, Ed Wilson, is here. Today I am working on my presentation for Atlanta TechStravaganza 2015 , which will happen on August 21. It will be a really cool event, and the Scripting...
  • Blog Post: PowerTip: Read File with Backtick in Name

    Summary : Read the content of a text file with a backtick ( ` ) in the name. How can I use Windows PowerShell to read the content of a file that has a backtick ( ` ) in the file name? Use single quotation marks around the name when you supply the path to Get-Content , for example: Get-Content...
  • Blog Post: Describe Your PowerShell Variables

    Summary : Ed Wilson, Microsoft Scripting Guy, talks about adding a description to variables. Microsoft Scripting Guy, Ed Wilson, is here. There is a “water feature” outside that keeps running and running and running. It is a bit strange, and to be honest, it makes me think that it is raining...
  • Blog Post: PowerTip: Find PowerShell Variables Defined for AllScope

    Summary : Find Windows PowerShell variables that are defined for all scopes. How can I find what variables are defined as AllScope in my Windows PowerShell environment? Get a list of all your variables, and filter for options that include AllScope , for example: (dir variable:).where({$_.options...
  • Blog Post: Weekend Scripter: Replace One PowerShell Function with Another

    Summary : Ed Wilson, Microsoft Scripting Guy, talks about replacing one Windows PowerShell function with a different one. Microsoft Scripting Guy, Ed Wilson, is here. One of the problems with writing Windows PowerShell code every day is that you eventually... No, it’s not what you think....
  • Blog Post: PowerTip: Launch PowerShell Without a Profile

    Summary : Learn how to launch Windows PowerShell without using a profile. I suspect my profile is causing issues with Windows PowerShell. How can I launch Windows PowerShell without starting the profile? Use the Run command to launch Windows PowerShell with the –noprofile switch: PowerShell...
  • Blog Post: Sorting PowerShell Transcript Files

    Summary : Ed Wilson, Microsoft Scripting Guy, talks about creating a sortable transcript name. Microsoft Scripting Guy, Ed Wilson, is here. One of the great things about Windows PowerShell is that if there is something that annoys you, you can generally fix it. Don’t get me wrong, Windows PowerShell...
  • Blog Post: I Have a PowerShell Profile—Now What?

    Summary : Ed Wilson, Microsoft Scripting Guy, talks about the what to add into a Windows PowerShell profile. Microsoft Scripting Guy, Ed Wilson, is here. It was a beautiful sunny weekend in central Florida. The Scripting Wife and I headed to Tampa, where we met up with various Windows PowerShell peeps...
  • Blog Post: Weekend Scripter: The Big Decision about Scripts

    Summary : Ed Wilson, Microsoft Scripting Guy, talks about if you should write Windows PowerShell scripts or do something else. Microsoft Scripting Guy, Ed Wilson, is here. It is the weekend, and once again, it is a beautiful sunny morning in central Florida. I am sitting outside with my Windows Surface...
  • Blog Post: Understanding PowerShell Modules

    Summary : Ed Wilson, Microsoft Scripting Guy, talks about Windows PowerShell modules. Hey, Scripting Guy! I keep hearing about Windows PowerShell modules, but I do not know what they really mean. Is it something that comes with Windows PowerShell, or is it something I have to buy or download? I don’t...
  • Blog Post: Understanding Advanced Functions in PowerShell

    Summary : Ed Wilson, Microsoft Scripting Guy, talks about Windows PowerShell advanced functions. Hey, Scripting Guy! I keep hearing about advanced functions, but to be honest, I am not really sure what they are talking about. I mean, I can do a function, but when does it become advanced? Only when...
  • Blog Post: Fun with PowerShell Functions

    Summary : Ed Wilson, Microsoft Scripting Guy, talks about basic design considerations for Windows PowerShell functions. Hey, Scripting Guy! I keep hearing about functions, but I really do not know what they are, how to create one, or even how to use one. Can you help me with this? I am not a programmer...
  • Blog Post: A PowerShell Script Is…

    Summary : Ed Wilson, Microsoft Scripting Guy, talks about creating and using a Windows PowerShell script. Microsoft Scripting Guy, Ed Wilson, is here. This afternoon, it is raining—actually more like a thunderstorm because there is lightning and thunder. In the afternoon in central Florida,...
  • Blog Post: PowerShell Scripting: The Terms

    Summary : Ed Wilson, Microsoft Scripting Guy, talks about Windows PowerShell scripting terminology. Hey, Scripting Guy! So I am confused, and I am not afraid to admit that I am confused. In the old fashioned VBScript days, I wrote scripts. I could also write subroutines or functions. And that was...
  • Blog Post: Weekend Scripter: When to Write a PowerShell Script

    Summary : Ed Wilson, Microsoft Scripting Guy, talks about when to write a Windows PowerShell script. Microsoft Scripting Guy, Ed Wilson, is here. I am enjoying a beautiful sunny morning in central Florida. The sun is shining, there is hardly a cloud in the sky, and a gentle ocean breeze tickles my...
  • Blog Post: PowerTip: Determine What Character a String Starts With

    Summary : Use Windows PowerShell to determine what character a string starts with. How can I use Windows PowerShell to show me if a string starts with a particular letter (this also needs to be case sensitive)? Use the StartsWith method from the String class, and supply the character to the method...