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
|
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 |
|||
|
|
|
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.
Example: 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 :) |
|||
|
|
|
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: http://technet.microsoft.com/en-us/magazine/ff678293.aspx Paste: Alt+Space+P Copy: Alt+Space+Y hope it helps |
|||
|
|
|
Simple way.. Copy the required content.. open the shell > right click > paste :) |
|||
|
|