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
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
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.
First copy and paste the contents of the PowerShell script to place it in your clipboard buffer.
Then from the PowerShell console right mouse click on the PowerShell icon in the upper left hand corner.
From the context menu click “Edit” and then click “Paste” to execute the script.
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 :)
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.
yup thats becasue you need to change it to be customised as its not available ootb ;)
just follow this: http://technet.microsoft.com/en-us/library/ee156814.aspx
or use these:
hope it helps