View Remove-OldFilesRecursively.ps1
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
param ( | |
$StartPath = "\\your_storage_account_name.file.core.windows.net\your_share_name\whatever" | |
) | |
Set-StrictMode -Version Latest | |
# Write a transcript to file. | |
$path = Get-Location | |
$scriptName = $MyInvocation.MyCommand.Name | |
$scriptLog = "$path\$scriptName.log" |
View SecondTest
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
This is another test gist. |
View TestGist
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
This is a test. |
View cVimrc
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
let blacklists = ["https://mail.google.com/*","https://drive.google.com/*","https://mint.intuit.com/*","https://earth.google.com/*","https://calendar.google.com/*","https://www.youtube.com/*","https://play.google.com/*","https://home.sense.com/*","https://monitoring.solaredge.com/*","http://localhost/*","http://192.168.10.69/*","https://hass.lsilverman.com/*","https://hubs.mozilla.com/*"] |
View download-nuget-licenses.ps1
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
Split-Path -parent $dte.Solution.FileName | cd | |
New-Item -ItemType Directory -Force -Path ".\licenses" | |
@( Get-Project -All | ? { $_.ProjectName } | % { Get-Package -ProjectName $_.ProjectName } ) | Sort -Unique Id | % { $pkg = $_ ; Try { (New-Object System.Net.WebClient).DownloadFile($pkg.LicenseUrl, (Join-Path (pwd) 'licenses\') + $pkg.Id + ".html") } Catch [system.exception] { Write-Host "Could not download license for $($pkg.Id)" } } |
View gist:ab2de651651dc15e6a2c3e9c6d80f147
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 visualstudio2017professional --package-parameters "--allWorkloads --includeRecommended --includeOptional --passive --locale en-US" -y | |
cinst 7zip -y | |
cinst autohotkey -y | |
cinst azcopy -y | |
cinst balsamiqmockups3 -y | |
cinst bind-toolsonly -y | |
cinst chefdk -y | |
cinst chocolateygui -y | |
cinst clink -y | |
cinst ConEmu -y |
View Support-Boxstarter.txt
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
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtension -EnableOpenFileExplorerToQuickAccess -EnableShowRecentFilesInQuickAccess -EnableShowFrequentFoldersInQuickAccess | |
Install-WindowsUpdate -acceptEula | |
Update-ExecutionPolicy RemoteSigned | |
Enable-MicrosoftUpdate | |
Enable-RemoteDesktop | |
Disable-InternetExplorerESC | |
Disable-GameBarTips | |
Disable-BingSearch | |
cinst 7zip | |
cinst github-desktop |
View cloudSettings
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
{"lastUpload":"2018-06-04T21:27:19.963Z","extensionVersion":"v2.9.2"} |
View Boxstarter-DevRig.txt
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
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtension -EnableOpenFileExplorerToQuickAccess -EnableShowRecentFilesInQuickAccess -EnableShowFrequentFoldersInQuickAccess | |
Install-WindowsUpdate -acceptEula | |
Update-ExecutionPolicy RemoteSigned | |
Enable-MicrosoftUpdate | |
Enable-RemoteDesktop | |
Disable-InternetExplorerESC | |
Disable-GameBarTips | |
Disable-BingSearch | |
choco install visualstudio2017professional --package-parameters "--allWorkloads --includeRecommended --includeOptional --passive --locale en-US" | |
cinst 7zip |
NewerOlder