Browse by Tags

Tagged Content List
  • Blog Post: Weekend Scripter: Hurrah for Curah

    Summary : Teresa Wilson (aka Scripting Wife) talks about how Microsoft Curah solved her search issue. Microsoft Scripting Guy, Ed Wilson, is here. Windows PowerShell MVP, Teresa Wilson is back with us today to share information about Curah. One of the problems with trying to find technical information...
  • Blog Post: Use Windows PowerShell to Prepare for Migration from SharePoint 2007

    Summary : Marc Adam Carter talks about using Windows PowerShell to smooth the way for a large SharePoint 2007 migration. Microsoft Scripting Guy, Ed Wilson, is here. Today our guest blogger is Marc Adam Carter ... If you’re responsible for administering a SharePoint 2013 or SharePoint 2010...
  • Blog Post: PowerTip: Count a Range of Seconds with PowerShell

    Summary : Use Windows PowerShell to count a range of seconds. How can I use Windows PowerShell to count a range of seconds of increasing duration? Use the range operator to create a range of numbers, then pipe the results to the ForEach-Object cmdlet inside a script block call Start-Sleep : ...
  • Blog Post: Handling Errors the PowerShell Way

    Summary : Trevor Sullivan talks about handling errors in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we have guest blogger and Windows PowerShell MVP, Trevor Sullivan ... also find Trevor on Twitter ( https://twitter.com/pcgeek86 ) and his blog ( http://trevorsullivan.net...
  • Blog Post: PowerTip: Find Information About ErrorActionPreference

    Summary : Find information, beyond the basics, for the Windows PowerShell variable ErrorActionPreference . How can I use Windows PowerShell to see information, beyond only the value, for the variable ErrorActionPreference ? Use the Get-Variable cmdlet and pipe the results to the Format-List cmdlet...
  • Blog Post: Getting to Know ForEach and ForEach-Object

    Summary : Learn the differences between ForEach and ForEach-Object in Windows PowerShell. Honorary Scripting Guy and Windows PowerShell MVP, Boe Prox , here today filling in for my good friend, The Scripting Guy. Today I am going to talk about some differences between using ForEach and using ForEach...
  • Blog Post: PowerTip: Use PowerShell to Locate the Help File You Need

    Summary : Learn how to use Windows PowerShell to find the Help file you need. How can I figure out the exact name of the Help file that I am looking for about sessions? Use a wildcard character with Get-Help to narrow down the scope of the Help files: Get-Help about_*session* Name Category...
  • Blog Post: Piping Results from One PowerShell Cmdlet to Another

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about piping the results from one cmdlet to another. Hey, Scripting Guy! I have a problem. When I pipe information from one Windows PowerShell cmdlet to anther (for example, when I use Get-Process and pipe it to Stop-Process ), sometimes it works...
  • Blog Post: PowerTip: Find Information About PowerShell Cmdlet Parameter Sets

    Summary : Learn how to find information about Windows PowerShell cmdlet parameter sets. How can I find information about the various parameter sets for a specific Windows PowerShell cmdlet? Use Get-Command to return cmdlet information, pipe the results to the Select-Object cmdlet, and expand the...
  • Blog Post: Back to Basics Part 5: Outputting Data

    Summary : Microsoft PFE, Gary Siepser, talks about outputting data via the pipeline in this exciting conclusion to a five part series. Microsoft Scripting Guy, Ed Wilson, is here. Today brings an end to a week of guest blog posts by Gary Siepser. You can read the following posts to catch up with the...
  • Blog Post: PowerTip: Difference Between XML PowerShell Cmdlets

    Summary : Understand the difference between XML cmdlets in Windows PowerShell. What is the difference between the Windows PowerShell cmdlets, Export-CliXML and ConvertTo-XML ? The Help file for ConvertTo-XML says: "This cmdlet is similar to Export-CliXML, except that Export-CliXML stores...
  • Blog Post: Back to Basics Part 4: More Ways to Manipulate Data

    Summary : Microsoft PFE, Gary Siepser, talks more about the basics of the Windows PowerShell pipeline. Microsoft Scripting Guy, Ed Wilson, is here. Today Gary Siepser delivers his Part 4 of his five part series. To follow along, you can read: Back to the Basics Part 1: Learn About the PowerShell...
  • Blog Post: PowerTip: Looking for Folders and Files in PowerShell

    Summary : Learn about looking for folders and files in Windows PowerShell. Why does this command show me folders instead of files? Dir | Where PSIsContainer -eq False In Windows PowerShell, use the automatic variables $True and $False to refer to Boolean values instead of the string True and...
  • Blog Post: Back to the Basics Part 3: Do Something with Your Data

    Summary : Microsoft PFE, Gary Siepser, further investigates the basics of the Windows PowerShell pipeline. Microsoft Scripting Guy, Ed Wilson, is here. It's midweek already! Time sure flies, especially when you have a guest blogger for the week. Welcome back Gary Siepser for the third part in...
  • Blog Post: PowerTip: Sorting More than One Column

    Summary : Learn to sort by more than one column in Windows PowerShell. Can I use Windows PowerShell to sort by more than one column, and have the primary column be ascending and secondary column be descending? In the Help examples, you'll see that the Property parameter accepts a hash table...
  • Blog Post: Back to the Basics Part 2: Learn about the Pipeline and "Getters"

    Summary : Microsoft PFE, Gary Siepser, talks about the basics of using the Windows PowerShell pipeline and "getters." Microsoft Scripting Guy, Ed Wilson, is here. This week, Gary Siepser, a Microsoft PFE is our guest blogger. Yesterday, we posted the first part of his series: Back to the...
  • Blog Post: PowerTip: Use Custom Delimiter with CSV File

    Summary : Use a custom delimiter with Windows PowerShell when reading a CSV file. Can I use a delimiter other than the comma ( , ) when reading from a CSV file? Import-CSV has a parameter dedicated for this purpose called -Delimiter : Get-Help Import-Csv -ShowWindow You can easily use...
  • Blog Post: Weekend Scripter: Top Ten PowerScripting PodCasts

    Summary : Windows PowerShell MVP, Teresa Wilson, talks about the top ten PowerScripting podcasts. Microsoft Scripting Guy, Ed Wilson, is here. This weekend we have a very special guest blogger. You guessed it. Teresa Wilson , aka The Scripting Wife, will share her thoughts with you. Take it away Teresa...
  • Blog Post: PowerTip: PowerShell Summit Europe 2014

    Summary : The Scripting Wife shares information about Windows PowerShell Summit Europe 2014. Do you have any information about the Windows PowerShell Summit Europe 2014? Windows PowerShell Summit 2014 is Sept 29–October 1, 2014 in Amsterdam. Here is a link to more information...
  • Blog Post: Weekend Scripter: Using Try, Catch, Finally Blocks for PowerShell Error Handling

    Summary : Microsoft PFE, Ashley McGlone, talks about using Try, Catch, Finally blocks for error handling in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today’s guest blogger is Ashley McGlone, a Microsoft premier field engineer. Ashley is a popular speaker at our Windows...
  • Blog Post: PowerTip: Examine the Most Recent PowerShell Error

    Summary : Learn how to examine the most recent error in Windows PowerShell. My Windows PowerShell command failed with an error. How can I look at the error record? Use the $error automatic variable to it displays the last error. You can see more details by piping it to the Format-List cmdlet and...
  • Blog Post: Back to the Basics Part 1: Learn About the PowerShell Pipeline

    Summary : Guest blogger and Microsoft PFE, Gary Siepser, talks about the basics of the Windows PowerShell pipeline. Microsoft Scripting Guy, Ed Wilson, is here. This week we have a series of five posts that are written by PFE Gary Siepser as we head back to the basics with the Windows PowerShell pipeline...
  • Blog Post: PowerTip: Learn to Start the PowerShell Pipeline

    Summary : Find cmdlets that permit starting the pipeline in Windows PowerShell. How do I find all the Get commands that allow me to start a pipeline? Although there are a number of ways, the Get-Command cmdlet has a parameter called -Verb for this purpose: PS > Get-Command -Verb Get CommandType...
  • Blog Post: Weekend Scripter: Basic Lync Server 2013 Backup and Restore—Part 2

    Summary : Use native automation and Windows PowerShell cmdlets to back up Lync Server 2013. Honorary Scripting Guy, Sean Kearney, is here to finish up my crazy weekend fun automating Lync backup. So we've already gone through probably the trickiest part, which is getting the bulk of the Lync...
  • Blog Post: PowerTip: Document Server's IP Addresses by Using PowerShell

    Summary : Use Windows PowerShell to document the IP addresses on a server. How can I use Windows PowerShell to easily go through my server environment and document the IP addresses in use on each machine? We can do this with a wee bit o' magic from the new Get-NetIPConfiguration cmdlet in Windows...