Sign in
|
Join PowerShell.com!
|
Help
Home
PowerTips
Ask the Experts
Forums
Webcasts
Blogs
eBookV2
Script Library
Twitter Grid
Featured Posts
Dreaming in PowerShell
Don Jones
Code MarkUp Tool
Directory
September 2010 - Dreaming in PowerShell
Share
|
Recent Posts
Test-Driving PowerShell v3: How To Install And Run PSv3 BETA
Managing Child Processes
Don't Waste Speed - How To Activate The PowerShell Turbo Mode
Displaying Data in Excel (and why it won't work)
Finding Logged On User (and Writing To Other People's Registry)
Archives
May 2012 (3)
April 2012 (3)
December 2011 (1)
November 2011 (1)
October 2011 (2)
September 2011 (2)
August 2011 (1)
June 2011 (1)
May 2011 (2)
April 2011 (2)
March 2011 (3)
February 2011 (3)
January 2011 (2)
November 2010 (5)
October 2010 (5)
September 2010 (2)
August 2010 (1)
March 2010 (1)
January 2010 (3)
September 2009 (2)
August 2009 (1)
July 2009 (1)
May 2009 (2)
March 2009 (1)
February 2009 (1)
January 2009 (3)
December 2008 (1)
November 2008 (8)
October 2008 (3)
September 2008 (1)
Tags
Audio
COM
Convert
Credential
Get-Shortcut
GetType()
Get-WMIObject
OpenWSMan
Parameters
Password
path
performance
ping
Pipeline
PowerShell
Recurse
RegEx
Regular Expression
Remoting
Split
Tag
taglib-sharp.dll
V2
Video
Windows 7
View more
The blog of Dr. Tobias Weltner - PowerShell MVP
Sort by:
Most Recent
|
Most Viewed
|
Most Commented
Creating Pipeline-Aware Functions
In part 1 of this series (Part 1) you learned a lot about creating functions that return results as real objects. You also created a function called Get-Shortcut which manages shortcuts in your start menu. As promised, today I'll show you how to use...
Published
Wed, Sep 29 2010 7:30 PM
by
Tobias
Filed under:
Pipeline
,
Property
,
Show-Properties
,
Attribute
,
ValueFromPipelineByPropertyName
,
Parameter
Creating Objects Yourself (and a bunch of cool things you can do with them)
PowerShell commands always return objects . Your own functions may simply return text . That's bad because only objects can be fed into other cmdlets, for example to sort, group or export the information. Fortunately, it's easy to create your...
Published
Wed, Sep 22 2010 1:06 PM
by
Tobias
Filed under:
object
,
New-Object
,
WScript.Shell
,
Get-Shortcut
,
Training
,
Shortcut
Copyright 2011 PowerShell.com. All rights reserved.