Logo 
Search:

PowerShell Articles

Submit Article
Home » Articles » PowerShell » GeneralRSS Feeds

Tips for Windows PowerShell Dummies

Posted By: Vivek Patel     Category: PowerShell     Views: 4072

Few Tips for Windows PowerShell Dummies

PowerShell Tip# 1: How to copy and paste on Windows PowerShell Screen
To copy and paste on Windows Powershell screen, you need to select text on powershell screen and press right click button on mouse.

PowerShell Tip# 2: How to execute PowerShell Program without typing whole file path.
Generally to run any windows powershell program you need to type whole file path.  In order to avoid that follow following:
Note: I am trying to run program which is on my C:\MyPowerShell\HelloWorld.PS1
PS C:\Users\shriganesh> cd C:\MyPowerShell
PS C:\MyPowerShell> .\HelloWorld.PS1
Hello World

Here you can change directory using cd command and after changing directory you can run program simply by prefixing .\ to filename.


  
Share: 


Didn't find what you were looking for? Find more on Tips for Windows PowerShell Dummies Or get search suggestion and latest updates.

Vivek Patel
Vivek Patel author of Tips for Windows PowerShell Dummies is from United States. Vivek Patel says

I have started working in .Net Technology since its beta release and lucky to got chance to work on .Net 1.1, 2.0 and now working on .Net 3.5. I have worked in both C# and VB.Net for Asp.net Projects. I can also provide Sharepoint development needs. I can efficiently switch role from Tech Lead and Developer. I have comprehensive knowledge of Asp.net Development. I have been award Microsoft Most Valuable Award twice in Asp.net Technology.

Blog: http://dotnetguts.blogspot.com

 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!