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
# Boxstarter options | |
$Boxstarter.RebootOk=$true # Allow reboots? | |
$Boxstarter.NoPassword=$false # Is this a machine with no login password? | |
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot | |
# Basic setup | |
Update-ExecutionPolicy RemoteSigned | |
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Disable-UAC # We re-enable at end of script | |
Set-TaskbarOptions -Size Small |
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
var fs = require('fs'), | |
webSiteManagement = require('azure-mgmt-website'), | |
argv = require('yargs') | |
.usage('Usage: $0 --subscriptionId [guid] --pem [path] --sourceWebSpace [string] --sourceSiteName [string] --targetWebSpace [string] --targetWebSite [string]') | |
.demand(['subscriptionId', 'pem', 'sourceSiteName', 'targetSiteName']) | |
.describe('pem', 'azure account cert export') | |
.describe('sourceWebSpace', 'exclude to see list of web spaces') | |
.describe('targetWebSpace', 'exclude to see list of web spaces') | |
.argv; |