Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Text Formatting

 
Logged in as: Guest
arrSession:exec spGetSession 2,5,54160
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> Windows PowerShell >> Text Formatting
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Text Formatting - 12/10/2007 9:09:58 PM   
  spooter

 

Posts: 15
Score: 0
Joined: 11/14/2007
Status: offline
Hi all,
 
I am sending a email using powershell but need to format the body text.  I used to do in vbscript by using Space(1) and VbCrLf
 
What is the equivalent in powershell?

Regards
 
 
Post #: 1
 
 RE: Text Formatting - 12/10/2007 11:56:52 PM   
  SAPIENScripter


Posts: 261
Score: 2
Joined: 11/1/2006
From: SAPIEN Technologies
Status: offline

`n will give you a new line and `t will give you a tab.

Run

help about_special_characters

to see more information.

_____________________________

Jeffery Hicks
Windows PowerShell MVP
SAPIEN Technologies - Scripting, Simplified. www.SAPIEN.com

(in reply to spooter)
 
 
Post #: 2
 
 RE: Text Formatting - 12/11/2007 12:33:28 AM   
  spooter

 

Posts: 15
Score: 0
Joined: 11/14/2007
Status: offline
Hi Thanks for your reply,

I was just about to post and say that I have found the anwser well listed in the Snippet Browser in PrimalScript.

Regards

(in reply to SAPIENScripter)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> Windows PowerShell >> Text Formatting Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts