Skip to content

Dear Internet Explorer user: Your browser is no longer supported

Please switch to a modern browser such as Microsoft Edge, Mozilla Firefox or Google Chrome to view this website's content.

Run a PowerShell script directly from GitHub Gist

Posted 9th April 2018

2 comments

Simple code that enables you to host your PowerShell scripts on GitHub Gist but execute them from a local machine.

Read the full story...

R logo

Transferring packages between different versions of R

Posted 31st July 2017

No comments

Use a couple of small scripts to easily “transfer” installed packages between different installations or versions of R.

Read the full story...

UNC path from local path in PowerShell

Posted 23rd February 2017

2 comments

Use this simple PowerShell code to convert a local path into an UNC path.

Read the full story...

Download all PDFs from a web page via PowerShell

Posted 6th December 2016

4 comments

Use PowerShell to download every PDF from a web page and save them to a nominated folder.

Read the full story...

Upload files to an SFTP server via PowerShell

Posted 11th November 2016

1 comment

Easily transfer files from a local drive to a Secure File Transfer Protocol (SFTP) server using PowerShell. This script is useful for automating file transfers.

Read the full story...

PowerShell: Creation date into filenames

Posted 5th August 2016

1 comment

Insert a file’s creation date into its file name using a simple piece of PowerShell scripting.

Read the full story...

Use a batch file to run your PowerShell scripts

Posted 1st August 2016

6 comments

This simple batch file will enable a PowerShell script file (*.ps1) to execute with Administrator permissions in Windows.

Read the full story...

Folder or file browser dialogues in PowerShell

Posted 28th July 2016

9 comments

Make life easy for the users of your scripts: Rather then entering file/folder paths at the command line, let them select from a GUI dialogue box.

Read the full story...

DOS 8.3 short paths via PowerShell

Posted 5th July 2016

1 comment

Use this PowerShell script to discover the DOS 8.3 path name for any selected folder in Windows.

Read the full story...

Merge multiple CSVs with PowerShell

Posted 28th June 2016

8 comments

Use this simple PowerShell script to merge multiple CSV/TSV/TXT files into one.

Read the full story...