Browse by Tags

Tagged Content List
  • Blog Post: PowerTip: Use PowerShell to Create Hash Table

    Summary : Use a Windows PowerShell cmdlet to create a hash table. How can I use Windows PowerShell to create a hash table if do not remember the special syntax? Use the ConvertFrom-StringData cmdlet, and put each key-value pair on its own line. (You can perform this on a single line by using backtick...
  • Blog Post: Phantom Elements in a Hash Table

    Summary : Microsoft PFE and guest blogger, Chris Wu, talks about working with hash tables. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Chris Wu … Admittedly, hash tables didn’t catch my attention when I started using Windows PowerShell, but over time it...
  • Blog Post: PowerTip: Display a Blinking Message by Using PowerShell

    Summary : Use this one-line Windows PowerShell command to display a blinking message. Is there a one-line command that I could use to blink a message in the Windows PowerShell console to get the users attention? Pipe a range of numbers to the Foreach-Object cmdlet ( % is an alias), clear the screen...
  • Blog Post: PowerShell Report for a Windows Failover Cluster

    Summary : Use Windows PowerShell to create a report for a Windows failover cluster. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Rhys Campbell … I’m involved in the administration of several Failover Clusters , and I wanted to be able to easily report on...
  • Blog Post: Cmdlets Roasting on an Open Fire

    Summary : Are there new cmdlets in the Active Directory PowerShell module in Windows Server 2012 R2? Microsoft Scripting Guy, Ed Wilson, is here. Today we have an extra guest post from Ian Farr, who explores if there are new cmdlets in the Active Directory PowerShell module in Windows Server 2012...
  • Blog Post: PowerTip: Debug a Workflow with PowerShell 4.0

    Summary : Use Windows PowerShell 4.0 to debug a workflow. How do I set a breakpoint in a Windows PowerShell script workflow? Add the workflow to a script and use Set-PSBreakpoint to set a line breakpoint in the workflow: Set-PSBreakpoint -Script C:\Test-MyWorkflow1.ps1 -Line 12 ID Script...
  • Blog Post: PowerTip: Use PowerShell to Discover Console Colors

    Summary : Use Windows PowerShell to discover console color assignment. How can I see what colors are assigned in the Windows PowerShell console? Use the Get-Host cmdlet and expand the PrivateData property: (get-host).privatedata
  • Blog Post: Migrating Host-Named Site Collections

    Summary : Guest blogger and Microsoft PFE, Chris Weaver, talks about using Windows PowerShell to migrate host-named site collections. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back today to guest blogger, Chris Weaver … This week I was onsite with a customer in North Carolina...
  • Blog Post: PowerTip: PowerShell One-Liner to Find Short Aliases

    Summary : Use this Windows PowerShell one-liner to find one-, two-, three-, and four-letter aliases. How can I use a Windows PowerShell one-liner to find the number of default aliases that are one, two, three, and four letters long? Use the range operator to create an array with 1 through 4 numbers...
  • Blog Post: Store PowerShell Profile on SkyDrive

    Summary : Guest blogger, JD Platek, talks about storing the Windows PowerShell profile on SkyDrive. Microsoft Scripting Guy, Ed Wilson, is here. Today I would like to introduce a new guest blogger. Please welcome JD Platek. JD has been in IT since 2003, and he is an Exchange Server 2010 and...
  • Blog Post: PowerTip: Use PowerShell to List App Background Task Info

    Summary : Use Windows PowerShell to list app background task information. How can I use Windows PowerShell to find performance information about app background tasks on my laptop running Windows 8.1? Open Windows PowerShell with Admin rights. Use the Get-AppBackgroundTask cmdlet, and include the...
  • Blog Post: Use PowerShell to Work with RODC Accounts

    Summary : Microsoft premier field engineer, Ian Farr, talks about using Windows PowerShell to work with RODC accounts. Microsoft Scripting Guy, Ed Wilson, is here. Today I would like to introduce a new guest blogger, Ian Farr. Ian tells us about himself: I started out writing UNIX shell scripts...
  • Blog Post: PowerTip: Use PowerShell to Display a Routing Table

    Summary : Use Windows PowerShell to display your routing table. How can I use Windows PowerShell to display the routing table on my Windows 8.1 laptop? Use the Get-NetRoute function.
  • Blog Post: PowerTip: Use PowerShell to Find DNS Suffix Search List

    Summary : Use Windows PowerShell to find a DNS suffix search list. How can I use Windows PowerShell to find how DNS is configured on my computer running Windows 8.1 in terms of domain suffix search lists? Use the Get-DnsClientGlobalSetting function.
  • Blog Post: Weekend Scripter: Install Free PowerShell Remote Server Admin Tools

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about installing the free Remote Server Administration Tools for Windows PowerShell 3.0 in Windows 8. Microsoft Scripting Guy, Ed Wilson, is here. This morning is an awesome morning. Our friends from Hamburg, Germany have been hanging out all weekend...
  • Blog Post: PowerTip: Use PowerShell to Get BitLocker Recovery Key

    Use Windows PowerShell to get the BitLocker recovery key. ...( read more )...( read more )
  • Blog Post: Deciding How to Use PowerShell to Access AD DS

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about the decision points for deciding how to use Windows PowerShell to access Active Directory Domain Services. Hey, Scripting Guy! I am a bit confused. I see various blogs and scripts on the Script Repository, and some always use a third-party...
  • Blog Post: PowerTip: Find PowerShell Logging Info

    Summary : Use a Windows PowerShell cmdlet to retrieve logged information about Windows PowerShell. How can I easily find logged information about Windows PowerShell? Use the Get-WinEvent cmdlet and look for a LogName with powershell in the name: Get-WinEvent -LogName *powershell*...( read more...
  • Blog Post: PowerShell Workflow for Mere Mortals: Part 5

    Summary : Microsoft Scripting Guy, Ed Wilson, concludes his five-part series about Windows PowerShell Workflow. Hey, Scripting Guy! I have a number of commands that I want to run against several remote servers. The commands include stuff that must happen prior to something else happening. But then...
  • Blog Post: PowerTip: View PowerShell Console Host Information

    Summary : View Windows PowerShell console host information. How can I easily find information about the Windows PowerShell console host? Use the Get-Host cmdlet, and select the RawUI property from the InterhostUserInterface object: (get-host).ui.RawUI...( read more )
  • Blog Post: PowerShell Workflow for Mere Mortals: Part 4

    Summary : Microsoft Scripting Guy, Ed Wilson, continues his five-part series about Windows PowerShell Workflow. Hey, Scripting Guy! Yesterday you talked about Windows PowerShell Workflow activities. But you only demonstrated the Parallel activity. Is there something you can share with me about some...
  • Blog Post: PowerTip: Use PowerShell to Display Date, Time, and Hour

    Summary : Use Windows PowerShell to display date, time, and hour in 24-hour format. How can I use Windows PowerShell to get the hour of the day in 24-hour format? Use the Get-Date cmdlet and specify the “%H” pattern to the UFormat parameter ( H is case sensitive): get-date -UFormat...
  • Blog Post: PowerShell Workflow for Mere Mortals: Part 3

    Summary : Microsoft Scripting Guy Ed Wilson continues his five-part series about Windows PowerShell Workflow. Hey, Scripting Guy! So what’s up with Windows PowerShell workflows and activities? I do not know what an activity is. Can you help me? —CJ Hello CJ, Microsoft Scripting...
  • Blog Post: PowerTip: Customize How PowerShell Displays a Date

    Summary : Easily customize the way Windows PowerShell displays a date. How can I use Windows PowerShell to easily display the date as day-dash-month-dash-four-digit year? Use the Get-Date cmdlet,specify a custom format by using the Format parameter, and use dd for the date, M for the month and...
  • Blog Post: PowerShell Workflow for Mere Mortals: Part 2

    Summary : Microsoft Scripting Guy, Ed Wilson, continues a five-part series about Windows PowerShell Workflow. Hey, Scripting Guy! So Windows PowerShell Workflow seems pretty cool. But I am wondering if it is possible to use it to easily provide workflow types of things for remote computers? Is this...
Page 1 of 3 (55 items) 123