Skip to content

Instantly share code, notes, and snippets.

View jhauge's full-sized avatar

Jesper Hauge jhauge

View GitHub Profile
@jhauge
jhauge / Build-UmbracoPackage.ps1
Created August 24, 2012 11:33
A powershell script that puts all files from an Umbraco package in place and renames.
## Add this snippet to your profile script
## Profile script is usually found in
## c:\Users\yourname\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
## You can get the path by typing $PROFILE in a PS command prompt
##
## After adding the script to your profile, unpack the zip file in a directory
## Go to the dir in ps, and type "umbpack" then Enter (without quotes)
## Now you can find all the packages original files with their original (unpacked) names
## in the original folders
function global:Build-UmbracoPackage {