PowerShell In GUI Blog

PowerShell GUI Box Just In A Few Clicks

How to put your Powershell code onto WordPress page

with 2 comments

Supposing, you use the PowerGUI ScriptEditor. After writing a valuable fragment of code, you wanted to publish it in your WordPress blog. What would you do?

  • copy and Paste as Plain Text into your post?
  • copy and Paste from Word into your post?

Nope, the easiest way to do that is to

  • Save your code As an HTML page
  • open the page in any text or HTML editor of your choice
  • copy all from <pre> tag to </pre> inclusively (don’t bother about Tools -> Options -> Text Editor -> Tab; both states work)
  • activate ‘HTML’ tab in ‘Add New Post’ if you have ‘Visual’ one activated
  • paste to Edit Post frame.

Now this code in your blog is ready to be copied and pasted in Editors of your followers; it works immediately without any editing.

How to publish your code from Powershell ISE? Copy and paste it into a new document of PowerGUI ScriptEditor and just follow recipe above…

Advertisements

Written by Alexander Petrovskiy

July 5, 2010 at 6:49 pm

Posted in PowerGUI, Powershell, WordPress

Tagged with

2 Responses

Subscribe to comments with RSS.

  1. […] a comment » I have already written about how it’s possibly to post Powershell code here. As a year turned, why don’t check […]

  2. Wonderful goods from you, man. I have understand your stuff previous
    to and you’re just extremely fantastic. I really like what you have acquired here, certainly like what you’re saying and the
    way in which you say it. You make it enjoyable and you
    still care for to keep it wise. I can not wait to read much more from you.
    This is really a wonderful web site. fotometro.pinsho.com without giving your current username
    and password or maybe next other folks.
    buy followers assist in improving customer base, search engine ranking positions, and so
    forth

    fotopetro.pincho.com

    May 28, 2013 at 8:16 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: