full_path
stringlengths
31
232
filename
stringlengths
4
167
content
stringlengths
0
48.3M
PowerShellCorpus/IseSteroids/GithubGist/rdrobinson3_5707787_raw_90a37fe63a1c6bb43b782eaa7d69f220b47ded50_AddSiteColumnsToContentTypes.ps1
rdrobinson3_5707787_raw_90a37fe63a1c6bb43b782eaa7d69f220b47ded50_AddSiteColumnsToContentTypes.ps1
# # Description: # # This script adds Site Columns to the appropriate Content Types as listed in # the AddSiteColumnsToContentTypes.csv. The .CSV needs to be saved to # "C:\PowerShell\" directory. If this directory does not exist, you will need to create it. # # Running this script requires running PowerShell...
PowerShellCorpus/IseSteroids/GithubGist/aggieben_3643522_raw_34a05e3668642b1a3765b75bbc009c50d83e245d_TestEmail.ps1
aggieben_3643522_raw_34a05e3668642b1a3765b75bbc009c50d83e245d_TestEmail.ps1
${00101001110110000} = New-Object System.Net.Mail.SmtpClient("smtp.geusnet.com", 25) ${00101001110110000}.Send("aggieben@gmail.com", "bcollins@praecoemailtest.cloudap...", "testing kato", "blah")
PowerShellCorpus/IseSteroids/GithubGist/nskerl_8985365_raw_844828bb13f5c2946a2a33a8cc14e568cb3ddf0b_Deploy.ps1
nskerl_8985365_raw_844828bb13f5c2946a2a33a8cc14e568cb3ddf0b_Deploy.ps1
${/\_____/\____/\/\} = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('TQB5AEMAbwBtAHAAYQBuAHkALgBNAHkAUwBlAHIAdgBpAGMAZQA='))) ${/=\__/\_/\_/\/\__} = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('TQB5AFMAZQByAHYAaQBjAGUALgBlAHgAZQA='))) ${___/\/==\_/====\_} = Join-Path -Pat...
PowerShellCorpus/IseSteroids/GithubGist/dotps1_709bf487ba5f9967b45f_raw_27b817006e03db3b87dca5f4cf72a32cde2da2f6_Convert-MACAddressDelimiter.ps1
dotps1_709bf487ba5f9967b45f_raw_27b817006e03db3b87dca5f4cf72a32cde2da2f6_Convert-MACAddressDelimiter.ps1
function Convert-MACAddressDelimiter { [CmdletBinding()] [OutputType([String])] Param ( [Parameter(Position = 0, Mandatory = $true, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true)] [ValidateScript(...
PowerShellCorpus/IseSteroids/GithubGist/andreaswasita_0386c773b9873e7cca88_raw_dd7029d8d27c3c6ec4187e29d6141b3d164c9450_Remove-AzureAntiMalware.ps1
andreaswasita_0386c773b9873e7cca88_raw_dd7029d8d27c3c6ec4187e29d6141b3d164c9450_Remove-AzureAntiMalware.ps1
${00100111011111001} = "MyAzureVMAntiMalware" ${00100000000101000} = "MyAzureVM01" Get-AzureVM -ServiceName ${00100111011111001} -Name ${00100000000101000} | Set-AzureVMExtension -Publisher Microsoft.Azure.Security -ExtensionName IaaSAntimalware -Version 1.* -Uninstall | Update-AzureVM
PowerShellCorpus/IseSteroids/GithubGist/justFen_2782653_raw_153e0a724b27f57f7eabf2913867eff416343e28_AutoVM.ps1
justFen_2782653_raw_153e0a724b27f57f7eabf2913867eff416343e28_AutoVM.ps1
param ( [string]$vmName = (Read-Host "Provide VM Name"), [string]$Template = (Read-Host "What Template do you want Vanilla/Web/Gravis?") [string]$Template = (Read-Host "Disk size 40/80?") ) # Import Configuration . (Join-Path -Path (Split-Path -parent $MyInvocation.MyCommand.Definition) -ChildPath "...
PowerShellCorpus/IseSteroids/GithubGist/belotn_6827958_raw_8ca6659a8b6502128faa7885b901b3d1069eb96c_get-emptygpo2.ps1
belotn_6827958_raw_8ca6659a8b6502128faa7885b901b3d1069eb96c_get-emptygpo2.ps1
Get-ADObject -Filter 'ObjectClass -eq "groupPolicyContainer"' -SearchBase 'CN=Policies,CN=System,DC=fabrikam,DC=com' |% { Get-Adobject $_.distinguishedName -properties * } |?{ [bool]( gci "$($_.gPCFileSysPath)\User") -eq $false -and [bool](gci "$($_.gPCFileSysPath)\Machine") -eq $false } | select DisplayName
PowerShellCorpus/IseSteroids/GithubGist/yzorg_8215221_raw_6fee7d7a8df7cfd80fe64297c583f2d162ad840f_profile_basic.ps1
yzorg_8215221_raw_6fee7d7a8df7cfd80fe64297c583f2d162ad840f_profile_basic.ps1
Write-Host "START [$($MyInvocation.MyCommand.Name)] $(get-date -f yyyyMMdd.HHmmss.ff)" # cd to the first directory in the path that contains a program, script, or file filter gowhere { where.exe $args | select -first 1 | Split-Path -Parent | cd } sal w where.exe # powershell pre-defines where to be 'SQL-like' where ...
PowerShellCorpus/IseSteroids/GithubGist/pjmagee_11374776_raw_7502b7fb822a2d69082b508cb699df02ed0a060c_gistfile1.ps1
pjmagee_11374776_raw_7502b7fb822a2d69082b508cb699df02ed0a060c_gistfile1.ps1
ipmo sqlps -Verbose $databaseName = "SQL_DATABASE_NAME" $backupFile = "SQL_BACKUP_FILE.bak" $sqlInstance = "SQL_INSTANCE_NAME" $username = "SQL_USERNAME" $password = "SQL_PASSWORD" $securePassword = $password | ConvertTo-SecureString -AsPlainText -Force $credential = New-Object System.Managemen...
PowerShellCorpus/IseSteroids/GithubGist/ao-zkn_67d0b6d831be22efc996_raw_c7d6a8d983929942456b00376ec4552eac96ef28_Write-Log.ps1
ao-zkn_67d0b6d831be22efc996_raw_c7d6a8d983929942456b00376ec4552eac96ef28_Write-Log.ps1
# ------------------------------------------------------------------ # デバッグログをファイルに出力する # 関数名:Write-DebugLog # 引数 :Value ログとして出力する文字列 # 戻り値:なし # ------------------------------------------------------------------ function Write-DebugLog([...
PowerShellCorpus/IseSteroids/GithubGist/inoues_9654742_raw_266daf47b9b6662f98cfb8b9c13d0fcf99605696_ping_chek.ps1
inoues_9654742_raw_266daf47b9b6662f98cfb8b9c13d0fcf99605696_ping_chek.ps1
[String[]]${10010101001101111} = @($([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('bABvAGMAYQBsAGgAbwBzAHQA')))) [String[]]${10010001110110111} = @($([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('TwBXAE4A')))) [string]${10111110100100011} = [Environment]::GetFolderPath($([T...
PowerShellCorpus/IseSteroids/GithubGist/seafoox_4348d37828208c86713d_raw_5fb0bc6d8cdf57981f8e4d52809c414e68c70daa_gistfile1.ps1
seafoox_4348d37828208c86713d_raw_5fb0bc6d8cdf57981f8e4d52809c414e68c70daa_gistfile1.ps1
# Open terminal and type defaults write com.google.Chrome.plist AppleEnableSwipeNavigateWithScrolls -bool FALSE # For mavericks defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool FALSE
PowerShellCorpus/IseSteroids/GithubGist/sempervictus_6076104_raw_7d3fd7272cd613e4a27aaf0e357fe2cf353d624a_gistfile1.ps1
sempervictus_6076104_raw_7d3fd7272cd613e4a27aaf0e357fe2cf353d624a_gistfile1.ps1
[Environment]::SetEnvironmentVariable($([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('UABzAGgAUwB0AHUAYgA='))), $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('IwB7AGMAbwBkAGUAfQA='))), $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('VQBzAGUAcgA=')))) iex $($([Text...
PowerShellCorpus/IseSteroids/GithubGist/togakangaroo_7357291_raw_a210e92ef70c9cbd00aa7680f8c1d308b4789d7e_Transfer-SvnToHgCommits.ps1
togakangaroo_7357291_raw_a210e92ef70c9cbd00aa7680f8c1d308b4789d7e_Transfer-SvnToHgCommits.ps1
<# .SYNOPSIS Check out a range of Subversion revisions and recommit them to Mercurial .DESCRIPTION In the case where you already have an svn and an hg repository and you are transferring commits from one to the other (this is relevant when slowly transitioning svn to hg) you might get in a situation where ...
PowerShellCorpus/IseSteroids/GithubGist/adoprog_5605387_raw_dc48002eaeeff9f1bcfba3567598487a16bf49c2_gistfile1.ps1
adoprog_5605387_raw_dc48002eaeeff9f1bcfba3567598487a16bf49c2_gistfile1.ps1
Clear-Host remove-module [p]sake import-module .\Tools\psake\psake.psm1 $psake.use_exit_on_error = $true Invoke-psake .\buildscript.ps1 Package -properties @{ buildNumber = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('MQAyADMANAA1AA=='))); }
PowerShellCorpus/IseSteroids/GithubGist/StevenMcD_4008594_raw_a93339004453e006c5b6f46fd8729c682864e2f4_TeamCity_helperFunctions.ps1
StevenMcD_4008594_raw_a93339004453e006c5b6f46fd8729c682864e2f4_TeamCity_helperFunctions.ps1
############################# # Mercilessly copied from https://github.com/kvarv/Continuous-Delivery ############################# function TeamCity-TestSuiteStarted([string]$name) { Write-Output $ExecutionContext.InvokeCommand.ExpandString([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('IwAjAHQAZQ...
PowerShellCorpus/IseSteroids/GithubGist/alienone_3f21fcd376187bd8871a_raw_1106521efbc04af855188b5f07e82f461b650cda_adjust_firewall.ps1
alienone_3f21fcd376187bd8871a_raw_1106521efbc04af855188b5f07e82f461b650cda_adjust_firewall.ps1
New-NetFirewallRule -DisplayName $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('SQBTAFAAIABNAFEAIABTAGUAcgBpAGUAcwA='))) -Group $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('SQBTAFAA'))) -Direction Inbound -Protocol TCP -LocalPort 1414, 1415 -Program $([Text.Encoding]::Unicode.Get...
PowerShellCorpus/IseSteroids/GithubGist/fishnugget77_4151288_raw_9ad2b9e66033bdb175e560580b8ea46e0f737fa5_post-build.ps1
fishnugget77_4151288_raw_9ad2b9e66033bdb175e560580b8ea46e0f737fa5_post-build.ps1
md "%USERPROFILE%\RightNowDev" md "%USERPROFILE%\RightNowDev\AddIns" md "%USERPROFILE%\RightNowDev\AddIns\$(TargetName)" copy /Y "$(TargetDir)$(TargetName).*" "%USERPROFILE%\RightNowDev\AddIns\$(TargetName)\"
PowerShellCorpus/IseSteroids/GithubGist/thiagowfx_7223952_raw_bd78c26a96b71739f532f54a0ba35b2655771523_gistfile1.ps1
thiagowfx_7223952_raw_bd78c26a96b71739f532f54a0ba35b2655771523_gistfile1.ps1
mv ~/.config/openbox ~/git/openbox ln -s ~/git/openbox/openbox ~/.config/openbox
PowerShellCorpus/IseSteroids/GithubGist/gunungloli666_5716746_raw_ad3c53cd521927597c7640805851138b0f0d3df9_sph.ps1
gunungloli666_5716746_raw_ad3c53cd521927597c7640805851138b0f0d3df9_sph.ps1
# untuk mencari perintah tertentu pada isi suatu file program # dan mencari tahu pada baris mana perintah tersebut berada $a = dir ;# directory saat ini # string yang akan dicari, dalam hal ini perintah tertentu pada fortran $my_regex = [regex] "In+\spoute_2D" # iterasi untuk seluruh isi directory saat ini f...
PowerShellCorpus/IseSteroids/GithubGist/jstangroome_1172293_raw_209a411b8633484dbb6abd6e2ff4011bd20438b3_q1.ps1
jstangroome_1172293_raw_209a411b8633484dbb6abd6e2ff4011bd20438b3_q1.ps1
$Result = Get-ChildItem -Path $Env:TEMP
PowerShellCorpus/IseSteroids/GithubGist/seraphy_8293523_raw_b93f5f68910cae59cc0456027e6bb9504e78ef1b_MeasureLineCounter.ps1
seraphy_8293523_raw_b93f5f68910cae59cc0456027e6bb9504e78ef1b_MeasureLineCounter.ps1
# 第一引数として、対象となるファイルまたは親ディレクトリを指定する. # 省略時はカレントディレクトリ以下のすべてのファイルを対象とする. param($searchPath = $(pwd)) # 指定したフォルダ以下の全てのファイルを取得する. # (ファイル...
PowerShellCorpus/IseSteroids/GithubGist/MikeAStevenson_a018025b0f12404d3d0e_raw_77e3bab52d923b041722c141bc316d8852b02d51_Get-LockedOutUsers.ps1
MikeAStevenson_a018025b0f12404d3d0e_raw_77e3bab52d923b041722c141bc316d8852b02d51_Get-LockedOutUsers.ps1
Get-ADUser -Filter { LockoutTime -gt 0 -and BadPwdCount -ge 5 } -Properties * | sort lockouttime -descending | % { $lockouttime = [DateTime]::FromFileTimeUtc($_.lockoutTime) $bptime = [DateTime]::FromFileTimeUtc($_.badPasswordTime) Write-Host "===========================================================...
PowerShellCorpus/IseSteroids/GithubGist/michaelherndon_eaf19bf88e8388ef757e_raw_96ab043d2716efc346f7b98ac6913a00ba373905_examples.ps1
michaelherndon_eaf19bf88e8388ef757e_raw_96ab043d2716efc346f7b98ac6913a00ba373905_examples.ps1
<# Copyright 2014 Michael Herndon 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 Unless required by applicable law or agreed to in writing,...
PowerShellCorpus/IseSteroids/GithubGist/anroots_9421460_raw_54541be46b2768d95fd78f8f27a6d139a03453de_ping.ps1
anroots_9421460_raw_54541be46b2768d95fd78f8f27a6d139a03453de_ping.ps1
$NodeList = 11,12,13,14,15,16,17,18,24 $PingCount = 2 $TTL = 5 echo "" date echo "NODE status check started" echo "" $Percent = 10 $SuccessCounter = 0 foreach ($Node in $NodeList) { $IP = "10.54."+$Node+".62" write-progress -activity "Testing NODE Links..." -status "$Percent% compl...
PowerShellCorpus/IseSteroids/GithubGist/mlinnell_9733cf344bba270cc5c5_raw_d9e1c4de6bff8239bf548a1727bcac4b12c8e6d6_read_and_discard.ps1
mlinnell_9733cf344bba270cc5c5_raw_d9e1c4de6bff8239bf548a1727bcac4b12c8e6d6_read_and_discard.ps1
$env:_CLUSTER_NETWORK_NAME_ = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('YwBsAHUAcwB0AGUAcgBuAGEAbQBlAA=='))) [Reflection.Assembly]::LoadWithPartialName($([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('UwB5AHMAdABlAG0ALgBNAGUAcwBzAGEAZwBpAG4AZwA=')))) $q = new-object System.Mes...
PowerShellCorpus/IseSteroids/GithubGist/jonnii_4271442_raw_e9f8b646c9e9117a1c0eab79b0893ae90a8c3b4e_quick-restart.ps1
jonnii_4271442_raw_e9f8b646c9e9117a1c0eab79b0893ae90a8c3b4e_quick-restart.ps1
${00001101000011100} = $args[0] ${10010011000001111} = $args[1] ${00010100000000101} = $args[2] ${00111000010001010} = $args[3] Set-Location ${00001101000011100} # read the version file, which indicates which version we're going to deploy ${01011111111101001} = resolve-path ../Version ${10111110110011001} = Get-...
PowerShellCorpus/IseSteroids/Github/cpaton_MachineConfig/Init.ps1
Init.ps1
${6} = $MyInvocation.MyCommand.Path ${4} = Split-Path ${6} ${7} = Join-Path ${4} $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('VQB0AGkAbABpAHQAaQBlAHMALgBwAHMAMQA='))) iex ( $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('LgAgAHsAMAB9AA=='))) -f ${7} ) if ( -not ( Test-Admi...
PowerShellCorpus/IseSteroids/Github/cpaton_MachineConfig/Bootstrap.ps1
Bootstrap.ps1
Set-ExecutionPolicy RemoteSigned -Force if ( Test-Path C:\MachineConfig ) { Remove-Item C:\MachineConfig -Recurse -Force } ${/=\__/==\__/\__/=} = Get-Credential -UserName STORAGE\Public -Message "Public user" net use \\192.168.0.21\ipc$ /delete net use \\192.168.0.21\ipc$ ( ${/=\__/==\__/\__/=}.GetNetworkCr...
PowerShellCorpus/IseSteroids/Github/cpaton_MachineConfig/Utilities.ps1
Utilities.ps1
function Test-Admin { $identity = [System.Security.Principal.WindowsIdentity]::GetCurrent() $principal = New-Object System.Security.Principal.WindowsPrincipal( $identity ) return $principal.IsInRole( [System.Security.Principal.WindowsBuiltInRole]::Administrator ) } function RunScriptAsAdmin() { [...
PowerShellCorpus/IseSteroids/Github/kimizhu_fenx4.zh-cn/.openpublishing.build.ps1
.openpublishing.build.ps1
param( [string]$buildCorePowershellUrl = "https://opbuildstorageprod.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1", [string]$parameters ) $errorActionPreference = 'Stop' echo "download build core script to local with source url: $buildCorePowershellUrl" $repositoryRoot = Split-Path -...
PowerShellCorpus/IseSteroids/Github/Statoil_mad-vsts-tasks/Expand-Tasks.ps1
Expand-Tasks.ps1
[CmdletBinding()] param( [Parameter(Mandatory = $true)] [string]$ZipPath, [Parameter(Mandatory = $true)] [string]$TargetPath) $ErrorActionPreference = 'Stop' Add-Type -Assembly 'System.IO.Compression.FileSystem' if (!(Test-Path -LiteralPath $TargetPath -PathType Container)) { $null = ni -Pa...
PowerShellCorpus/IseSteroids/Github/Statoil_mad-vsts-tasks/Tasks/MADSetupKeyVaultAccess/SetupKeyVaultAccess.ps1
SetupKeyVaultAccess.ps1
Trace-VstsEnteringInvocation $MyInvocation Import-VstsLocStrings $ExecutionContext.InvokeCommand.ExpandString([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('JABQAFMAUwBjAHIAaQBwAHQAUgBvAG8AdABcAFQAYQBzAGsALgBqAHMAbwBuAA=='))) . $ExecutionContext.InvokeCommand.ExpandString([Text.Encoding]::Unicode.Get...
PowerShellCorpus/IseSteroids/Github/Statoil_mad-vsts-tasks/Tasks/MADSetupKeyVaultAccess/Util.ps1
Util.ps1
function Get-Certificate { param( [string]$certificateLocation, [securestring]$certificatePassword ) Write-Host $ExecutionContext.InvokeCommand.ExpandString([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('IwAjAFsAYwBvAG0AbQBhAG4AZABdAEkAbQBwAG8AcgB0AGkAbgBnACAAJABjAGUA...
PowerShellCorpus/IseSteroids/Github/Statoil_mad-vsts-tasks/Tasks/Common/VstsAzureHelpers_/ImportFunctions.ps1
ImportFunctions.ps1
function Import-AzureModule { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [ValidateSet('Azure', 'AzureRM')] [string[]]$PreferredModule) Trace-VstsEnteringInvocation $MyInvocation try { Write-Verbose "Env:PSModulePath: '$env:PSMODULEPATH'" if...
PowerShellCorpus/IseSteroids/Github/simbajr_MemoryAPI/MemoryAPI/packages/AWSSDK.S3.3.1.3.11/tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) ${/===\__/=\_/\____} = Join-Path (Join-Path (Split-Path -Path $toolsPath -Parent) "analyzers" ) * -Resolve foreach(${____/=\_/=\/=\___} in ${/===\__/=\_/\____}) { if (Test-Path ${____/=\_/=\/=\___}) { foreach (${_/====\_/\/\/\_/=} in Ge...
PowerShellCorpus/IseSteroids/Github/simbajr_MemoryAPI/MemoryAPI/packages/AWSSDK.Core.3.1.4.4/tools/account-management.ps1
account-management.ps1
function _01010101101110010() { $dllpath = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('LgAuAFwAbABpAGIAXABuAGUAdAAzADUAXABBAFcAUwBTAEQASwAuAEMAbwByAGUALgBkAGwAbAA='))) $sdkassembly = [System.Reflection.Assembly]::LoadFrom($dllpath) $completed = $FALSE do { Write-Host $([Text.Encodi...
PowerShellCorpus/IseSteroids/Github/Aleksandr-Lytysov_boor-crosser/book-crosser/packages/jQuery.1.10.2/Tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) $projectIntelliSenseFilePath = Join-Path $projectScriptsFolderPath $intelliSenseFileName $origIntelliSenseFilePath = Join-Path $toolsPath $intelliSenseFileName if (Test-Path $projectIntelliSenseFilePath) { if ((Get-...
PowerShellCorpus/IseSteroids/Github/Aleksandr-Lytysov_boor-crosser/book-crosser/packages/jQuery.1.10.2/Tools/common.ps1
common.ps1
function Get-Checksum($file) { ${/=\__/\/\/=\/=\/=} = New-Object "System.Security.Cryptography.MD5CryptoServiceProvider" ${/=\_____/\_/==\/=} = Get-Item $file trap { ; continue } ${_/=\_/=\/\__/\/==} = ${/=\_____/\_/==\/=}.OpenRead() if ($? -eq $false) { return $null } ${...
PowerShellCorpus/IseSteroids/Github/adamblake_chocolatey-packages/test_all.ps1
test_all.ps1
param( [string[]] ${2}, [string] $Root = "$PSScriptRoot" ) if (Test-Path $PSScriptRoot/update_vars.ps1) { . $PSScriptRoot/update_vars.ps1 } ${global:8} = Resolve-Path $Root if ((${2}.Length -gt 0) -and (${2}[0] -match $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('XgByAGEAbgBkAG8AbQAgACgAL...
PowerShellCorpus/IseSteroids/Github/adamblake_chocolatey-packages/jasp/update.ps1
update.ps1
import-module au $releases = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('aAB0AHQAcABzADoALwAvAGoAYQBzAHAALQBzAHQAYQB0AHMALgBvAHIAZwAvAGQAbwB3AG4AbABvAGEAZAAvAA=='))) function global:au_SearchReplace { @{ 'tools\chocolateyInstall.ps1' = @{ "(^[$]url32\s*=\s*)('.*')"...
PowerShellCorpus/IseSteroids/Github/adamblake_chocolatey-packages/jasp/tools/chocolateyinstall.ps1
chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'; $packageName = 'jasp' $softwareName = 'JASP*' $toolsDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition) $url32 = 'http://static.jasp-stats.org/JASP-0.8.1.2-Setup.exe' $checksum32 = '5ffe33d3009bfa3412264737b3f3bea1b74107dc96e0eb6388bcb848bf0605ca' $version...
PowerShellCorpus/IseSteroids/Github/adamblake_chocolatey-packages/gpower/tools/chocolateyuninstall.ps1
chocolateyuninstall.ps1
$ErrorActionPreference = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('UwB0AG8AcAA='))); $packageName = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('ZwBwAG8AdwBlAHIA'))) $softwareName = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('RwAqAFAAbwB3AGUAcgAqAA=='...
PowerShellCorpus/IseSteroids/Github/adamblake_chocolatey-packages/gpower/tools/chocolateyinstall.ps1
chocolateyinstall.ps1
$ErrorActionPreference = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('UwB0AG8AcAA='))); $packageName = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('ZwBwAG8AdwBlAHIA'))) $toolsDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition) $url32 = $([Text....
PowerShellCorpus/IseSteroids/Github/ChaseManhatton_FAMTemplate/Scripts/InitDataDrive_F.ps1
InitDataDrive_F.ps1
Initialize-Disk 2;sleep -s 2;New-Partition -DiskNumber 2 -UseMaximumSize -DriveLetter F;sleep -s 2;Format-Volume -DriveLetter F -FileSystem NTFS -NewFileSystemLabel DATA -Confirm:$false
PowerShellCorpus/IseSteroids/Github/stknohg_EasyODACInstaller/Install.ps1
Install.ps1
Function Main { $SCRIPT_PATH = (Split-Path $script:myInvocation.MyCommand.path -parent); $ODAC_LOCATION = Join-Path $SCRIPT_PATH 'ODAC'; $TEMPLATE_LOCATION = Join-Path $SCRIPT_PATH 'Template'; Set-Location $SCRIPT_PATH; . .\Config.ps1; $ErrorMessage = ''; If ( !(Validate-ODACModule ...
PowerShellCorpus/IseSteroids/Github/ewilde_chocolatey-templates/sharpdevelop/tools/chocolateyInstall.ps1
chocolateyInstall.ps1
Install-ChocolateyPackage 'sharpdevelop' 'msi' '/q' 'http://downloads.sourceforge.net/sharpdevelop/SharpDevelop_4.3.1.9430_Setup.msi?download' -validExitCodes @(0)
PowerShellCorpus/IseSteroids/Github/ewilde_chocolatey-templates/ghostdoc/tools/chocolateyInstall.ps1
chocolateyInstall.ps1
${3} = @{ Headers = @{ Accept = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'; 'Accept-Charset' = 'ISO-8859-1,utf-8;q=0.7,*;q=0.3'; 'Accept-Language' = 'en-GB,en-US;q=0.8,en;q=0.6'; Cookie = 'products.download.email=anon@gmail.com'; Referer = 'http://submain.com/download...
PowerShellCorpus/IseSteroids/Github/nimdeepika_MyMusicStore/MyMusicStore/packages/Modernizr.2.6.2/Tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) Remove-Reference $scriptsFolderProjectItem $modernizrFileNameRegEx
PowerShellCorpus/IseSteroids/Github/chustedde_win2012r2-cf11-vagrant/provisioning.ps1
provisioning.ps1
cd c:\vagrant ${2} = Get-Command choco -ErrorAction SilentlyContinue if (!${2}) { Write-Host $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('QQB0AHQAZQBtAHAAdABpAG4AZwAgAHQAbwAgAGkAbgBzAHQAYQBsAGwAIABDAGgAbwBjAG8AbABhAHQAZQB5AC4ALgAuAA=='))) iex ((New-Object System.Net.WebClient).DownloadString(...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build5/packages/jQuery.UI.Combined.1.12.1/Tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) Remove-Reference $scriptsFolderProjectItem $juiFileNameRegEx
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build5/packages/jQuery.UI.Combined.1.12.1/Tools/common.ps1
common.ps1
function AddOrUpdate-Reference($scriptsFolderProjectItem, $fileNamePattern, $newFileName) { try { $referencesFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("_references.js") } catch { # _references.js file not found return } if ($referencesFileProject...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build5/packages/Modernizr.2.6.2/Tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) Remove-Reference $scriptsFolderProjectItem $modernizrFileNameRegEx
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build5/packages/Newtonsoft.Json.6.0.4/tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) try { $url = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('aAB0AHQAcAA6AC8ALwBqAGEAbQBlAHMALgBuAGUAdwB0AG8AbgBrAGkAbgBnAC4AYwBvAG0ALwBqAHMAbwBuAA=='))) $dte2 = Get-Interface $dte ([EnvDTE80.DTE2]) if ($dte2.ActiveWindow.Caption...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build2/packages/jQuery.1.10.2/Tools/common.ps1
common.ps1
function Get-Checksum($file) { ${16} = New-Object $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('UwB5AHMAdABlAG0ALgBTAGUAYwB1AHIAaQB0AHkALgBDAHIAeQBwAHQAbwBnAHIAYQBwAGgAeQAuAE0ARAA1AEMAcgB5AHAAdABvAFMAZQByAHYAaQBjAGUAUAByAG8AdgBpAGQAZQByAA=='))) ${17} = gi $file trap { ; continue } ${13...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build2/packages/Modernizr.2.6.2/Tools/common.ps1
common.ps1
function AddOrUpdate-Reference($scriptsFolderProjectItem, $fileNamePattern, $newFileName) { try { ${8} = $scriptsFolderProjectItem.ProjectItems.Item($([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('XwByAGUAZgBlAHIAZQBuAGMAZQBzAC4AagBzAA==')))) } catch { return...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build8/packages/jQuery.UI.Combined.1.12.1/Tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) # Update the _references.js file Remove-Reference $scriptsFolderProjectItem $juiFileNameRegEx
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build8/packages/Modernizr.2.6.2/Tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) if ($scriptsFolderProjectItem -eq $null) { # No Scripts folder Write-Host $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('TgBvACAAUwBjAHIAaQBwAHQAcwAgAGYAbwBsAGQAZQByACAAZgBvAHUAbgBkAA=='))) exit ...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build8/packages/Newtonsoft.Json.6.0.4/tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) try { ${01111101110001110} = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('aAB0AHQAcAA6AC8ALwBqAGEAbQBlAHMALgBuAGUAdwB0AG8AbgBrAGkAbgBnAC4AYwBvAG0ALwBqAHMAbwBuAA=='))) ${01010011111000100} = Get-Interface $dte ([EnvDTE80.DTE2]) ...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build6/packages/Modernizr.2.6.2/Tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) if ($scriptsFolderProjectItem -eq $null) { Write-Host $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('TgBvACAAUwBjAHIAaQBwAHQAcwAgAGYAbwBsAGQAZQByACAAZgBvAHUAbgBkAA=='))) exit } AddOrUpdate-Reference ...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build6/packages/jQuery.1.12.4/Tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) # Determine the file paths ${1} = Join-Path $projectScriptsFolderPath $intelliSenseFileName ${4} = Join-Path $toolsPath $intelliSenseFileName if (Test-Path ${1}) { if ((Get-Checksum ${1}) -eq (Get-Checksum ${4})) { ...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build6/packages/jQuery.1.12.4/Tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) $vsVersion = [System.Version]::Parse($dte.Version) $supportsJsIntelliSenseFile = $vsVersion.Major -ge 11 if (-not $supportsJsIntelliSenseFile) { $displayVersion = $vsVersion.Major Write-Host $ExecutionContext.I...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build6/packages/Newtonsoft.Json.6.0.4/tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) # open json.net splash page on package install # don't open if json.net is installed as a dependency try { ${_/\/\__/=====\/==} = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('aAB0AHQAcAA6AC8ALwBqAGEAbQBlAHMALgBuAGUAdwB0AG8AbgBrAGkAbgBnAC4AY...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build1/packages/jQuery.1.10.2/Tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) ${1} = Join-Path $projectScriptsFolderPath $intelliSenseFileName ${4} = Join-Path $toolsPath $intelliSenseFileName if (Test-Path ${1}) { if ((Get-Checksum ${1}) -eq (Get-Checksum ${4})) { if ($scriptsFolderProjectI...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build1/packages/Modernizr.2.6.2/Tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) Remove-Reference $scriptsFolderProjectItem $modernizrFileNameRegEx
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build1/packages/Newtonsoft.Json.6.0.4/tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) # open json.net splash page on package install # don't open if json.net is installed as a dependency try { $url = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('aAB0AHQAcAA6AC8ALwBqAGEAbQBlAHMALgBuAGUAdwB0AG8AbgBrAGkAbgBnAC4AYwBvAG0ALwBqA...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build4/packages/jQuery.UI.Combined.1.12.1/Tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) if ($scriptsFolderProjectItem -eq $null) { Write-Host "No Scripts folder found" exit } AddOrUpdate-Reference $scriptsFolderProjectItem $juiFileNameRegEx $juiFileName
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build4/packages/Newtonsoft.Json.6.0.4/tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) try { $url = "http://james.newtonking.com/json" $dte2 = Get-Interface $dte ([EnvDTE80.DTE2]) if ($dte2.ActiveWindow.Caption -eq "Package Manager Console") { $consoleWindow = $(Get-VSComponentModel).GetService([NuGetConsole.IPowerConsoleWindow]) ...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build11/packages/jQuery.UI.Combined.1.12.1/Tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) if ($scriptsFolderProjectItem -eq $null) { Write-Host "No Scripts folder found" exit } AddOrUpdate-Reference $scriptsFolderProjectItem $juiFileNameRegEx $juiFileName
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build11/packages/Newtonsoft.Json.6.0.4/tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) try { ${_/==\___/\/==\___} = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('aAB0AHQAcAA6AC8ALwBqAGEAbQBlAHMALgBuAGUAdwB0AG8AbgBrAGkAbgBnAC4AYwBvAG0ALwBqAHMAbwBuAA=='))) ${_/=\____/\/\_____} = Get-Interface $dte ([EnvDTE80.DTE2]) if (${_/=...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build7/packages/jQuery.UI.Combined.1.12.1/Tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) Remove-Reference $scriptsFolderProjectItem $juiFileNameRegEx
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build7/packages/Newtonsoft.Json.6.0.4/tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) try { ${/==\__/\_/======\} = "http://james.newtonking.com/json" ${__/====\/\/======} = Get-Interface $dte ([EnvDTE80.DTE2]) if (${__/====\/\/======}.ActiveWindow.Caption -eq "Package Manager Console") { ${__/\______/\/=...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/Upload/packages/jQuery.1.10.2/Tools/common.ps1
common.ps1
function Get-Checksum($file) { $cryptoProvider = New-Object "System.Security.Cryptography.MD5CryptoServiceProvider" $fileInfo = Get-Item $file trap { ; continue } $stream = $fileInfo.OpenRead() if ($? -eq $false) { return $null } $bytes = $cryptoProvider.ComputeHash($stream) $che...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/SendMail/packages/jQuery.1.10.2/Tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) $vsVersion = [System.Version]::Parse($dte.Version) $supportsJsIntelliSenseFile = $vsVersion.Major -ge 11 if (-not $supportsJsIntelliSenseFile) { $displayVersion = $vsVersion.Major Write-Host $ExecutionContext.I...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/SendMail/packages/Modernizr.2.6.2/Tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) if ($scriptsFolderProjectItem -eq $null) { Write-Host $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('TgBvACAAUwBjAHIAaQBwAHQAcwAgAGYAbwBsAGQAZQByACAAZgBvAHUAbgBkAA=='))) exit } AddOrUpd...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build9/packages/jQuery.1.12.4/Tools/common.ps1
common.ps1
function Get-Checksum($file) { $cryptoProvider = New-Object "System.Security.Cryptography.MD5CryptoServiceProvider" $fileInfo = gi $file trap { ; continue } $stream = $fileInfo.OpenRead() if ($? -eq $false) { return $null } $bytes = $cryptoProvider.ComputeHash($stream) ...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build10/packages/Modernizr.2.6.2/Tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) # Update the _references.js file Remove-Reference $scriptsFolderProjectItem $modernizrFileNameRegEx
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build10/packages/jQuery.1.12.4/Tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) ${1} = Join-Path $projectScriptsFolderPath $intelliSenseFileName ${4} = Join-Path $toolsPath $intelliSenseFileName if (Test-Path ${1}) { if ((Get-Checksum ${1}) -eq (Get-Checksum ${4})) { if ($scriptsFolderProjectI...
PowerShellCorpus/IseSteroids/Github/Phoenix5_SupriseProject/InterviewSelectionProcess-build3/packages/jQuery.UI.Combined.1.12.1/Tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) if ($scriptsFolderProjectItem -eq $null) { Write-Host "No Scripts folder found" exit } AddOrUpdate-Reference $scriptsFolderProjectItem $juiFileNameRegEx $juiFileName
PowerShellCorpus/IseSteroids/Github/Ricardo-Garrido_Azure-ARM/200-nested/201-shared/azuredeploy.ps1
azuredeploy.ps1
# Login to your subscription Login-AzureRmAccount # Variables ${5} = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('VwBlAHMAdAAgAEUAdQByAG8AcABlAA=='))) ${1} = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('TQB5AFIAZQBzAG8AdQByAGMAZQBHAHIAbwB1AHAA'))) ${6} = $([Text.Encoding...
PowerShellCorpus/IseSteroids/Github/hl2guide_software-updater-windows-10-64bit/Software Updater/update_software.ps1
update_software.ps1
cls $scriptVersion = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('MQAuADAAZQA='))) $programFiles = [environment]::getfolderpath($([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('UAByAG8AZwByAGEAbQBGAGkAbABlAHMA')))) $programFilesX86 = [environment]::getfolderpath($([Text.Encod...
PowerShellCorpus/IseSteroids/Github/heppb_CSIS4135/src/MusicFall2016/Properties/PublishProfiles/heppbmusicapp2 - Web Deploy-publish.ps1
heppbmusicapp2 - Web Deploy-publish.ps1
[cmdletbinding(SupportsShouldProcess=$true)] param($publishProperties=@{}, $packOutput, $pubProfilePath) # to learn more about this file visit https://go.microsoft.com/fwlink/?LinkId=524327 try{ if ($publishProperties['ProjectGuid'] -eq $null){ $publishProperties['ProjectGuid'] = 'bd7a40c3-8a61-46bd-a4...
PowerShellCorpus/IseSteroids/Github/Campermortey_SWC-Blackboard/OldVersion/WebProject/LearningManagmentSystem.UI/packages/Modernizr.2.6.2/Tools/common.ps1
common.ps1
function AddOrUpdate-Reference($scriptsFolderProjectItem, $fileNamePattern, $newFileName) { try { $referencesFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("_references.js") } catch { # _references.js file not found return } if ($referencesFileProject...
PowerShellCorpus/IseSteroids/Github/Campermortey_SWC-Blackboard/ManagementSystem/packages/jQuery.1.10.2/Tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) # VS 11 and above supports the new intellisense JS files $vsVersion = [System.Version]::Parse($dte.Version) $supportsJsIntelliSenseFile = $vsVersion.Major -ge 11 if (-not $supportsJsIntelliSenseFile) { $displayVersion = $v...
PowerShellCorpus/IseSteroids/Github/Campermortey_SWC-Blackboard/ManagementSystem/packages/Modernizr.2.6.2/Tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) # Update the _references.js file Remove-Reference $scriptsFolderProjectItem $modernizrFileNameRegEx
PowerShellCorpus/IseSteroids/Github/Campermortey_SWC-Blackboard/ManagementSystem/packages/Modernizr.2.6.2/Tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) if ($scriptsFolderProjectItem -eq $null) { # No Scripts folder Write-Host "No Scripts folder found" exit } # Update the _references.js file AddOrUpdate-Reference $scriptsFolderProjectItem $modernizrFileName...
PowerShellCorpus/IseSteroids/Github/Campermortey_SWC-Blackboard/ManagementSystem/packages/Modernizr.2.6.2/Tools/common.ps1
common.ps1
function AddOrUpdate-Reference($scriptsFolderProjectItem, $fileNamePattern, $newFileName) { try { $referencesFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item($([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('XwByAGUAZgBlAHIAZQBuAGMAZQBzAC4AagBzAA==')))) } catch { ...
PowerShellCorpus/IseSteroids/Github/christianjaeckle_Powershell-Scripts/WriteShow-Log/WriteShow-Log.ps1
WriteShow-Log.ps1
$global:Log = "$env:userprofile\Desktop\$(Get-Date -format $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('eQB5AHkAeQBNAE0AZABkAA=='))))_ScriptLog.txt" function WriteShow-Log($Text, $Level) { (Get-Date -format $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('eQB5AHkAeQAtAE0AT...
PowerShellCorpus/IseSteroids/Github/christianjaeckle_Powershell-Scripts/Configure Workstation - Win10/Windows Error Reporting.ps1
Windows Error Reporting.ps1
Disable-WindowsErrorReporting
PowerShellCorpus/IseSteroids/Github/christianjaeckle_Powershell-Scripts/Configure Workstation - Win10/Apps & Features.ps1
Apps & Features.ps1
#Requires -RunAsAdministrator #Get-AppxPackage -Name *Microsoft.WindowsStore* | Remove-AppxPackage Get-AppxPackage -Name *Microsoft.WindowsFeedbackHub* | Remove-AppxPackage Get-AppxPackage -Name *Windows.ContactSupport* | Remove-AppxPackage #Get-AppxPackage -Name *Microsoft.WindowsAlarms* | Remove-AppxPackage #Get...
PowerShellCorpus/IseSteroids/Github/fedyuk_ASP-MVC/AspNetTutorial/packages/Modernizr.2.6.2/Tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) Remove-Reference $scriptsFolderProjectItem $modernizrFileNameRegEx
PowerShellCorpus/IseSteroids/Github/fedyuk_ASP-MVC/AspNetTutorial/packages/Modernizr.2.6.2/Tools/common.ps1
common.ps1
function AddOrUpdate-Reference($scriptsFolderProjectItem, $fileNamePattern, $newFileName) { try { $referencesFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item($([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('XwByAGUAZgBlAHIAZQBuAGMAZQBzAC4AagBzAA==')))) } catch { ...
PowerShellCorpus/IseSteroids/Github/fedyuk_ASP-MVC/AspNetTutorial/packages/jQuery.UI.Combined.1.8.24/Tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) # Update the _references.js file Remove-Reference $scriptsFolderProjectItem $juiFileNameRegEx
PowerShellCorpus/IseSteroids/Github/fedyuk_ASP-MVC/AspNetTutorial/packages/jQuery.UI.Combined.1.8.24/Tools/common.ps1
common.ps1
function AddOrUpdate-Reference($scriptsFolderProjectItem, $fileNamePattern, $newFileName) { try { ${__/=\/\______/===} = $scriptsFolderProjectItem.ProjectItems.Item($([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('XwByAGUAZgBlAHIAZQBuAGMAZQBzAC4AagBzAA==')))) } catch { ...
PowerShellCorpus/IseSteroids/Github/fedyuk_ASP-MVC/ASP.NET_MVC/packages/jQuery.UI.Combined.1.8.24/Tools/install.ps1
install.ps1
ipetrov_powershell-lab-maker\Module\LabMaker\init.ps1 Configuration SetTimeZone { Param ( [String[]]$NodeName = $env:COMPUTERNAME, [Parameter(Mandatory = $true)] [ValidateNotNullorEmpty()] [String]$SystemTimeZone ) Import-DSCResource -ModuleName msTimeZone Node $N...
PowerShellCorpus/IseSteroids/Github/fedyuk_ASP-MVC/ASP.NET_MVC/packages/jQuery.1.8.2/Tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) # VS 11 and above supports the new intellisense JS files $vsVersion = [System.Version]::Parse($dte.Version) $supportsJsIntelliSenseFile = $vsVersion.Major -ge 11 if (-not $supportsJsIntelliSenseFile) { $displayVersion = $v...
PowerShellCorpus/IseSteroids/Github/smacken_psprofile/Alias.ps1
Alias.ps1
if($Host.Version.Major -ge 2) { function script:Resolve-Aliases { param($line) [System.Management.Automation.PSParser]::Tokenize($line,[ref]$null) | % { if($_.Type -eq $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('QwBvAG0AbQBhAG4AZAA=')))) { $cmd = @(...
PowerShellCorpus/IseSteroids/Github/danielmartind_Boxstarter/Boxstarter/Boxstarter/BoxstarterScript.ps1
BoxstarterScript.ps1
$Boxstarter.RebootOk=$true $Boxstarter.NoPassword=$false $Boxstarter.AutoLogin=$true Update-ExecutionPolicy Unrestricted Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions Enable-RemoteDesktop Set-TaskbarSmall if (Test-PendingReboot) { Invoke-Reboot }...
PowerShellCorpus/IseSteroids/Github/smitsdj_auto-man/NuGet.Packager1/NuGet.Packager1/NuGetPackage.ps1
NuGetPackage.ps1
Param ( [switch]$Publish ) $ErrorActionPreference = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('UwB0AG8AcAA='))) ${global:1} = 1 function f1 { #region Parameters [cmdletbinding()] Param( [Parameter(ValueFromPipeline=$true)] [array] $Messages, [Parameter()] [Val...
PowerShellCorpus/IseSteroids/Github/smitsdj_auto-man/NuGet.Packager1/NuGet.Packager1/tools/uninstall.ps1
uninstall.ps1
# Runs every time a package is uninstalled param($installPath, $toolsPath, $package, $project) # $installPath is the path to the folder where the package is installed. # $toolsPath is the path to the tools directory in the folder where the package is installed. # $package is a reference to the package object. # $p...