comma seperated values using xml and clr
Last modified by Thomas Lee on 4/12/2008 5:21:22 AM
# trim-sortedlist.ps1# Demonstrates trim method on system.collections.sortedlist# Thomas Lee - tfl@psp.co.uk
# Create and initialise a new sorted list
$mySL = new-object system.collections.SortedList$mySL.Add( "one", "The" )$mySL.Add( "two", ...
Last modified by Thomas Lee on 4/12/2008 12:46:55 AM
# get-sortedlist.ps1# Sortedlist sample using PowerShell# Thomas Lee - tfl@psp.co.uk
# Define helper function
function PrintKeysAndValues( $myList ) {"`t-KEY-`t-VALUE-" for ( [int] $i = 0; $i -lt $myList.Count; $i++ ) { "`t{0}:`t{1}" -F ...
Last modified by Thomas Lee on 4/11/2008 10:56:41 PM
# get-stack2.ps1# sample shoing push and other stack processing using PowerShell# Thomas Lee - tfl@psp.co.uk
# Create and initialise a new stack object$mystack = new-object system.collections.stack$myStack.Push( "The" )$myStack.Push( "quick" )$...
Last modified by Thomas Lee on 4/11/2008 10:40:18 PM
# get-stack2.ps1# sample shoing push and other stack processing using PowerShell# Thomas Lee - tfl@psp.co.uk
# Create and initialise a new stack object$mystack = new-object system.collections.stack$myStack.Push( "The" )$myStack.Push( "quick" )...
Last modified by Thomas Lee on 4/11/2008 10:38:46 PM
<< Previous |
Next >> |
Show All