Created
November 6, 2009 01:10
-
-
Save aggieben/227582 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# script for AJAX-enabling a SharePoint (MOSS 2007 / WSS 3.0) config | |
# Copyright © 2009 Benjamin Collins <ben.collins@acm.org> | |
# | |
# Compatible with .NET 3.5 AJAX support and AJAX Control Toolkit | |
# | |
# usage: | |
# enable-spajax <path to web.config> | |
# | |
function usage { | |
write-host "Enable-SpAjax <path>" | |
write-host "Copyright © 2009 Benjamin Collins <ben.collins@acm.org>" | |
} | |
# validate args | |
if ($args.count -eq 1 && $args{0} | |
# First, create backup | |
Write-Host "Making backup..." | |
copy-item $args{0} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment