Sunday, 21 June 2015

Powershell Command to open any file

Powershell Command to open any file


  • Many people think that you can only open txt or html file from Powershell. Thats not true.
  • You can open any File type using Invoke-Item Powershell Command

In the below example we open JPG file from within powershell

INVOKE-ITEM "C:\test.jpg"

No comments:

Post a Comment