ALZDBA
ALZDBA

Reputation: 21

google drive open psm1 powershell wit script editor

How do I make google drive open my powershell files ( .ps1 / .psm1 / .psd1 ) ?

now it tries to open those file with google drive viewer ( which wants to play it as media ).

I don't need to be able to actually run these scripts, but I want to view them in a script project or Notepad alike interface.

Upvotes: 1

Views: 712

Answers (1)

Richard
Richard

Reputation: 7000

If you want to view a script on Google drive online follow these steps:

  1. Right click on the script in Google drive and go to 'open with' >> 'Connect more apps'
  2. Search for an app called 'Anyfile Notepad' and connect it
  3. Right click on the script again and open it with 'Anyfile Notepad'
  4. Grant 'Anyfile Notepad' access to your Google drive account

and you will be able to view the script online from Google drive. This will also allow editing of the file and saving it back to Google Drive.

Upvotes: 1

Related Questions