Use PowerShell to Read Munged Data
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell with munged data.Microsoft Scripting Guy, Ed Wilson, is here. Last week, the Scripting Wife and I had the opportunity...
View ArticlePowerTip: Use PowerShell to Read Tab Delimited File
Summary: Use Windows PowerShell to read a Tab delimited file. How can I use Windows PowerShell to read a Tab delimited file? Use the Import-CSV cmdlet and specify a delimiter of `t, for example:$a =...
View ArticleUse PowerShell to Fix Date from CSV File
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to fix the date in a CSV file prior to data export.Microsoft Scripting Guy, Ed Wilson, is here. This morning I am...
View ArticlePowerTip: Create Custom Names for CSV File
Summary: Use Windows PowerShell to create custom column headings. How can I use Windows PowerShell to generate custom heading for a CSV file when I import it? Specify the –Header parameter as an array...
View ArticleUse PowerShell to Normalize Names Before Data Import
Summary: Use Windows PowerShell to normalize names before importing data.Microsoft Scripting Guy, Ed Wilson, is here. I have been reading Jane Austen Northanger Abbey this week in the evenings. I...
View ArticlePowerTip: Use PowerShell to Change System Time
Summary: Learn how to use Windows PowerShell to change the system time. The clock on my computer (running Windows 8.1) is 30 minutes slow. How can I use Windows PowerShell to move the...
View ArticleUse PowerShell to Fix Address Issues Prior to Export
Summary: Use Windows PowerShell to fix address issues prior to exporting the data to another database.Microsoft Scripting Guy, Ed Wilson, is here. This morning I am listening to The Doors on my Zune...
View ArticlePowerTip: Use Graphical Tool to Create PowerShell Commands
Summary: Learn how to use a graphical tool to create Windows PowerShell commands. How can I use Windows PowerShell so that I can point-and-click at options that are available for a using a particular...
View ArticleCreating Custom PowerShell Objects
Summary: Use Windows PowerShell to create custom objects prior to data export.Microsoft Scripting Guy, Ed Wilson, is here. It is nice and cool this morning so I decided to walk over to the neighborhood...
View ArticlePowerTip: Hide Common Code in PowerShell ISE
Summary: Learn how to hide common code in the Windows PowerShell ISE. How can I hide related code in the Windows PowerShell ISE to make it easier to troubleshoot and to read? Open the ISE, and in the...
View ArticleWeekend Scripter: A Function to Clean Up Data Import
Summary: Learn about a Windows PowerShell function you can use to clean up data prior to import.Microsoft Scripting Guy, Ed Wilson, is here. We are entering the Labor Day weekend in the United States...
View ArticlePowerTip: Use PowerShell to Set Primary and Secondary DNS Server Addresses
Summary: Use Windows PowerShell to set the primary and secondary DNS server addresses for a client. I recently changed the IP address scheme for an entire subnet. How can I use Windows PowerShell to...
View ArticleWeekend Scripter: Parse Folder of Data with PowerShell
Summary: Use Windows PowerShell to parse a folder that contains data dumps.Microsoft Scripting Guy, Ed Wilson, is here. This morning I got up, and headed to the Farmers Market in town. I picked up a...
View ArticlePowerTip: Using PowerShell to Determine if Path Is to File or Folder
Summary: Learn how to use Windows PowerShell to determine if a path is to a file or a folder. How can I use Windows PowerShell to determine if a path is to a file or a folder? Use the Get-Item cmdlet...
View ArticleWhat’s a Tuple, and Why Would I Want to Use It?
Summary: Learn about using tuples with Windows PowerShell. Hey, Scripting Guy! What is a tuple, and why would I want to use one?—RT Hello RT,Microsoft Scripting Guy, Ed Wilson, is here. I just got back...
View ArticlePowerTip: Use PowerShell to Sort Array
Summary: Use Windows PowerShell to sort an array. How can I use Windows PowerShell to sort an array? Use the static Sort method from the [array] class, for example:$a = 1,2,4,5,3,6 [array]::sort($a)
View ArticleUsing a Tuple in PowerShell
Summary: Learn how to use a Tuple in Windows PowerShellHey, Scripting Guy! I read your article from yesterday, so I know about Tuples. How do I actually use one?—HDHello HD,Microsoft Scripting Guy, Ed...
View ArticlePowerTip: Reverse Array with PowerShell
Summary: Use Windows PowerShell to reverse an array. How can I use Windows PowerShell to sort an array that is going in the wrong direction? Call the Reverse static method from the [array] class, for...
View ArticleUsing and Understanding Tuples in PowerShell
Summary: Guest blogger, Windows PowerShell MVP, Joel Bennett talks about using tuples in Windows PowerShell.Microsoft Scripting Guy, Ed Wilson, is here. Today, we have a guest blog post by Windows...
View ArticlePowerTip: Use PowerShell to Copy Array
Summary: Use Windows PowerShell to copy an array. How can I use Windows PowerShell to copy the contents of one array over another array? One way to do this is to use the Copy static method from the...
View Article