Books

Translate This Blog
-
Recent Posts
Top Posts
- Querying UDP Ports with PowerShell
- Changing Ownership of File or Folder Using PowerShell
- Avoiding System.Object[] (or Similar Output) when using Export-Csv
- Using PowerShell Parameter Validation to Make Your Day Easier
- Building a Chart Using PowerShell and Chart Controls
- Locating Mount Points Using PowerShell
- Setting up Local Administrator Password Solution (LAPS)
- PowerShell and Excel: Adding Some Formatting To Your Report
- Using a ScriptBlock Parameter With a PowerShell Function
- Quick-Hits: Find currently logged on users
Archives
Categories
- .net
- api
- array
- background jobs
- binary
- book
- c#
- clock
- codeplex
- com object
- convert
- CTP
- database
- deep dive
- excel
- Favorites
- function
- groups
- guest blog
- hash table
- Internet Explorer
- ise
- mcpmag
- module
- MVP
- network
- news
- parameter
- patches
- performance
- pinvoke
- podcast
- port
- PoshChat
- poshpaig
- PoshRSJob
- poshwsus
- powercli
- powerscripting
- Powershell
- printers
- quickhits
- reflection
- regex
- registry
- Regular Expressions
- report
- resolution
- runspace
- runspaces
- scripting games 2012
- scripting games 2013
- scripting guy
- scripts
- SMO
- Speaker
- speaking
- SQL
- tcp
- tips
- tsql
- updates
- user group
- V3
- V4
- v5
- weather
- widget
- win32API
- winter scriting games 2014
- wmi
- word
- WPF
- wsus
- xaml
Category Archives: powershell
Avoiding System.Object[] (or Similar Output) when using Export-Csv
I’ve ran into this issue a number of times and have seen others as well when they attempt to pipe some data which may have a collection of items in one of its properties to a CSV file using Export-Csv. … Continue reading
Winter Scripting Games 2014 Tip #2: Use #Requires to let PowerShell do the work for you
In Version 2 of PowerShell, you had the ability to use #Requires –Version 2.0 to ensure that your scripts/functions would only run at a specified PowerShell version to prevent folks running an older version from wondering why things weren’t working … Continue reading
Posted in powershell, V3, V4, Winter Scripting Games 2014
Tagged #Requires, Powershell, tips, V3, V4, winter scriting games 2014
3 Comments
Winter Scripting Games 2014 Tip #1: Avoid the aliases
Having been a judge for the previous 2 Scripting Game competitions as well as competing in the 2 before that, I have seen my share of scripts submitted that didn’t quite meet the cut of what I felt were the … Continue reading
Posted in powershell, Winter Scripting Games 2014
Tagged Powershell, PshGames, tips, winter scriting games 2014
5 Comments
Custom PowerShell Objects and Performance Revisited
Way back in my earlier days of blogging (Sept 2010), I wrote an article (I recommend you check this one out for more information regarded some of the older styles of custom object creation) that talked about the performance differences … Continue reading