Search found 4 matches

by fizban2
Wed Aug 19, 2009 10:21 am
Forum: PowerShell
Topic: New line fails in XML file
Replies: 2
Views: 1871

New line fails in XML file

Thank you much for the reply!

I will give it a test and see how it goes!
Sadly the fizban does not run in the family :)
by fizban2
Wed Aug 19, 2009 6:42 am
Forum: PowerShell
Topic: New line fails in XML file
Replies: 2
Views: 1871

New line fails in XML file

Trying to add a new line in a variable, but when i add the content to a file (xml in this case) the line break does happen $foo = "<Site>`n" $foo = $foo + "<sites Url=www.something.com /> `n" $foo = $foo + </Site> Add-Content $foo C:File.xml the output is like this <Site><sites U...
by fizban2
Thu May 08, 2008 10:03 pm
Forum: PowerShell
Topic: Tips for output for WMI query
Replies: 2
Views: 4056

Tips for output for WMI query

hi all, trying to dive into powershell and make use of all the cool features but running into a snag, trying to figure out a way to output to a text file or HTML, i know there are cmdlets to do this but i cannot figure out how to pipe what i am doing to properly so i can output to the format i want....
by fizban2
Thu May 08, 2008 10:03 pm
Forum: PowerShell
Topic: Tips for output for WMI query
Replies: 2
Views: 4056

Tips for output for WMI query

hi all, trying to dive into powershell and make use of all the cool features but running into a snag, trying to figure out a way to output to a text file or HTML, i know there are cmdlets to do this but i cannot figure out how to pipe what i am doing to properly so i can output to the format i want....