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
cinst dotnet4.7 --yes --accept-license --version=4.7.2053.0 |
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
choco pin add -n=GoogleChrome |
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
cinst 7zip.install |
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
$packageArgs = @{ | |
packageName = 'fiddler4' | |
fileType = 'EXE' | |
url = 'https://www.telerik.com/docs/default-source/fiddler/fiddlersetup.exe' | |
checksum = 'E3836DFB9F18F25A6A5B544CC35CFE2712F94C96425665298621C74971479B8F' | |
checksumType = 'sha256' | |
silentArgs = '/S' | |
validExitCodes = @(0) | |
softwareName = 'fiddler*' | |
} |
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
$ErrorActionPreference = "Stop" | |
. a:\Test-Command.ps1 | |
Write-BoxstarterMessage "Enabling RemoteDesktop" | |
Enable-RemoteDesktop | |
Write-BoxstarterMessage "Setting PowerShell Policy to RemoteSigned" | |
Update-ExecutionPolicy -Policy RemoteSigned |
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
write-output "$([IntPtr]::size -eq 4)" |
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
$obj = Get-WmiObject -Class "Win32_TerminalServiceSetting" -Namespace root\cimv2\terminalservices | |
$obj.SetAllowTsConnections(1,1) | |
netsh advfirewall firewall add rule name="Remote Desktop" dir=in localport=3389 protocol=TCP action=allow |
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
# encoding: UTF-8 | |
# | |
# Copyright 2014 Max Lincoln <[email protected]> | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
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
Write-Host "VP: $VerbosePreference" |
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
C:\dev\choco_tests\test-A.1.0> choco install test-a -y --ignore-package-exit-codes --debug --source . | |
Chocolatey is running on Windows v 10.0.10586.0 | |
Command line: "C:\ProgramData\chocolatey\choco.exe" install test-a -y --ignore-package-exit-codes --debug --source . | |
Received arguments: install test-a -y --ignore-package-exit-codes --debug --source . | |
The source '.' evaluated to a 'normal' source type | |
NOTE: Hiding sensitive configuration data! Please double and triple | |
check to be sure no sensitive data is shown, especially if copying | |
output to a gist for review. | |
Configuration: CommandName='install'| |
NewerOlder