Books
Translate This Blog
-
Recent Posts
Top Posts
- Changing Ownership of File or Folder Using PowerShell
- Starting,Stopping and Restarting Remote Services with PowerShell
- Querying UDP Ports with PowerShell
- Quick Hits: Ping Sweep One Liner
- PowerShell and Excel: Adding Some Formatting To Your Report
- Getting the Icon from a File Using PowerShell
- Avoiding System.Object[] (or Similar Output) when using Export-Csv
- PowerShell and WPF: StackPanel
- Get All Members of a Local Group Using PowerShell
- Locating Mount Points Using PowerShell
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
Tag Archives: array
Invoking Private Static Methods Using PowerShell
Usually if I want to accomplish a task in PowerShell, I can count on either a cmdlet or a publicly available .Net method to come to my rescue. Sometimes though, a method that I would like to use is just … Continue reading
Looking More at System.Array With PowerShell
I had written about why you shouldn’t use System.Array and instead should use System.Collections.ArrayList and went over the performance gains regarding this. I had mentioned that each time you add something to the System.Array, that it rebuilt itself while adding … Continue reading
Quick Hits: Adding Items to an Array and a Look at Performance
I had some comments on a recent performance comparison article that were well received and encouraged me to write some more of these similar articles. So without further ado, lets get started on looking at adding items to an array … Continue reading
Creating a Report of Log File Data using Regular Expressions, Arrays and Hash Table
As I was checking my email early in the morning, I saw an email from co-worker asking me to write a script to parse through some logs that were generated from another script that listed the date the script is … Continue reading
Posted in powershell, scripts
Tagged array, hash table, logs, Powershell, regex, Regular Expressions
5 Comments
Custom Powershell Objects and Performance
One of the things that I have been seeing are the different ways to compile a report or to create a collection of custom objects in Powershell. In fact, there was a comment on a previous post saying that I … Continue reading