Jim Lahman's Blog
.Netting in a real-time world
Site Sections
Home
Contact
Syndication
Login
Posts
7
Comments
2
Trackbacks
0
Thursday, May 14, 2009
Powershell output
I'm beginning to write simple scripts in powershell. One of the things items that really isn't straight forward is the
write-output
command. At first glance, one would think that this would simply output a string. Well, there is a trick I found.
PS>write-output xxxxxxxx yyyyyyyyy
really outputs
xxxxxxxx
yyyyyyyyy
PS>write-output "xxxxxxxx yyyyyyyyy"
really outputs
xxxxxxxx yyyyyyyyy
PS> $A = 10
PS>$B = 20
PS>write-output "A = $A B = $B"
really outputs
A = 10 B = 20
posted @
Thursday, May 14, 2009 3:30 PM
|
Feedback (0)
Archives
July, 2009 (2)
May, 2009 (2)
April, 2009 (3)
News
Twitter
wildcatter
A discussion on C# structures as a function parameter ->
http://bit.ly/PfyDW
about 13 days ago
wildcatter
For the past few years, I've focused on OO purity; but I've come to believe that smarts & Getting Things Done is what counts.
about 13 days ago
wildcatter
Biggest thing I learned at AIST is that all this new technology is nice BUT don't let it interfere with production!!
#industrialautomation
about 14 days ago
wildcatter
Back in office after having
#swineflu
- used Oscillococcinum to help me recover; am amazed at how fast I recovered with this med
about 26 days ago
wildcatter
Think plastically!!
about 30 days ago
wildcatter
As a reseller, dealing with
#Dell
is royal pain in the you know what!! Dell acts like they don't want resellers.
about 33 days ago
wildcatter
planning my trip to Charlotte for the southeast region AIST show; will demonstrate our automation system on Windows
#Microsoft
about 33 days ago
wildcatter
@VanillaDeVille
Good morning to you!!
about 33 days ago
wildcatter
successfully built/tested a 32-bit app from a x64 laptop using vs x86 option. Cool!!
#net
#microsoft
about 33 days ago
wildcatter
I should've figured this out earlier, but I just learned how to store & read project settings from C#
#net
about 33 days ago
Copyright © 2005 Jim Lahman
This work is licensed under a
Creative Commons License