full_path stringlengths 31 232 | filename stringlengths 4 167 | content stringlengths 0 48.3M |
|---|---|---|
PowerShellCorpus/Github/leanhvua7_BTGK.Vu/leanhvu/leanhvu/packages/System.Data.SQLite.EF6.1.0.98.1/tools/net45/install.ps1 | install.ps1 | ###############################################################################
#
# provider.ps1 --
#
# Written by Joe Mistachkin.
# Released to the public domain, use at your own risk!
#
###############################################################################
param($installPath, $toolsPath, $package, ... |
PowerShellCorpus/Github/leanhvua7_BTGK.Vu/leanhvu/leanhvu/packages/System.Data.SQLite.EF6.1.0.98.1/tools/net451/install.ps1 | install.ps1 | ###############################################################################
#
# provider.ps1 --
#
# Written by Joe Mistachkin.
# Released to the public domain, use at your own risk!
#
###############################################################################
param($installPath, $toolsPath, $package, ... |
PowerShellCorpus/Github/leanhvua7_BTGK.Vu/leanhvu/leanhvu/packages/System.Data.SQLite.EF6.1.0.98.1/tools/net46/install.ps1 | install.ps1 | ###############################################################################
#
# provider.ps1 --
#
# Written by Joe Mistachkin.
# Released to the public domain, use at your own risk!
#
###############################################################################
param($installPath, $toolsPath, $package, ... |
PowerShellCorpus/Github/leanhvua7_BTGK.Vu/leanhvu/leanhvu/packages/System.Data.SQLite.EF6.1.0.98.1/tools/net40/install.ps1 | install.ps1 | ###############################################################################
#
# provider.ps1 --
#
# Written by Joe Mistachkin.
# Released to the public domain, use at your own risk!
#
###############################################################################
param($installPath, $toolsPath, $package, ... |
PowerShellCorpus/Github/dave-hernandez_EasyOnboard-O365/EasyOnboard-O365.ps1 | EasyOnboard-O365.ps1 | # EasyOnboard-O365
# by David Hernandez
# Tested on Powershell v3 and Server 2008R2
# This script can be used to quickly create users and assign them to the appropriate
# group, but it was designed with Office 365 in mind. This script forces the onboarder
# to enter all the information required for DirSync to ... |
PowerShellCorpus/Github/OPSTest_E2E_NewRepo_1488769651336/.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/Kimbahir_Learning/WebApi2Book/lib/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/Kimbahir_Learning/WebApi2Book/lib/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/Kimbahir_Learning/WebApi2Book/lib/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 = "http://james.newtonking.com/json"
$dte2 = Get-Interface $dte ([EnvDTE80.DTE2])
if ($dte2.ActiveWindow.Caption -eq "Package Manager Con... |
PowerShellCorpus/Github/PsiAssault_cacertexpiration/Notify-ExpiringWebCerts.ps1 | Notify-ExpiringWebCerts.ps1 | [int]$TimeZoneOffset = -5 # EST is -5
[int]$DaysToWarn = 60
[string]$CA = ""
[string]$SMTPserver = ""
[string]$EmailTo = ""
[string]$EmailFrom = ""
[string]$EmailSubject = ""
Import-Module pspki
$issuedcerts = Get-CertificationAuthority $CA | Get-IssuedRequest -property *
$prettycer... |
PowerShellCorpus/Github/danieltwc_danieltwc/setup_and_install/new_bot_cleanup.ps1 | new_bot_cleanup.ps1 | # Retrieving User Information
$GITHUBUSER = Read-Host -Prompt "What is your GitHub Username?"
Write-Output ""
Write-Output "** If you have 2 Factor Auth configured, "
Write-Output " provide a Personal Access Token with repo and delete_repo access."
Write-Output " Tokens can be generated at https://github.com/s... |
PowerShellCorpus/Github/danieltwc_danieltwc/setup_and_install/bot_install_sandbox.ps1 | bot_install_sandbox.ps1 | # Ignore SSL Certificate Errors
add-type @"
using System.Net;
using System.Security.Cryptography.X509Certificates;
public class TrustAllCertsPolicy : ICertificatePolicy {
public bool CheckValidationResult(
ServicePoint srvPoint, X509Certificate certificate,
WebRequest ... |
PowerShellCorpus/Github/danieltwc_danieltwc/setup_and_install/new_bot_setup.ps1 | new_bot_setup.ps1 | # Retrieving User Information
$GITHUBUSER = Read-Host -Prompt "What is your GitHub Username?"
Write-Output ""
Write-Output "** If you have 2 Factor Auth configured, "
Write-Output " provide a Personal Access Token with repo and delete_repo access."
Write-Output " Tokens can be generated at https://github.com/s... |
PowerShellCorpus/Github/danieltwc_danieltwc/setup_and_install/bot_config.ps1 | bot_config.ps1 | # Ignore SSL Certificate Errors
add-type @"
using System.Net;
using System.Security.Cryptography.X509Certificates;
public class TrustAllCertsPolicy : ICertificatePolicy {
public bool CheckValidationResult(
ServicePoint srvPoint, X509Certificate certificate,
WebRequest ... |
PowerShellCorpus/Github/danieltwc_danieltwc/setup_and_install/bot_uninstall_sandbox.ps1 | bot_uninstall_sandbox.ps1 | # Ignore SSL Certificate Errors
add-type @"
using System.Net;
using System.Security.Cryptography.X509Certificates;
public class TrustAllCertsPolicy : ICertificatePolicy {
public bool CheckValidationResult(
ServicePoint srvPoint, X509Certificate certificate,
WebRequest ... |
PowerShellCorpus/Github/luisdeol_maratona-xamarin-NotasRapidas/NotasRapidasApi/Properties/PublishProfiles/NotasRapidasApi-publish.ps1 | NotasRapidasApi-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'] = '609e5562-8995-459... |
PowerShellCorpus/Github/OPS-E2E-PPE_E2E_NewRepo_2017_4_21_12_5_18/.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/harikushwaha_EasyPayment4u/EasyPayment4u/EasyPayment4u.WebApi/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/harikushwaha_EasyPayment4u/EasyPayment4u/EasyPayment4u.WebApi/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/harikushwaha_EasyPayment4u/EasyPayment4u/EasyPayment4u.WebApi/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/harikushwaha_EasyPayment4u/EasyPayment4u/EasyPayment4u.WebApi/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/harikushwaha_EasyPayment4u/EasyPayment4u/EasyPayment4u.WebApi/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/harikushwaha_EasyPayment4u/EasyPayment4u/EasyPayment4u.WebApi/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/harikushwaha_EasyPayment4u/EasyPayment4u/EasyPayment4u.WebApi/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/harikushwaha_EasyPayment4u/EasyPayment4u/EasyPayment4u.WebApi/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/harikushwaha_EasyPayment4u/EasyPayment4u/EasyPayment4u.WebApi/packages/EntityFramework.6.1.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/harikushwaha_EasyPayment4u/EasyPayment4u/EasyPayment4u.WebApi/packages/EntityFramework.6.1.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/harikushwaha_EasyPayment4u/EasyPayment4u/EasyPayment4u.WebApi/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/harikushwaha_EasyPayment4u/EasyPayment4u/EasyPayment4u.WebApi/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/harikushwaha_EasyPayment4u/EasyPayment4u/EasyPayment4u.WebApi/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 = "http://james.newtonking.com/json"
$dte2 = Get-Interface $dte ([EnvDTE80.DTE2])
if ($dte2.ActiveWindow.Caption -eq "Package Manager Con... |
PowerShellCorpus/Github/harikushwaha_EasyPayment4u/EasyPayment4u/EasyPayment4u.Windows/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/harikushwaha_EasyPayment4u/EasyPayment4u/EasyPayment4u.Windows/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/harikushwaha_EasyPayment4u/EasyPayment4u/EasyPayment4u.Windows/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/harikushwaha_EasyPayment4u/EasyPayment4u/EasyPayment4u.Windows/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/spjeff_splaunch/SPLaunch.ps1 | SPLaunch.ps1 | <#
.SYNOPSIS
Wrapper to automate PowerShell remoting.
.DESCRIPTION
Two CSV files hold target server names and shortcut cmdlets so you can easily
mix and match to run without typing much. Emphasis on SharePoint farms,
but can work on any Windows O/S target machines.
NOTE - MUST MANUALLY UPDATE "Noun" CS... |
PowerShellCorpus/Github/oliviak_technicalsummit-data/predictivemaintenance/Data Factory/DeployADF.ps1 | DeployADF.ps1 | #Note: set the variables according to your Azure environment
$subscriptionName = ""
$resourceGrp = ""
$dfName = ""
Login-AzureRmAccount
Get-AzureRmSubscription -SubscriptionName $subscriptionName | Set-AzureRmContext
New-AzureRmDataFactory -ResourceGroupName $resourceGrp -Name $dfName -Location "North Europe"... |
PowerShellCorpus/Github/krishnanandsivaraj_QnABotAzure/data/Functions/packages/nuget/newtonsoft.json/8.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://www.newtonsoft.com/json/install?version=" + $package.Version
$dte2 = Get-Interface $dte ([EnvDTE80.DTE2])
if ($dte2.ActiveWindo... |
PowerShellCorpus/Github/TheLunaticScripter_ls_chef_auto_azuredeploy/ls_chefsrv_deploy.ps1 | ls_chefsrv_deploy.ps1 | # -------------
# Script to deploy Chef Automate and dependent services to Microsoft Azure
#
#
# Written by: John Snow, The Lunatic Scripter
#
#
# Licensed under the Apache 2.0 Creative commons License
#
#
# -------------
function New-RandomString {
$String = $null
$r = New-Object System.Random
... |
PowerShellCorpus/Github/jessecbrown_reset-ADpassword/resetadpassword.ps1 | resetadpassword.ps1 | #http://blog.simonw.se/reset-password-in-active-directory-using-powershell/
<#
.Synopsis
This powershell module will reset a AD User account password to Password1 and force the user to change the password the next time they login.
.DESCRIPTION
Long description
.EXAMPLE
reset-ADpassword jcb388-test
... |
PowerShellCorpus/Github/nenads_windows_slack_public_ip/public_ip.ps1 | public_ip.ps1 | Import-Module D:\tools\utils\PSSlack\PSSlack
$wc = new-object System.Net.WebClient
$ip=$wc.DownloadString("http://myexternalip.com/raw")
$oip = Import-Clixml D:\tools\utils\ip.xml
if($ip -ne $oip) {
$ip | Export-Clixml D:\tools\utils\ip.xml
$Uri = "https://hooks.slack.com/services/KEY"
Send-Slack... |
PowerShellCorpus/Github/gerardua87_dualcomp_web/DotNet/DualComp/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-$projectNa... |
PowerShellCorpus/Github/gerardua87_dualcomp_web/DotNet/DualComp/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/gerardua87_dualcomp_web/DotNet/DualComp/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/gerardua87_dualcomp_web/DotNet/DualComp/packages/jQuery.1.7.1.1/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/gerardua87_dualcomp_web/DotNet/DualComp/packages/jQuery.1.7.1.1/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
$supportsJsIntelliSenseFile = [System.Version]::Parse($dte.Version).Major -ge 11
if (-not $supportsJsIntelliSenseFile) {
Write-Host "IntelliSense JS files are n... |
PowerShellCorpus/Github/gerardua87_dualcomp_web/DotNet/DualComp/packages/jQuery.1.7.1.1/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/gerardua87_dualcomp_web/DotNet/DualComp.Web/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/gerardua87_dualcomp_web/DotNet/DualComp.Web/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/gerardua87_dualcomp_web/DotNet/DualComp.Web/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/gerardua87_dualcomp_web/DotNet/DualComp.Web/packages/jQuery.1.7.1.1/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/gerardua87_dualcomp_web/DotNet/DualComp.Web/packages/jQuery.1.7.1.1/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
$supportsJsIntelliSenseFile = [System.Version]::Parse($dte.Version).Major -ge 11
if (-not $supportsJsIntelliSenseFile) {
Write-Host "IntelliSense JS files are n... |
PowerShellCorpus/Github/gerardua87_dualcomp_web/DotNet/DualComp.Web/packages/jQuery.1.7.1.1/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/tugberkugurlu_WindowsAzureScripts/CreateAManagementCert.ps1 | CreateAManagementCert.ps1 | #more info: http://msdn.microsoft.com/en-us/library/windowsazure/gg432987
makecert -r -pe -n "CN=AzureMgmt2" -a sha1 -len 2048 -ss My "AzureMgmt2.cer" |
PowerShellCorpus/Github/tugberkugurlu_WindowsAzureScripts/VMs/New-AzureVM_Simple.ps1 | New-AzureVM_Simple.ps1 | #http://michaelwasham.com/2012/06/08/automating-windows-azure-virtual-machines-with-powershell/
##Uncoment all the below code and change the variables
$subscriptionId = ''
$currentStorageAccounName = ''
$affinityGroupName = ''
$cloudSvcName = ''
$vmName = ''
$imageName = 'MSFT__Windows-Server-2012-Datacenter-2... |
PowerShellCorpus/Github/tugberkugurlu_WindowsAzureScripts/VMs/New-AzureVM_WithExistingOSDiskAndEndpoints.ps1 | New-AzureVM_WithExistingOSDiskAndEndpoints.ps1 | ####################################################
## http://michaelwasham.com/2012/06/08/automating-windows-azure-virtual-machines-with-powershell/
####################################################
param(
[Parameter(Mandatory = $true)][String]$subscriptionId,
[Parameter(Mandatory = $true)][String]$... |
PowerShellCorpus/Github/tugberkugurlu_WindowsAzureScripts/VMs/Add-AzureEndpoint_FTP.ps1 | Add-AzureEndpoint_FTP.ps1 | # http://www.itq.nl/blogs/post/Walkthrough-Hosting-FTP-on-IIS-75-in-Windows-Azure-VM.aspx
$subscriptionId = ''
function pad($val) {
if($val -ge 10) {
return "$val";
}
return ("{0}$val" -f 0)
}
Get-AzureSubscription | where { $_.SubscriptionId -eq $subscriptionId } | Select-AzureS... |
PowerShellCorpus/Github/tugberkugurlu_WindowsAzureScripts/VMs/WebServer/Init-WebServerVM.ps1 | Init-WebServerVM.ps1 | ##################################################
# Resosurces:
## ServerManager Module: http://technet.microsoft.com/en-us/library/cc732263.aspx
## NetSecurity Module: http://technet.microsoft.com/en-us/library/hh831755.aspx
## Others:
## http://www.iis.net/learn/manage/remote-administration/remote-administratio... |
PowerShellCorpus/Github/tugberkugurlu_WindowsAzureScripts/VMs/WebServer/Init-WebServerAzureVM.ps1 | Init-WebServerAzureVM.ps1 | ##################################################
#
##################################################
param(
[Parameter(Mandatory = $true)][String]$subscriptionId,
[Parameter(Mandatory = $true)][String]$storageAccountName,
[Parameter(Mandatory = $true)][String]$affinityGroupName,
[Parameter(M... |
PowerShellCorpus/Github/tugberkugurlu_WindowsAzureScripts/VMs/Server/WebAdministrationModuleSamples.ps1 | WebAdministrationModuleSamples.ps1 | Import-Module WebAdministration
# Stop All App Pools
dir IIS:\AppPools | foreach { $_.Stop() }
# Start All App Pools
dir IIS:\AppPools | foreach { $_.Start() }
# Get All IIS Web Sites
dir IIS:\Sites # or Get-Website
# Remove a Site
Remove-Website -Name WebApp1
# Create new Application Pool
New-WebAp... |
PowerShellCorpus/Github/tugberkugurlu_WindowsAzureScripts/VMs/Server/ComplateTheAttachDiskOperation.ps1 | ComplateTheAttachDiskOperation.ps1 | #http://www.thomasmaurer.ch/2012/04/replace-diskpart-with-windows-powershell-basic-storage-cmdlets/
#http://blogs.msdn.com/b/san/archive/2012/07/03/managing-storage-with-windows-powershell-on-windows-server-2012.aspx
#https://www.windowsazure.com/en-us/manage/windows/how-to-guides/attach-a-disk/
#This will list al... |
PowerShellCorpus/Github/tugberkugurlu_WindowsAzureScripts/Automation/Backup-BlobStorage.ps1 | Backup-BlobStorage.ps1 | workflow Backup-BlobStorage {
param (
[parameter(Mandatory=$true)]
[String]
$AzureConnectionName,
[parameter(Mandatory=$true)]
[String]
$StorageAccountNameToTakeBackupFrom,
[parameter(Mandatory=$true)]
[String]
$StorageAccount... |
PowerShellCorpus/Github/tugberkugurlu_WindowsAzureScripts/Automation/Connect-Azure.ps1 | Connect-Azure.ps1 | <#
.SYNOPSIS
Sets up the connection to an Azure subscription
.DESCRIPTION
This runbook sets up a connection to an Azure subscription.
.PARAMETER AzureConnectionName
Name of the Azure connection setting that was created in the Automation service.
This connection setting contains the subscript... |
PowerShellCorpus/Github/tugberkugurlu_WindowsAzureScripts/Automation/Write-HelloWorld.ps1 | Write-HelloWorld.ps1 | <#
.SYNOPSIS
Provides a simple example of a Azure Automation runbook.
.DESCRIPTION
This runbook provides the "Hello World" example for Azure Automation. If you are
brand new to Automation in Azure, you can use this runbook to explore testing
and publishing capabilities.
The runbook... |
PowerShellCorpus/Github/tugberkugurlu_WindowsAzureScripts/Automation/Copy-ItemToAzureVM.ps1 | Copy-ItemToAzureVM.ps1 | <#
.SYNOPSIS
Copies a file to an Azure VM.
.DESCRIPTION
This runbook copies a local file from a runbook host to an Azure virtual machine.
Connect-AzureVM must be imported and published in order for this runbook to work. The Connect-AzureVM
runbook sets up the connection to the virtual machine wher... |
PowerShellCorpus/Github/tugberkugurlu_WindowsAzureScripts/Storage/1_StorageIntro.ps1 | 1_StorageIntro.ps1 | New-AzureStorageContainer -Name 'jhgfrefe' -Permission Off
Set-AzureStorageBlobContent -Container 'jhgfrefe' -File 'E:\WAPS\image.gif' -Blob 'myimage.gif'
Set-AzureStorageContainerAcl -Name 'jhgfrefe' -Permission Blob |
PowerShellCorpus/Github/tugberkugurlu_WindowsAzureScripts/Storage/CopyAccrossDC.ps1 | CopyAccrossDC.ps1 | # Target Storage Account (East US)
$tStorageAccount = "account-name"
$tStorageKey = "account-key"
$fStorageAccount = 'account-key-2'
$fStorageKey = 'account-name-2'
$destContext = New-AzureStorageContext –StorageAccountName $tStorageAccount `
-StorageAccountKey $tStor... |
PowerShellCorpus/Github/tugberkugurlu_WindowsAzureScripts/Storage/Upload-Blobs.ps1 | Upload-Blobs.ps1 | ########################################################################################
## Samples:
## ls -File -Recurse | Set-AzureStorageBlobContent -Container upload
## $meta = @{"key" = "value"; "name" = "test"}
## Set-AzureStorageBlobContent -File filename -Container containername ... |
PowerShellCorpus/Github/simbajr_MemoryAPI/MemoryAPI/packages/AWSSDK.S3.3.1.3.11/tools/uninstall.ps1 | uninstall.ps1 | param($installPath, $toolsPath, $package, $project)
$analyzersPaths = Join-Path (Join-Path (Split-Path -Path $toolsPath -Parent) "analyzers" ) * -Resolve
foreach($analyzersPath in $analyzersPaths)
{
# Uninstall the language agnostic analyzers.
if (Test-Path $analyzersPath)
{
foreach ($ana... |
PowerShellCorpus/Github/simbajr_MemoryAPI/MemoryAPI/packages/AWSSDK.S3.3.1.3.11/tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
$analyzersPaths = Join-Path (Join-Path (Split-Path -Path $toolsPath -Parent) "analyzers" ) * -Resolve
foreach($analyzersPath in $analyzersPaths)
{
# Install the language agnostic analyzers.
if (Test-Path $analyzersPath)
{
foreach ($analy... |
PowerShellCorpus/Github/simbajr_MemoryAPI/MemoryAPI/packages/AWSSDK.Core.3.1.4.4/tools/account-management.ps1 | account-management.ps1 |
function RegisterProfile()
{
$dllpath = "..\lib\net35\AWSSDK.Core.dll"
$sdkassembly = [System.Reflection.Assembly]::LoadFrom($dllpath)
$completed = $FALSE
do
{
Write-Host "1) Add/Update new profile credentials"
Write-Host "2) List registered profiles"
Write-Host "3) Remove profile credenti... |
PowerShellCorpus/Github/simbajr_MemoryAPI/MemoryAPI/packages/Newtonsoft.Json.8.0.2/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://www.newtonsoft.com/json/install?version=" + $package.Version
$dte2 = Get-Interface $dte ([EnvDTE80.DTE2])
if ($dte2.ActiveWindo... |
PowerShellCorpus/Github/simbajr_MemoryAPI/MemoryAPI/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/simbajr_MemoryAPI/MemoryAPI/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/KostasBan_CoodingSchoolTemp/WebApplication2/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/KostasBan_CoodingSchoolTemp/WebApplication2/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/KostasBan_CoodingSchoolTemp/WebApplication2/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/KostasBan_CoodingSchoolTemp/WebApplication2/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/KostasBan_CoodingSchoolTemp/WebApplication2/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/KostasBan_CoodingSchoolTemp/WebApplication2/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/KostasBan_CoodingSchoolTemp/WebApplication2/packages/Microsoft.ApplicationInsights.WindowsServer.2.1.0/Tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
if ([System.IO.File]::Exists($project.FullName))
{
function MarkItemASCopyToOutput($item)
{
Try
{
#mark it to copy if newer
$item.Properties.Item("CopyToOutputDirectory").Value = 2
}
Catch
{
write-host $_.Exception.ToString()
}... |
PowerShellCorpus/Github/KostasBan_CoodingSchoolTemp/WebApplication2/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/KostasBan_CoodingSchoolTemp/WebApplication2/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/KostasBan_CoodingSchoolTemp/WebApplication2/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/KostasBan_CoodingSchoolTemp/WebApplication2/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/KostasBan_CoodingSchoolTemp/WebApplication2/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 = "http://james.newtonking.com/json"
$dte2 = Get-Interface $dte ([EnvDTE80.DTE2])
if ($dte2.ActiveWindow.Caption -eq "Package Manager Con... |
PowerShellCorpus/Github/Stephanevg_Posh-StarWars/Classy Posh-StarWars.ps1 | Classy Posh-StarWars.ps1 | #version: 0.4
#Author: Stéphane van Gulick
#twitter: @stephanevg
#WebSite: http://powershelldistrict.com/posh-starwars/
enum SWobjectType {
people
planet
specie
starship
vehicle
film
}
enum SWEncoding {
JSON
Wookie
}
$PSDefaultParameterValues.Add('*:verbose',$True)... |
PowerShellCorpus/Github/hardwaterhacker_scandiff/scandiff-0.9.ps1 | scandiff-0.9.ps1 | <#
.SYNOPSIS
This script uses nmap to identify live targets, scan them, and email the results.
.DESCRIPTION
This script runs nmap against a provided set of targets, diffs against any
previous results, and emails the results to an email address specified in the
script.
.PARAMETER frequency
Frequency is ei... |
PowerShellCorpus/Github/whorn76_wotmud/StatReporter/sendStats.ps1 | sendStats.ps1 | Param([string]$url)
$r = [System.Net.WebRequest]::Create($url)
$resp = $r.GetResponse()
$reqstream = $resp.GetResponseStream()
$sr = new-object System.IO.StreamReader $reqstream
$result = $sr.ReadToEnd()
write-host $url |
PowerShellCorpus/Github/vmwaredevcenter-test_Windows---Enable-Embedded-Shell-Launcher/snippet.ps1 | snippet.ps1 | # PowerShell.exe -ExecutionPolicy Bypass -File "C:\Temp\AirWatch\Embedded Shell Launcher.ps1"
# Enable EmbeddedShellLauncher
#enable-windowsoptionalfeature -online -featureName Client-EmbeddedShellLauncher
$COMPUTER = "localhost"
$NAMESPACE = "root\standardcimv2\embedded"
# Create a handle to the class insta... |
PowerShellCorpus/Github/jareksobel_hello-world/test.ps1 | test.ps1 | Set-BrokerMachine -MachineName "VDIname1" -HostedMachineId "ID1"
Set-BrokerMachine -MachineName "VDIname1" -HypervisorConnectionUid 3
# test
|
PowerShellCorpus/Github/has220_Packet-Parser/App2/AppPackages/App2_1.0.17.0_Debug_Test/Add-AppDevPackage.ps1 | Add-AppDevPackage.ps1 | #
# Add-AppxDevPackage.ps1 is a PowerShell script designed to install app
# packages created by Visual Studio for developers. To run this script from
# Explorer, right-click on its icon and choose "Run with PowerShell".
#
# Visual Studio supplies this script in the folder generated with its
# "Prepare Package" c... |
PowerShellCorpus/Github/Georgekir_EMR/EMR.Pathology/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/Georgekir_EMR/EMR.Pathology/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/Georgekir_EMR/EMR.Pathology/packages/System.Data.SQLite.EF6.1.0.103/tools/net45/install.ps1 | install.ps1 | ###############################################################################
#
# provider.ps1 --
#
# Written by Joe Mistachkin.
# Released to the public domain, use at your own risk!
#
###############################################################################
param($installPath, $toolsPath, $package, ... |
PowerShellCorpus/Github/Georgekir_EMR/EMR.Pathology/packages/System.Data.SQLite.EF6.1.0.103/tools/net451/install.ps1 | install.ps1 | ###############################################################################
#
# provider.ps1 --
#
# Written by Joe Mistachkin.
# Released to the public domain, use at your own risk!
#
###############################################################################
param($installPath, $toolsPath, $package, ... |
PowerShellCorpus/Github/Georgekir_EMR/EMR.Pathology/packages/System.Data.SQLite.EF6.1.0.103/tools/net46/install.ps1 | install.ps1 | ###############################################################################
#
# provider.ps1 --
#
# Written by Joe Mistachkin.
# Released to the public domain, use at your own risk!
#
###############################################################################
param($installPath, $toolsPath, $package, ... |
PowerShellCorpus/Github/Georgekir_EMR/EMR.Pathology/packages/System.Data.SQLite.EF6.1.0.103/tools/net40/install.ps1 | install.ps1 | ###############################################################################
#
# provider.ps1 --
#
# Written by Joe Mistachkin.
# Released to the public domain, use at your own risk!
#
###############################################################################
param($installPath, $toolsPath, $package, ... |
PowerShellCorpus/Github/rsmith7712_OU_DialIn_SettingModification/OU_DialIn_SettingModification.ps1 | OU_DialIn_SettingModification.ps1 | <#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.127
Created on: 6/13/2016 9:40 AM
Created by: Richard Smith
Organization:
Filename: OU_DialIn_SettingModification.ps1
===========... |
PowerShellCorpus/Github/bipulraman_PowerShell-Automation-for-SharePoint-Online/Delete Site Collections/Delete Site Collection.ps1 | Delete Site Collection.ps1 | #Permanently Delete a SharePoint Site Collection.
# By: Bipul Raman
Clear-Host
# Replace the url "https://bipulraman-admin.sharepoint.com" and use your SharePoint administrative site.
Import-Module Microsoft.Online.Sharepoint.PowerShell
$credential = Get-credential
Connect-SPOService -url https://bipulraman-adm... |
PowerShellCorpus/Github/bipulraman_PowerShell-Automation-for-SharePoint-Online/Create Site Collections/Create Site Collections.ps1 | Create Site Collections.ps1 | #Create multiple SPO Sites from CSV file.
# By: Bipul Raman
Clear-Host
# Replace the url "https://bipulraman-admin.sharepoint.com" and use your SharePoint administrative site.
Import-Module Microsoft.Online.Sharepoint.PowerShell
$credential = Get-credential
Connect-SPOService -url https://bipulraman-admin.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.