full_path stringlengths 31 232 | filename stringlengths 4 167 | content stringlengths 0 48.3M |
|---|---|---|
PowerShellCorpus/Github/dchosnek_unlock-excelsheet/Unlock-ExcelSheet.ps1 | Unlock-ExcelSheet.ps1 | <#
.SYNOPSIS
Unlock protected sheets in an Excel file.
.DESCRIPTION
Unlocks protected sheets, even those protected by a password.
.INPUTS
A list of filenames to unlock.
.OUTPUTS
For each input file, an unlocked output file is created.
.NOTES
Version: 1.0
Author: Doron Chosnek
Cr... |
PowerShellCorpus/Github/RobertCGouge_PowerWorks/PowerWorks/Public/Get-SCVirtualMachineAge.ps1 | Get-SCVirtualMachineAge.ps1 | <#
.Synopsis
This function will return how old a virtual machine is and how long it has been off.
.DESCRIPTION
Long description
.EXAMPLE
Example of how to use this cmdlet
.EXAMPLE
Another example of how to use this cmdlet
#>
function Get-SCVirtualMachineAge
{
[CmdletBinding()]
[Alias()]... |
PowerShellCorpus/Github/RobertCGouge_PowerWorks/PowerWorks/Public/Test-Port.ps1 | Test-Port.ps1 | <#
.Synopsis
This cmdlet will test a given TCP port till the port is open
.DESCRIPTION
This cmdlet will continously test a given TCP port untill the cmdlet is halted or a connection to the given port is established. This is useful for testing connectivity while configuring firewal... |
PowerShellCorpus/Github/RobertCGouge_PowerWorks/PowerWorks/Classes/VirtualMachine.ps1 | VirtualMachine.ps1 | class VirtualMachine {
[String]$Name
[string]$owner
[string]$ownerEmail
[Guid]$ID
[datetime]$dateCreated
[string]$status
[int]$ram
[int]$cores
VirtualMachine ($Name){
$vm = Get-SCVirtualMachine -Name $Name
$this.ID = $vm.ID
$this.name = $Name
$this.... |
PowerShellCorpus/Github/RobertCGouge_PowerWorks/Build/psake.ps1 | psake.ps1 | # PSake makes variables declared here available in other scriptblocks
# Init some things
Properties {
# Find the build folder based on build system
$ProjectRoot = $ENV:BHProjectPath
if (-not $ProjectRoot) {
$ProjectRoot = $PSScriptRoot
}
$ModuleFolder = Split-Path -Path $ENV:BHPSModu... |
PowerShellCorpus/Github/RobertCGouge_PowerWorks/Build/deploy.psdeploy.ps1 | deploy.psdeploy.ps1 | # Generic module deployment.
#
# ASSUMPTIONS:
#
# * folder structure either like:
#
# - RepoFolder
# - This PSDeploy file
# - ModuleName
# - ModuleName.psd1
#
# OR the less preferable:
# - RepoFolder
# - RepoFolder.psd1
#
# * Nuget key in $ENV:NugetApiKey
#
# * Set-BuildEnvironm... |
PowerShellCorpus/Github/RobertCGouge_PowerWorks/Build/Start-Build.ps1 | Start-Build.ps1 | param ($Task = 'Default')
# Grab nuget bits, install modules, set build variables, start build.
Get-PackageProvider -Name NuGet -ForceBootstrap | Out-Null
Install-Module Psake, PSDeploy, BuildHelpers, platyPS, PSScriptAnalyzer -force
Install-Module Pester -Force -SkipPublisherCheck
Import-Module Psake, BuildHe... |
PowerShellCorpus/Github/RobertCGouge_PowerWorks/Build/helpers/Install-PSDepend.ps1 | Install-PSDepend.ps1 | <#
.SYNOPSIS
Bootstrap PSDepend
.DESCRIPTION
Bootstrap PSDepend
Why? No reliance on PowerShellGallery
* Downloads nuget to your ~\ home directory
* Creates $Path (and full path to it)
* Downloads module to $Path\PSDepend
* Moves ... |
PowerShellCorpus/Github/RobertCGouge_PowerWorks/Tests/Help.Tests.ps1 | Help.Tests.ps1 | $projectRoot = Resolve-Path "$PSScriptRoot\.."
$moduleRoot = Split-Path (Resolve-Path "$projectRoot\PowerWorks\*.psd1")
$moduleName = Split-Path $moduleRoot -Leaf
Import-Module (Join-Path $moduleRoot "$moduleName.psd1") -force
Describe "Help tests for $moduleName" -Tags Build {
$functions = Get-Comma... |
PowerShellCorpus/Github/RobertCGouge_PowerWorks/Tests/Test-Port.Tests.ps1 | Test-Port.Tests.ps1 | $here = Split-Path -Parent $MyInvocation.MyCommand.Path
$root = (Get-Item $here).Parent
$module = (Get-ChildItem -Path $root.FullName -Recurse -Filter '*.psm1').FullName
import-module $module
$ip = Resolve-DnsName -Name www.google.com | Where-Object -FilterScript {$_.Type -like 'AAAA'}
Describe "Test-P... |
PowerShellCorpus/Github/appveyor-tests_ruby-test/test.ps1 | test.ps1 | $rubies = @(
@{
"version" = "Ruby 1.9.3-p551"
"install_path" = "C:\Ruby193"
}
@{
"version" = "Ruby 2.0.0-p648"
"install_path" = "C:\Ruby200"
}
@{
"version" = "Ruby 2.0.0-p648 (x64)"
"install_path" = "C:\Ruby200-x64"
}
@{
"... |
PowerShellCorpus/Github/v-peliao_TestForFeature/.openpublishing.build.ps1 | .openpublishing.build.ps1 | param(
[string]$buildCorePowershellUrl = "https://opbuildstoragesandbox2.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1",
[string]$parameters
)
# Main
$errorActionPreference = 'Stop'
# Step-1: Download buildcore script to local
echo "download build core script to local with source u... |
PowerShellCorpus/Github/wowinter13_shiny-spice/ms_new.ps1 | ms_new.ps1 | Set-NetFirewallProfile -all
netsh advfirewall firewall add rule name="telemetry_vortex.data.microsoft.com" dir=out action=block remoteip=191.232.139.254 enable=yes
netsh advfirewall firewall add rule name="telemetry_telecommand.telemetry.microsoft.com" dir=out action=block remoteip=65.55.252.92 enable=yes
netsh ad... |
PowerShellCorpus/Github/OzWookiee_SMDR-Logger/smdr.ps1 | smdr.ps1 | <#----------------------------------------------------------------------------------------#>
#Update these variables with the details of your SMDR server and the port to connect to.
#Your IP Office SMDR IP Address MUST be set to 0.0.0.0 in IP Office Administrator
[ipaddress]$SMDRHost = "10.1.1.246"
[int]$SMDRport = 50... |
PowerShellCorpus/Github/OzWookiee_SMDR-Logger/SMDR-DB-logger.ps1 | SMDR-DB-logger.ps1 | #requires -version 2.0
<#----------------------------------------------------------------------------------------#>
#SMDR data logging tool
#Version: 1.0
#Author: Bradley Bristow-Stagg
#Date: 15/01/2015
#
#This powershell script will connect to an SMDR host, read the data and then insert the data
#into a datab... |
PowerShellCorpus/Github/DobromirP_SourceControl/SourceTest.ps1 | SourceTest.ps1 | Write-Output "Hello Github."
|
PowerShellCorpus/Github/OPSTest_E2E_Provision_1484792311574/.openpublishing.build.ps1 | .openpublishing.build.ps1 | param(
[string]$buildCorePowershellUrl = "https://opbuildstoragesandbox2.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1",
[string]$parameters
)
# Main
$errorActionPreference = 'Stop'
# Step-1: Download buildcore script to local
echo "download build core script to local with source u... |
PowerShellCorpus/Github/guillermocorrea_adminus/src/packages/jQuery.1.10.2/Tools/uninstall.ps1 | uninstall.ps1 | param($installPath, $toolsPath, $package, $project)
. (Join-Path $toolsPath common.ps1)
# Determine the file paths
$projectIntelliSenseFilePath = Join-Path $projectScriptsFolderPath $intelliSenseFileName
$origIntelliSenseFilePath = Join-Path $toolsPath $intelliSenseFileName
if (Test-Path $projectIntelliSense... |
PowerShellCorpus/Github/guillermocorrea_adminus/src/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) {
$displayVersio... |
PowerShellCorpus/Github/guillermocorrea_adminus/src/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) {
# Couldn't open file for reading
return $null
}
$bytes = $... |
PowerShellCorpus/Github/guillermocorrea_adminus/src/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/Github/guillermocorrea_adminus/src/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/Github/guillermocorrea_adminus/src/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/Github/guillermocorrea_adminus/src/packages/EntityFramework.6.1.1/tools/init.ps1 | init.ps1 | param($installPath, $toolsPath, $package, $project)
if (Get-Module | ?{ $_.Name -eq 'EntityFramework' })
{
Remove-Module EntityFramework
}
Import-Module (Join-Path $toolsPath EntityFramework.psd1)
# SIG # Begin signature block
# MIIa4AYJKoZIhvcNAQcCoIIa0TCCGs0CAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQ... |
PowerShellCorpus/Github/guillermocorrea_adminus/src/packages/EntityFramework.6.1.1/tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
Initialize-EFConfiguration $project
Add-EFProvider $project 'System.Data.SqlClient' 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer'
Write-Host
Write-Host "Type 'get-help EntityFramework' to see all available Entity Framework comma... |
PowerShellCorpus/Github/guillermocorrea_adminus/src/packages/FontAwesome.4.2.0/tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
foreach ($fontFile in $project.ProjectItems.Item("fonts").ProjectItems)
{
$fontFile.Properties.Item("BuildAction").Value = 2;
} |
PowerShellCorpus/Github/OPS-E2E-PPE_E2E_D_Provision_2017_5_2_18_58_58/.openpublishing.build.ps1 | .openpublishing.build.ps1 | param(
[string]$buildCorePowershellUrl = "https://opbuildstorageprod.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1",
[string]$parameters
)
# Main
$errorActionPreference = 'Stop'
# Step-1: Download buildcore script to local
echo "download build core script to local with source url: ... |
PowerShellCorpus/Github/jade290_Salon/Salon1/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/Github/jade290_Salon/Salon1/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/Github/jade290_Salon/Salon1/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/Github/jade290_Salon/Salon1/packages/EntityFramework.5.0.0/tools/init.ps1 | init.ps1 | param($installPath, $toolsPath, $package, $project)
$importedModule = Get-Module | ?{ $_.Name -eq 'EntityFramework' }
if ($PSVersionTable.PSVersion -ge (New-Object Version @( 3, 0 )))
{
$thisModuleManifest = 'EntityFramework.PS3.psd1'
}
else
{
$thisModuleManifest = 'EntityFramework.psd1'
}
$thisModule... |
PowerShellCorpus/Github/jade290_Salon/Salon1/packages/EntityFramework.5.0.0/tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
function Invoke-ConnectionFactoryConfigurator($assemblyPath, $project)
{
$appDomain = [AppDomain]::CreateDomain(
'EntityFramework.PowerShell',
$null,
(New-Object System.AppDomainSetup -Property @{ ShadowCopyFiles = 'true' }))
... |
PowerShellCorpus/Github/jade290_Salon/Salon1/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/Github/jade290_Salon/Salon1/packages/jQuery.UI.Combined.1.8.24/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 $juiFileNameRegEx ... |
PowerShellCorpus/Github/jade290_Salon/Salon1/packages/jQuery.UI.Combined.1.8.24/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/Github/jade290_Salon/Salon1/packages/jQuery.1.8.2/Tools/uninstall.ps1 | uninstall.ps1 | param($installPath, $toolsPath, $package, $project)
. (Join-Path $toolsPath common.ps1)
# Determine the file paths
$projectIntelliSenseFilePath = Join-Path $projectScriptsFolderPath $intelliSenseFileName
$origIntelliSenseFilePath = Join-Path $toolsPath $intelliSenseFileName
if (Test-Path $projectIntelliSense... |
PowerShellCorpus/Github/jade290_Salon/Salon1/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) {
$displayVersio... |
PowerShellCorpus/Github/jade290_Salon/Salon1/packages/jQuery.1.8.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) {
# Couldn't open file for reading
return $null
}
$bytes = $... |
PowerShellCorpus/Github/WesMatthews_CodeNameBanana/PPSoft_SkedgeIT/packages/EntityFramework.6.0.0/tools/init.ps1 | init.ps1 | param($installPath, $toolsPath, $package, $project)
if (Get-Module | ?{ $_.Name -eq 'EntityFramework' })
{
Remove-Module EntityFramework
}
Import-Module (Join-Path $toolsPath EntityFramework.psd1)
# SIG # Begin signature block
# MIIarwYJKoZIhvcNAQcCoIIaoDCCGpwCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQ... |
PowerShellCorpus/Github/WesMatthews_CodeNameBanana/PPSoft_SkedgeIT/packages/EntityFramework.6.0.0/tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
Initialize-EFConfiguration $project
Add-EFProvider $project 'System.Data.SqlClient' 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer'
Write-Host
Write-Host "Type 'get-help EntityFramework' to see all available Entity Framework comma... |
PowerShellCorpus/Github/WesMatthews_CodeNameBanana/PPSoft_SkedgeIT/packages/EntityFramework.5.0.0/tools/init.ps1 | init.ps1 | param($installPath, $toolsPath, $package, $project)
$importedModule = Get-Module | ?{ $_.Name -eq 'EntityFramework' }
if ($PSVersionTable.PSVersion -ge (New-Object Version @( 3, 0 )))
{
$thisModuleManifest = 'EntityFramework.PS3.psd1'
}
else
{
$thisModuleManifest = 'EntityFramework.psd1'
}
$thisModule... |
PowerShellCorpus/Github/WesMatthews_CodeNameBanana/PPSoft_SkedgeIT/packages/EntityFramework.5.0.0/tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
function Invoke-ConnectionFactoryConfigurator($assemblyPath, $project)
{
$appDomain = [AppDomain]::CreateDomain(
'EntityFramework.PowerShell',
$null,
(New-Object System.AppDomainSetup -Property @{ ShadowCopyFiles = 'true' }))
... |
PowerShellCorpus/Github/WesMatthews_CodeNameBanana/PPSoft_SkedgeIT/packages/EntityFramework.6.1.2/tools/init.ps1 | init.ps1 | param($installPath, $toolsPath, $package, $project)
if (Get-Module | ?{ $_.Name -eq 'EntityFramework' })
{
Remove-Module EntityFramework
}
Import-Module (Join-Path $toolsPath EntityFramework.psd1)
# SIG # Begin signature block
# MIIa2AYJKoZIhvcNAQcCoIIayTCCGsUCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQ... |
PowerShellCorpus/Github/WesMatthews_CodeNameBanana/PPSoft_SkedgeIT/packages/EntityFramework.6.1.2/tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
Initialize-EFConfiguration $project
Add-EFProvider $project 'System.Data.SqlClient' 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer'
Write-Host
Write-Host "Type 'get-help EntityFramework' to see all available Entity Framework comma... |
PowerShellCorpus/Github/twv25_scripts/Enviroment_Replicator.ps1 | Enviroment_Replicator.ps1 | #โปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโป#
#โป Author: Thomas Vasile โป#
#โป Enviroment_Replicator โป#
#โป Contact: Twv25@drexel.edu โป#
#โปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโปโป#
###################################################################
# Prerequisite: Reference_Creator.ps1 #
# Purpose: To t... |
PowerShellCorpus/Github/twv25_scripts/LyncEnable.ps1 | LyncEnable.ps1 | #Authored by Thomas Vasile
################################################
##-------------LOG DELETE SECTION-------------##
################################################
#This section deletes the Lync log file if its older than 1 week
$Lyncfolder = "C:\Lync Log Folder"
# set minimum age of files and folde... |
PowerShellCorpus/Github/twv25_scripts/PasswordGenerator.ps1 | PasswordGenerator.ps1 | function Get-RandomPassword{
[CmdletBinding()]
param (
[parameter()]
[int]$CharRepeatMax = 3,
[parameter()]
[int]$Generate = 1
)
$length = Get-Random -minimum 9 -maximum 36
For($i=0; ... |
PowerShellCorpus/Github/twv25_scripts/Reference_Creator.ps1 | Reference_Creator.ps1 | #=======================#
# Author: Thomas Vasile #
# Reference_Creator #
#=======================#
############################################################################
# Purpose: Creates .CSV files containing attributes of the supplied domain #
# Parameters: -CopyFrom <string> ... |
PowerShellCorpus/Github/twv25_scripts/DNS_Replicator.ps1 | DNS_Replicator.ps1 | #=======================#
# Author: Thomas Vasile #
# DNS_Replicator.ps1 #
#=======================#
###################################################################
# Purpose: To take supplied enviroment and replicate its dns #
# Parameters: -DnsServer <string> -DNSZone <string> -Env <string> #
# -... |
PowerShellCorpus/Github/twv25_scripts/sftp_Finished.ps1 | sftp_Finished.ps1 | #author- Thomas Vasile
#removes contents of WBTlogs
Remove-Item "E:\WBTlogs\*.gz"
Remove-Item "E:\WBTlogs\*.log"
Write-Host "Receiving files from sftp.webtrends.com"
#Logs in to ftp server and gets Zip files
Start-Process "E:\SFTP\download.cmd" -wait
Write-host "finished"
#Intitalizing Variables
$Year_... |
PowerShellCorpus/Github/twv25_scripts/convertfrom-xlx.ps1 | convertfrom-xlx.ps1 | #Credit- James O'Neil http://jamesone111.wordpress.com
function ConvertFrom-XLx {
param ([parameter( Mandatory=$true,
ValueFromPipeline=$true,
ValueFromPipelineByPropertyName=$true)]
[string]$path ,
[switch]$PassThru
)
begin { $objE... |
PowerShellCorpus/Github/twv25_scripts/pst-export.ps1 | pst-export.ps1 | <#
.NOTES
AUTHOR: THOMAS VASILE
CONTACT: TWV25@DREXEL.EDU
pst-export.ps1
.SYNOPSIS
Exports disabled account's mailboxes to share.
.DESCRIPTION
Exports diabled user's mailboxed as .pst files to a network share for
consolidation of Exchange servers.
.PARAMETERS
Non... |
PowerShellCorpus/Github/twv25_scripts/dnsscript_finished.ps1 | dnsscript_finished.ps1 | #=======================#
# Author: Thomas Vasile #
# DNS_Replicator.ps1 #
#=======================#
#params to use $DnsServer, $Original_Env, $Original_Env_Short, $NewEnv, $NewEnv_Short, $FirstThreeOctet
param(
[Parameter(Mandatory=$true,Position=0,ValueFromPipeline=$false)]
[string]
$DnsServe... |
PowerShellCorpus/Github/twv25_scripts/webtrends_delete_withletters.ps1 | webtrends_delete_withletters.ps1 | <#
.NOTES
AUTHOR: THOMAS VASILE
.SYNOPSIS
WILL MOVE WEBTRENDS PROFILES.
.DESCRIPTION
.PARAMETERS
CSV_FILE: PATH TO EXCEL SHEET CONTAINING PROFILES TO BE DELETED.
.EXAMPLE
NONE
#>
param(
[Parameter(Mandatory=$true,Position=0,ValueFromPipeline=$false)]
[Vali... |
PowerShellCorpus/Github/twv25_scripts/webtrends_delete.ps1 | webtrends_delete.ps1 | <#
.NOTES
AUTHOR: THOMAS VASILE
.SYNOPSIS
WILL MOVE WEBTRENDS PROFILES.
.DESCRIPTION
.PARAMETERS
EXCEL_FILE: PATH TO EXCEL SHEET CONTAINING PROFILES TO BE DELETED.
.EXAMPLE
NONE
#>
param(
[Parameter(Mandatory=$true,Position=0,ValueFromPipeline=$false)]
[Va... |
PowerShellCorpus/Github/twv25_scripts/Lync_Installer_PSHELL_alt.ps1 | Lync_Installer_PSHELL_alt.ps1 | #Authored by Thomas Vasile
#Automated Deployment of Lync
#An alternative to my batch script using poweshell
#Path to the Setup.exe
$64_Install = "FILE"
$32_Install = "FILE"
#Switches used
$Arguments = @( '/install' , '/silent')
#Check for 64 Bit
$Determine_Bit = Test-Path "C:\Program Files (x86)\"
#Ch... |
PowerShellCorpus/Github/twv25_scripts/header.ps1 | header.ps1 | <#
.NOTES
AUTHOR: THOMAS VASILE
CONTACT: TWV25@DREXEL.EDU
.SYNOPSIS
.DESCRIPTION
.PARAMETERS
.EXAMPLE
#>
|
PowerShellCorpus/Github/twv25_scripts/hostfile_script.ps1 | hostfile_script.ps1 | <#
.NOTES
AUTHOR: THOMAS VASILE
CONTACT: TWV25@DREXEL.EDU
DNSSHELL MODULE NEEDED.
.SYNOPSIS
Creates deployment host file for production
.DESCRIPTION
To be used to create a master host file of production when doing deployments.
Part of Near Zero Down Time.
.PARAMETERS
DnsServe... |
PowerShellCorpus/Github/timja_ps-play-time/powershell-web-server.ps1 | powershell-web-server.ps1 | function Load-Packages
{
param ([string] $directory = 'Packages')
$assemblies = Get-ChildItem $directory -Recurse -Filter '*.dll' | Select -Expand FullName
foreach ($assembly in $assemblies) { [System.Reflection.Assembly]::LoadFrom($assembly) }
}
$sw = [system.diagnostics.stopwatch]::startNew()
W... |
PowerShellCorpus/Github/AlexanderMykulych_WebStore/HtmlHelpers/packages/Microsoft.AspNet.Providers.LocalDB.1.1/tools/Install.ps1 | Install.ps1 | param($installPath, $toolsPath, $package, $project)
try {
# Set up variables
$timestamp = (Get-Date).ToString('yyyyMMddHHmmss')
$projectName = [IO.Path]::GetFileName($project.ProjectName.Trim([IO.PATH]::DirectorySeparatorChar, [IO.PATH]::AltDirectorySeparatorChar))
$catalogName = "aspnet-$project... |
PowerShellCorpus/Github/AlexanderMykulych_WebStore/HtmlHelpers/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/Github/AlexanderMykulych_WebStore/HtmlHelpers/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/Github/AlexanderMykulych_WebStore/HtmlHelpers/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/Github/AlexanderMykulych_WebStore/HtmlHelpers/packages/EntityFramework.5.0.0/tools/init.ps1 | init.ps1 | param($installPath, $toolsPath, $package, $project)
$importedModule = Get-Module | ?{ $_.Name -eq 'EntityFramework' }
if ($PSVersionTable.PSVersion -ge (New-Object Version @( 3, 0 )))
{
$thisModuleManifest = 'EntityFramework.PS3.psd1'
}
else
{
$thisModuleManifest = 'EntityFramework.psd1'
}
$thisModule... |
PowerShellCorpus/Github/AlexanderMykulych_WebStore/HtmlHelpers/packages/EntityFramework.5.0.0/tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
function Invoke-ConnectionFactoryConfigurator($assemblyPath, $project)
{
$appDomain = [AppDomain]::CreateDomain(
'EntityFramework.PowerShell',
$null,
(New-Object System.AppDomainSetup -Property @{ ShadowCopyFiles = 'true' }))
... |
PowerShellCorpus/Github/AlexanderMykulych_WebStore/HtmlHelpers/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/Github/AlexanderMykulych_WebStore/HtmlHelpers/packages/jQuery.UI.Combined.1.8.24/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 $juiFileNameRegEx ... |
PowerShellCorpus/Github/AlexanderMykulych_WebStore/HtmlHelpers/packages/jQuery.UI.Combined.1.8.24/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/Github/AlexanderMykulych_WebStore/HtmlHelpers/packages/jQuery.1.8.2/Tools/uninstall.ps1 | uninstall.ps1 | param($installPath, $toolsPath, $package, $project)
. (Join-Path $toolsPath common.ps1)
# Determine the file paths
$projectIntelliSenseFilePath = Join-Path $projectScriptsFolderPath $intelliSenseFileName
$origIntelliSenseFilePath = Join-Path $toolsPath $intelliSenseFileName
if (Test-Path $projectIntelliSense... |
PowerShellCorpus/Github/AlexanderMykulych_WebStore/HtmlHelpers/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) {
$displayVersio... |
PowerShellCorpus/Github/AlexanderMykulych_WebStore/HtmlHelpers/packages/jQuery.1.8.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) {
# Couldn't open file for reading
return $null
}
$bytes = $... |
PowerShellCorpus/Github/AlexanderMykulych_WebStore/Store/packages/Microsoft.AspNet.Providers.LocalDB.1.1/tools/Install.ps1 | Install.ps1 | param($installPath, $toolsPath, $package, $project)
try {
# Set up variables
$timestamp = (Get-Date).ToString('yyyyMMddHHmmss')
$projectName = [IO.Path]::GetFileName($project.ProjectName.Trim([IO.PATH]::DirectorySeparatorChar, [IO.PATH]::AltDirectorySeparatorChar))
$catalogName = "aspnet-$project... |
PowerShellCorpus/Github/AlexanderMykulych_WebStore/Store/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/Github/AlexanderMykulych_WebStore/Store/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/Github/AlexanderMykulych_WebStore/Store/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/Github/AlexanderMykulych_WebStore/Store/packages/EntityFramework.6.1.2/tools/init.ps1 | init.ps1 | param($installPath, $toolsPath, $package, $project)
if (Get-Module | ?{ $_.Name -eq 'EntityFramework' })
{
Remove-Module EntityFramework
}
Import-Module (Join-Path $toolsPath EntityFramework.psd1)
# SIG # Begin signature block
# MIIa2AYJKoZIhvcNAQcCoIIayTCCGsUCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQ... |
PowerShellCorpus/Github/AlexanderMykulych_WebStore/Store/packages/EntityFramework.6.1.2/tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
Initialize-EFConfiguration $project
Add-EFProvider $project 'System.Data.SqlClient' 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer'
Write-Host
Write-Host "Type 'get-help EntityFramework' to see all available Entity Framework comma... |
PowerShellCorpus/Github/AlexanderMykulych_WebStore/Store/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/Github/AlexanderMykulych_WebStore/Store/packages/jQuery.UI.Combined.1.8.24/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 $juiFileNameRegEx ... |
PowerShellCorpus/Github/AlexanderMykulych_WebStore/Store/packages/jQuery.UI.Combined.1.8.24/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/Github/AlexanderMykulych_WebStore/Store/packages/jQuery.1.8.2/Tools/uninstall.ps1 | uninstall.ps1 | param($installPath, $toolsPath, $package, $project)
. (Join-Path $toolsPath common.ps1)
# Determine the file paths
$projectIntelliSenseFilePath = Join-Path $projectScriptsFolderPath $intelliSenseFileName
$origIntelliSenseFilePath = Join-Path $toolsPath $intelliSenseFileName
if (Test-Path $projectIntelliSense... |
PowerShellCorpus/Github/AlexanderMykulych_WebStore/Store/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) {
$displayVersio... |
PowerShellCorpus/Github/AlexanderMykulych_WebStore/Store/packages/jQuery.1.8.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) {
# Couldn't open file for reading
return $null
}
$bytes = $... |
PowerShellCorpus/Github/xinHoboken_mvcAuth/FormBasedAuth/packages/EntityFramework.6.1.3/tools/init.ps1 | init.ps1 | param($installPath, $toolsPath, $package, $project)
if (Get-Module | ?{ $_.Name -eq 'EntityFramework' })
{
Remove-Module EntityFramework
}
Import-Module (Join-Path $toolsPath EntityFramework.psd1)
# SIG # Begin signature block
# MIIa4AYJKoZIhvcNAQcCoIIa0TCCGs0CAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQ... |
PowerShellCorpus/Github/xinHoboken_mvcAuth/FormBasedAuth/packages/EntityFramework.6.1.3/tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
Initialize-EFConfiguration $project
Add-EFProvider $project 'System.Data.SqlClient' 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer'
Write-Host
Write-Host "Type 'get-help EntityFramework' to see all available Entity Framework comma... |
PowerShellCorpus/Github/xinHoboken_mvcAuth/FormBasedAuth/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0/tools/init.ps1 | init.ps1 | param($installPath, $toolsPath, $package, $project)
$compilerPackageName = 'Microsoft.Net.Compilers'
$roslynSubFolder = 'roslyn'
if ($project -eq $null) {
$project = Get-Project
}
$libDirectory = Join-Path $installPath 'lib\net45'
$packageDirectory = Split-Path $installPath
$compilerPackage = Get-Chil... |
PowerShellCorpus/Github/xinHoboken_mvcAuth/FormBasedAuth/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0/tools/uninstall.ps1 | uninstall.ps1 | param($installPath, $toolsPath, $package, $project)
$roslynSubFolder = 'roslyn'
if ($project -eq $null) {
$project = Get-Project
}
$projectRoot = $project.Properties.Item('FullPath').Value
$binDirectory = Join-Path $projectRoot 'bin'
$targetDirectory = Join-Path $binDirectory $roslynSubFolder
if (Te... |
PowerShellCorpus/Github/erobhal_op5snap/check_snapshots.ps1 | check_snapshots.ps1 | Param(
[Parameter(Mandatory=$true)][string]$vserver, # Hostname or IP to vcenter server
[Parameter(Mandatory=$true)][string]$user, # Username used when logging in to vcenter server
[Parameter(Mandatory=$true)][string]$password, # Password used when logging in to vcenter server
[Parameter(Mandatory=$true)][s... |
PowerShellCorpus/Github/astrofrog_debug-vispy-line-smooth/.install-opengl.ps1 | .install-opengl.ps1 | # Some modifications to this file copied from the VisPy project
# which is released under a BSD 3-clause license
$MESA_GL_URL = "https://github.com/vispy/demo-data/raw/master/mesa/"
function DownloadMesaOpenGL ($architecture) {
$webclient = New-Object System.Net.WebClient
$basedir = $pwd.Path + "\"
... |
PowerShellCorpus/Github/timan1802_rdp_attacker_block/rdp_block.ps1 | rdp_block.ps1 | # ์ด๋ฒคํธ๋ก๊ทธ๋ฅผ ์ฌ์ฉํ์ฌ ํน์ ํ์ ์ด์ ๋ก๊ทธ์ธ ์คํจ ์์ดํผ์ ๋ํ์ฌ
# MY BLACKLIST ๋ฐฉํ๋ฒฝ ๋ฑ๋ก
# 2014.05.22 NDH
# version 1.1
###################### Config ######################
#regex2 ๋ถ๋ถ์ด ์๋ฌธ ์๋์ฐOS ๊ฐ์ ๊ฒฝ์ฐ source network address ์ธ๊ฐ๋ก ๋ฐ๊ฟ์ฃผ๋ฉด ๋๋ค.
#MyIp ๋ถ๋ถ์ ๋ด ์์ดํผ๋ฅผ ๋ฑ๋กํ์ฌ ๋ด๊บผ๋ ๋งํ์ง ์๋๋ก ํ๋ ๋ถ๋ถ์ด๊ณ ,
#deny_count ๋ 5ํ์ด์ ์ ์์๋ ์คํจ ๋ก๊ทธ๊ฐ ์์ ์ ๋ฐฉํ๋ฒฝ์ ์ฐจ๋จ ๋ฑ๋กํ๋ ๋ณ์์ด๋ค.
... |
PowerShellCorpus/Github/aakgithubtest_SharePointScripts/Get-SPIISAppPoolInfo.ps1 | Get-SPIISAppPoolInfo.ps1 | Function Get-SPIISAppPoolInfo {
<#
.SYNOPSIS
This PowerShell function fully automates the task of identifying which SharePoint (2010 or 2013)
Web and Service Applications are associated with which IIS Application Pools
.DESCRIPTION
This PowerShell function fully automates the task of identifyin... |
PowerShellCorpus/Github/paulomarquesc_AzureRmStorageTable/Install-CosmosDbInstallPreReqs.ps1 | Install-CosmosDbInstallPreReqs.ps1 | #Loading Preview Microsoft.WindowsAzure.Storage dll and dependencies for Cosmos DB support
# Download nuget
Write-Verbose "Downloading nuget.exe" -Verbose
$nugetFilename = "nuget.exe"
$destination = $PSScriptRoot
$webclient = New-Object System.Net.WebClient
$url = "https://dist.nuget.org/win-x86-commandline/lat... |
PowerShellCorpus/Github/paulomarquesc_AzureRmStorageTable/Tests/AzureRmStorageTable.Tests.ps1 | AzureRmStorageTable.Tests.ps1 | Import-Module .\AzureRmStorageTable.psd1 -Force
$choices = [System.Management.Automation.Host.ChoiceDescription[]] @("&Y","&N")
$useEmulator = $Host.UI.PromptForChoice("Use local Azure Storage Emulator?", "", $choices, 0)
$useEmulator = $useEmulator -eq 0
$uniqueString = Get-Date -UFormat "PsTest%Y%m%dT%H%M%S"
... |
PowerShellCorpus/Github/WellsFargoFullStackTDD-Charlotte_Day1/Code/01 - .NET Testing/Complete/AdventureWorks/packages/NUnitTestAdapter.WithFramework.2.0.0/tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
$asms = $package.AssemblyReferences | %{$_.Name}
foreach ($reference in $project.Object.References)
{
if ($asms -contains $reference.Name + ".dll")
{
if ($reference.Name -ne "nunit.framework")
{
$reference.CopyLocal = $false... |
PowerShellCorpus/Github/WellsFargoFullStackTDD-Charlotte_Day1/Code/01 - .NET Testing/Complete/AdventureWorks/packages/EntityFramework.6.1.1/tools/init.ps1 | init.ps1 | param($installPath, $toolsPath, $package, $project)
if (Get-Module | ?{ $_.Name -eq 'EntityFramework' })
{
Remove-Module EntityFramework
}
Import-Module (Join-Path $toolsPath EntityFramework.psd1)
# SIG # Begin signature block
# MIIa4AYJKoZIhvcNAQcCoIIa0TCCGs0CAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQ... |
PowerShellCorpus/Github/WellsFargoFullStackTDD-Charlotte_Day1/Code/01 - .NET Testing/Complete/AdventureWorks/packages/EntityFramework.6.1.1/tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
Initialize-EFConfiguration $project
Add-EFProvider $project 'System.Data.SqlClient' 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer'
Write-Host
Write-Host "Type 'get-help EntityFramework' to see all available Entity Framework comma... |
PowerShellCorpus/Github/WellsFargoFullStackTDD-Charlotte_Day1/Code/01 - .NET Testing/Complete/AdventureWorks/packages/Newtonsoft.Json.6.0.3/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 = "http://james.newtonking.com/json"
$dte2 = Get-Interface $dte ([EnvDTE80.DTE2])
if ($dte2.ActiveWindow.Caption -eq "Package Manager Con... |
PowerShellCorpus/Github/WellsFargoFullStackTDD-Charlotte_Day1/Code/01 - .NET Testing/Start/AdventureWorks/packages/EntityFramework.6.1.1/tools/init.ps1 | init.ps1 | param($installPath, $toolsPath, $package, $project)
if (Get-Module | ?{ $_.Name -eq 'EntityFramework' })
{
Remove-Module EntityFramework
}
Import-Module (Join-Path $toolsPath EntityFramework.psd1)
# SIG # Begin signature block
# MIIa4AYJKoZIhvcNAQcCoIIa0TCCGs0CAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQ... |
PowerShellCorpus/Github/WellsFargoFullStackTDD-Charlotte_Day1/Code/01 - .NET Testing/Start/AdventureWorks/packages/EntityFramework.6.1.1/tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
Initialize-EFConfiguration $project
Add-EFProvider $project 'System.Data.SqlClient' 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer'
Write-Host
Write-Host "Type 'get-help EntityFramework' to see all available Entity Framework comma... |
PowerShellCorpus/Github/WellsFargoFullStackTDD-Charlotte_Day1/Code/01 - .NET Testing/Start/AdventureWorks/packages/Newtonsoft.Json.6.0.3/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 = "http://james.newtonking.com/json"
$dte2 = Get-Interface $dte ([EnvDTE80.DTE2])
if ($dte2.ActiveWindow.Caption -eq "Package Manager Con... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.