Difference between revisions of "Power Shell"

Jump to navigation Jump to search
154 bytes added ,  15:14, 23 March 2010
→‎Variables: Added "Arrays"
(→‎FTP: Added links)
(→‎Variables: Added "Arrays")
Line 134: Line 134:
<br>'''Strip Whitespace'''<br>
<br>'''Strip Whitespace'''<br>
<source lang="powershell"> $string = $string.TrimEnd() </source>
<source lang="powershell"> $string = $string.TrimEnd() </source>
=== Arrays ===
<source lang="powershell">
$array = @()            # Create blank array
$array += 34            # Add value to end of array
</source>


=== Datetime ===
=== Datetime ===

Navigation menu