Skip to content

Instantly share code, notes, and snippets.

View ColinMichaels's full-sized avatar
🐢
I may be slow to respond. Or just slow in general.

Colin Michaels ColinMichaels

🐢
I may be slow to respond. Or just slow in general.
View GitHub Profile
@rarous
rarous / Deploy.ps1
Created September 14, 2010 14:06
Script for packaging and deployment of ASP.NET applications to IIS via Web Deploment Tools
Properties {
$Build_dir = Split-Path $psake.build_script_file
$Packages_dir = Join-Path $build_dir 'Packages'
$MsDeploy_dir = Join-Path $env:ProgramFiles 'IIS\Microsoft Web Deploy'
$SiteName = 'www.example.com'
$Package = "$SiteName.zip"
$Dest = 'hosting.com'
$UserName = 'IIS User Name'
$Pwd = 'Secret Password'