Skip to content

Easily share (and get) PowerShell Scripts from ISE or the command line!

Notifications You must be signed in to change notification settings

dfinke/SharePowerShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Share PowerShell

From ISE

This PowerShell module, Import-Module SharePowerShell, lets you quickly post the current file you are editing in ISE to a GitHub Gist.

It also lets you retrieve a gist as well. Creating a new file on the fly in the ISE editor, and adding the file contents of the gist.

From The Command Line

This same module, Import-Module SharePowerShell, lets you post a file to a GitHub Gist.

Send-FileToGist c:\test.ps1 -Show

Install

iex (new-object System.Net.WebClient).DownloadString('https://raw.github.com/dfinke/SharePowerShell/master/install.ps1')

ISE Video

image

Command Line Video

image

About

Easily share (and get) PowerShell Scripts from ISE or the command line!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published