Text Formatting

Author Message
spooter

  • Total Posts : 17
  • Scores: 0
  • Reward points : 0
  • Joined: 11/14/2007
  • Status: offline
Text Formatting Monday, December 10, 2007 10:09 PM (permalink)
0
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
 
#1
    SAPIENScripter

    • Total Posts : 283
    • Scores: 2
    • Reward points : 0
    • Joined: 11/1/2006
    • Location: SAPIEN Technologies
    • Status: offline
    RE: Text Formatting Tuesday, December 11, 2007 12:56 AM (permalink)
    0

    `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

    Follow Me: http://www.twitter.com/JeffHicks
     
    #2
      spooter

      • Total Posts : 17
      • Scores: 0
      • Reward points : 0
      • Joined: 11/14/2007
      • Status: offline
      RE: Text Formatting Tuesday, December 11, 2007 1:33 AM (permalink)
      0
      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
       
      #3

        Online Bookmarks Sharing: Share/Bookmark

        Jump to:

        Current active users

        There are 0 members and 1 guests.

        Icon Legend and Permission

        • 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
        • Read Message
        • Post New Thread
        • Reply to message
        • Post New Poll
        • Submit Vote
        • Post reward post
        • Delete my own posts
        • Delete my own threads
        • Rate post

        2000-2012 ASPPlayground.NET Forum Version 3.9