Browse by Tags

Tagged Content List
  • Blog Post: PowerShell and BitLocker: Part 2

    Summary : Guest blogger, Stephane van Gulick, continues his series about using Windows PowerShell and BitLocker together. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back Stephane van Gulick for the final part of his two-part series. Be sure you read PowerShell and BitLocker: Part 1 first...
  • Blog Post: PowerTip: Pad String to Left with PowerShell

    Summary : Use Windows PowerShell to pad a string to the left. How can I use a specific Unicode character with Windows PowerShell to pad a string to the left so that the entire string is a certain length? Use the PadLeft method from the String class. Specify the length of the newly created string...
  • Blog Post: PowerShell and BitLocker: Part 1

    Summary : Guest blogger, Stephane van Gulick, presents a practical hands-on post that shows how to use Windows PowerShell and BitLocker together. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a new guest blogger, Stephane van Gulick. Stephane was introduced to me by The Scripting Wife...
  • Blog Post: PowerTip: Determine Letter a String Begins With

    Summary : Use Windows PowerShell to determine the letter that a string begins with. How can I use Windows PowerShell to find if a particular string begins with the letter “s”? Use the StartsWith method from the string, for example: PS C:\> "string".StartsWith("S"...
  • Blog Post: Weekend Scripter: Use PowerShell for JIT Administration and PAM – Part 2

    Summary : Guest blogger, and Microsoft PFE Ian Farr, continues his series about JIT administration with Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today, welcome back Ian Farr for the conclusion of his two-part blog. Before you dig into today's post, please read Use PowerShell...
  • Blog Post: PowerTip: Find Formatting Information for List Views

    Summary : Find Windows PowerShell formatting information for list views. How can I use Windows PowerShell to find information about format data for types for list views? Use the Get-FormatData cmdlet and pipe the output to Where-Object ., for example: Get-FormatData | ? FormatViewDefinition...
  • Blog Post: Weekend Scripter: Use PowerShell for JIT Administration and PAM – Part 1

    Summary : Guest blogger, Microsoft PFE, Ian Farr, talks about JIT administration with Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger Ian Farr. To read more of Ian's previous guest posts, see these Hey, Scripting Guy! Blog posts . This weekend is a two...
  • Blog Post: PowerTip: Find the PowerShell Version

    Summary : Easily find your Windows PowerShell version. How can I find information about my Windows PowerShell version? Use the $psversionTable automatic variable with the PSVersion property, for example: $PSVersionTable.PSVersion.Major
  • Blog Post: Weekend Scripter: Manage SQL Server Virtual Log File with PowerShell

    Summary : Guest blogger, Microsoft PFE, Jonathan Yong, talks about using Windows PowerShell to manage the SQL Server virtual log file. Microsoft Scripting Guy, Ed Wilson, is here. This is the week of new guest bloggers it seems. Today, please welcome Microsoft PFE, Jonathan Yong... Some time back...
  • Blog Post: PowerTip: Find PowerShell Aliases by Module

    Summary : Use Windows PowerShell to find aliases by module. How can I easily find which modules expose aliases? Use the Get-Alias cmdlet and pipe the results to the Sort-Object cmdlet ( Sort is an alias), for example: Get-Alias | sort modulename -Descending
  • Blog Post: Weekend Scripter: Get Started with PowerShell for Amazon Web Services

    Summary : Windows PowerShell MVP, Mike F Robbins, walks through a setup to manage an Amazon Web Services environment with Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back Mike F Robbins to talk about Windows PowerShell for Amazon Web Services. Mike F Robbins is a...
  • Blog Post: PowerTip: Find Aliases for PowerShell Cmdlets

    Summary : Learn how to find aliases for Windows PowerShell cmdlets. How can I easily find all the aliases defined for a given Windows PowerShell cmdlet? Use the –Definition parameter of the Get-Alias cmdlet, for example: Get-Alias -Definition Get-ChildItem
  • Blog Post: Use PowerShell to Check In for Flight

    Summary : Guest blogger, Microsoft PFE, Bill Grauer, talks about using Windows PowerShell to check in for a flight. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a new guest blogger—Bill Grauer, a Microsoft PFE... As a Windows PowerShell instructor, I try to drive home a simple...
  • Blog Post: PowerTip: Find Approved Verbs in PowerShell

    Summary : Use Windows PowerShell to find approved verbs. How can find a list of approved verbs for a function I am writing in Windows PowerShell? Use the Get-Verb function.
  • Blog Post: Let Sleeping VBScript Scripts Lie

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about when to replace a VBScript script and when not to. Microsoft Scripting Guy, Ed Wilson, is here. One of the really awesome things about the Microsoft Ignite conference in Chicago this year was the chance to talk to literally thousands of people...
  • Blog Post: PowerTip: Update Windows PowerShell Help Files

    Summary : Learn to easily update Windows PowerShell Help files. I try to use Get-Help , but I am unable to retrieve any information. What do I need to do? Open the Windows PowerShell console (or the Windows PowerShell ISE) with admin rights, and type Update-Help .
  • Blog Post: Dude, PowerShell Changed My Life

    Summary : Ed Wilson relates conversations from the Microsoft Ignite 2015 conference in Chicago. One of the great things about being at Ignite in Chicago is the opportunity to talk to so many people. I mean, with 23,000 attendees, most of whom it seems stopped by the Scripting Guys booth, the conversations...
  • Blog Post: Write TargetResource Functions for PowerShell DSC

    Summary : Guest blogger and Microsoft PFE, Jason Walker, talks about writing Get , Set , and Test TargetResource functions for DSC. Microsoft Scripting Guy, Ed Wilson, is here. Microsoft PFE and Honorary Scripting Guy, Jason Walker , is back with us today for Part 2 of his two-part series. Yesterday...
  • Blog Post: PowerTip: Convert PowerShell Path to Standard Path

    Summary : Convert a Windows PowerShell path to a standard path. How can I convert a Windows PowerShell registry provider path to a standard registry path? Use the Convert-Path cmdlet, for example: Convert-Path HKLM:\SOFTWARE\Microsoft
  • Blog Post: Anatomy of a PowerShell DSC Resource

    Summary : Guest blogger and Microsoft PFE, Jason Walker, talks about the anatomy of a Windows PowerShell DSC resource. Microsoft Scripting Guy, Ed Wilson, is here. Today is Part 1 of a two-part series written by Microsoft PFE and Honorary Scripting Guy, Jason Walker . The majority of my "PowerShelling"...
  • Blog Post: PowerTip: Identify Location of PowerShell Providers

    Summary : Identify the location of Windows PowerShell providers. How can I find where the Windows PowerShell providers on my system come from? Use the Get-PSProvider Windows PowerShell cmdlet, and select the Name and the ModuleName properties: Get-PSProvider | select name, modulename
  • Blog Post: Use Windows PowerShell to Parse RSS Feeds

    Summary : Microsoft PowerShell MVP, Will Anderson, talks about using Windows PowerShell to parse RSS feeds. Microsoft Scripting Guy, Ed Wilson, is here. Today I welcome recent Windows PowerShell MVP and new guest blogger, Will Anderson ... Hi there fellow scripters! Last week as I took my seat...
  • Blog Post: PowerTip: Test URI with PowerShell

    Summary : Use Windows PowerShell to test a URI. How can I use Windows PowerShell to easily test if I can reach a URI? Use the Test-Uri function from the Windows PowerShell Cookbook module , for example: Test-Uri -Uri http://www.microsoft.com
  • Blog Post: Popcorn, Peanuts, and PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about day two of Microsoft Ignite 2015 in Chicago. When I was a kid, my brother and I could not wait for spring. In fact, during the winter, we carefully perused the schedule…THE schedule of the Cincinnati Reds games at Riverfront Stadium...
  • Blog Post: How Do You Use PowerShell?

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about conversations with visitors to the Scripting Guys booth at Ignite 2015. It is Tuesday morning, and the expo is already at a dull roar of excitement. Microsoft PFEs Brian Wilhite, Jason Walker, and the Scripting Wife found a relatively quiet...