How do I format PS code inside a post?

Viewing 1 reply thread
  • Author
    Posts
    • #888222
      Ramon Tan
      Participant
      Member Points: 764
      Rank: 2

      Hello,

      I’m totally new to the 4SysOps Forum for Powershell.

      I am unable to figure out for myself how to enclose a block of Powershell code inside a post.

      I am sure it involves one of the buttons and some markup syntax but I can’t seem to find the right combination.

      Would be grateful for some guidance.

      Thanks.

       

    • #888250
      Michael Pietroforte
      Keymaster
      Member Points: 32,919
      Author of the year 2018
      Rank: 4

      Ramon, if you are in the Visual editor, you have to highlight the code and then click the PRE icon (second from the right).

      If you are in the Text editor, you can click the code icon and then enter your code in the popup window. This will add pre tags to the post.

      This is code
      • #888255
        Ramon Tan
        Participant
        Member Points: 764
        Rank: 2

        Many thanks, much appreciated.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.
© 4sysops 2006 - 2022

CONTACT US

Please ask IT administration questions in the forums. Any other messages are welcome.

Sending

Log in with your credentials

or    

Forgot your details?

Create Account