Books

Translate This Blog
-
Recent Posts
Top Posts
- Querying UDP Ports with PowerShell
- Changing Ownership of File or Folder Using PowerShell
- Building a TCP Server Using PowerShell
- Quick Hits: Ping Sweep One Liner
- Avoiding System.Object[] (or Similar Output) when using Export-Csv
- Locating Mount Points Using PowerShell
- PowerShell and WPF: Writing Data to a UI From a Different Runspace
- Beginning with PowerShell and Word
- Quick Hits: Finding Exception Types with PowerShell
- PowerShell and Excel: Adding Some Formatting To Your Report
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: V4
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
Using $PSDefaultParameterValues in PowerShell
Recently I saw someone posted a reply to one of my comments on a blog article that he had never heard of $PSDefaultParameterValues before now. With that, I will give you a walkthrough of this feature added in PowerShell V3 … Continue reading
Checking Out The Where and ForEach Operators in PowerShell V4
#Requires –Version 4.0 With the release of PowerShell V4, we received the Desired State Configuration (DSC) module as the main piece as well as some other things, some known and some not known that well. One of those things is … Continue reading
New Things in Windows PowerShell 4.0
As most of you already know, PowerShell V4 is coming out soon. The preview version or beta or whatever you would like to call is already available via the Windows 2012 R2 download available to MSDN subscribers while the stand-alone … Continue reading