SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to paste powershell script from a website but it doesn't let me right click on powershell console neither "Crtl + V" is working

i downloaded powershell V.1

share|improve this question
up vote 0 down vote accepted

When you are surfing the internet and find a PowerShell script that you want to test or eventually save there are several ways to do so. You can copy the contents of the script and save it as a .Ps1 script in notepad or if available download it from the author’s page.

The simplest way to test small PowerShell scripts you find is to use the old copy and paste method as outlined below.

  1. First copy and paste the contents of the PowerShell script to place it in your clipboard buffer.

  2. Then from the PowerShell console right mouse click on the PowerShell icon in the upper left hand corner.

  3. From the context menu click “Edit” and then click “Paste” to execute the script.


Cat C:\Windows\System32\WindowsPowershell\v1.0\Examples\Profile.ps1

Note: Depending on the script in your clipboard buffer you may have to press “Enter” to execute the script as in the example above.

find it here, Hope it helps :)

enter link description here

share|improve this answer
thnx it now working – tereško Aug 28 '12 at 11:22

Don't know why user25328 has a downvote, the right click works well with me too.

Copy from PowerShell: Highlight what you want (left click and drag), then right click anywhere on the console to copy the highlighted text.

Paste to PowerShell: Simply right click anywhere on the console, it will paste it after the prompt.

Alternatively: Alt + Space > E > P

Note: Pasting with line breaks can be annoying, as it executes each line with each new line break.

share|improve this answer

yup thats becasue you need to change it to be customised as its not available ootb ;)

just follow this:

or use these:





hope it helps

share|improve this answer
i apply it but no working – tereško Aug 28 '12 at 11:16

Simple way.. Copy the required content.. open the shell > right click > paste :)

share|improve this answer

just use The right click !!! for both copy and paste

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.