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
# Usage: Call this script from your PowerShell profile: | |
# & c:\path\to\scripts\set-path-portablegit.ps1 | |
# todo: set GITHUB_ROOT from registry | |
Set-Variable -Option Constant -Name GITHUB_ROOT -Value ${Env:USERPROFILE}\AppData\Local\GitHub\ | |
# Get the most recently created version of PortableGit | |
if (!(Test-Path $GITHUB_ROOT)) { | |
Write-Host Sorry can''t find GitHub path. |
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
@rem Usage: set-gitbin-start-console.bat "C:\path\to\my\console.exe" | |
@echo off | |
if "%1" == "" GOTO ErrorPathNotSpecified | |
@rem limit the scope of the changes to environment variables | |
setlocal | |
@rem todo: set GITHUB_ROOT from registry |
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
Version=1 | |
EventType=CLR20r3 | |
EventTime=129936114716630616 | |
ReportType=2 | |
Consent=1 | |
ReportIdentifier=76d0e33b-0c28-11e2-a30c-005056a03219 | |
IntegratorReportIdentifier=76d0e33a-0c28-11e2-a30c-005056a03219 | |
Response.type=4 | |
Sig[0].Name=Problem Signature 01 | |
Sig[0].Value=msdepsvc.exe |
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
$webDeployArgs = '-verb:sync -retryAttempts:10 -retryInterval:2000 -source:runCommand="%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -inputformat none -file ' + $SERVER_INSTALL_PATH + 'srv_configure_staff_site.ps1",dontUseCommandExe=true,waitInterval=10000,waitAttempts=6 -dest:auto,computerName=' + $deployServer | |
Start-Process "$Env:SystemDrive\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -ArgumentList $webDeployArgs -NoNewWindow -Wait |