full_path stringlengths 31 232 | filename stringlengths 4 167 | content stringlengths 0 48.3M |
|---|---|---|
PowerShellCorpus/Github/MatthewMcD_SPUpgrade/FarmAudit/4. InfoPath/Find-IPXSNFiles.ps1 | Find-IPXSNFiles.ps1 | if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null)
{
Add-PSSnapin "Microsoft.SharePoint.PowerShell"
}
[PSObject[]]$global:resultsArray = @()
$outputPath = "c:\users\ruby\desktop\logs\InfoPathDiscovery\output"
$tempPath = "c:\users\ruby\desktop\logs\InfoPathDisco... |
PowerShellCorpus/Github/MatthewMcD_SPUpgrade/FarmAudit/4. InfoPath/Find-IPListForms.ps1 | Find-IPListForms.ps1 | if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null)
{
Add-PSSnapin "Microsoft.SharePoint.PowerShell"
}
[PSObject[]]$global:resultsarray = @()
#Output File Prefix
$outfile = "ipfscustom"
$enumActions = $true
#output file name
$fileName = ".\logs\$outfile-" + $(Get... |
PowerShellCorpus/Github/MatthewMcD_SPUpgrade/FarmAudit/4. InfoPath/Find-IPFormLibraries.ps1 | Find-IPFormLibraries.ps1 | Add-PSSnapin Microsoft.SharePoint.PowerShell
#Get the web application
#Write-Host "Enter the Web Application URL:"
$WebAppURL= "http://intranet.doghousetoys.com"
$SiteColletion = Get-SPSite($WebAppURL)
$WebApp = $SiteColletion.WebApplication
Clear-Host
$outfile = ".\logs\InfoPath-Libraries.csv"
#Write th... |
PowerShellCorpus/Github/MatthewMcD_SPUpgrade/FarmAudit/3. Site Issues/Audit-Versions.ps1 | Audit-Versions.ps1 | #Adapted from : https://gallery.technet.microsoft.com/office/SharePoint-Document-e9701c96
#Add the SharePoint PowerShell Snap-In
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
$url = "http://intranet.doghousetoys.com"
#Get the Web Application
$webapplication = Get-SPWebApplication... |
PowerShellCorpus/Github/aseand_MIM-Powershell-Agent/LDAP-DIRX.ps1 | LDAP-DIRX.ps1 | # FIM agent DIRX LDAP
Add-Type -Path 'C:\Program Files\Microsoft Forefront Identity Manager\2010\Synchronization Service\UIShell\Microsoft.MetadirectoryServicesEx.dll'
. "c:\script\LDAP-Client.ps1"
#Log, name, config
$global:logger = $null
$global:MAName = $null
$global:Config = $null
#LDAP
$global:L... |
PowerShellCorpus/Github/aseand_MIM-Powershell-Agent/empty-agent.ps1 | empty-agent.ps1 |
#Add-Type -Path 'C:\Program Files\Microsoft Forefront Identity Manager\2010\Synchronization Service\UIShell\Microsoft.MetadirectoryServicesEx.dll'
<#
FIM/MIM Adv.Powershell agent script 2015 Anders Åsén Landstinget Dalarna
This script is loaded and invoke from FIM/MIM MIM Adv.Powershell agent
Initialize fu... |
PowerShellCorpus/Github/aseand_MIM-Powershell-Agent/LDAP-Client.ps1 | LDAP-Client.ps1 |
Add-Type -Assembly System.DirectoryServices.Protocols
Function CreateLDAPConnection{
Param
(
$Server,
$Port,
$NetworkCredential=[System.Net.CredentialCache]::DefaultCredentials,
$AuthType=[System.DirectoryServices.Protocols.AuthType]::Negotiate,
[switch]$SSL
)
try
{
#$global:logge... |
PowerShellCorpus/Github/joshatwell_PowerShell/Functions/Check-MinDotNetVersion.ps1 | Check-MinDotNetVersion.ps1 | function Check-MinDotNetVersion {
<#
.SYNOPSIS
Checks for Minimum .NET Framework Version from the registery.
.DESCRIPTION
Function allows user to supply a .NET framework version number and then checks
the local registry path HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
f... |
PowerShellCorpus/Github/joshatwell_PowerShell/Functions/Replace-TrailingZeroesWithK.ps1 | Replace-TrailingZeroesWithK.ps1 | function Replace-TrailingZeroesWithK{
<#
.Synopsis
Replaces the final three zeroes in a number with K and returns a string.
.Description
Replaces the final three zeroes in a number with K and returns a string.
Converts 35000 to 35K
Function merely converts any other... |
PowerShellCorpus/Github/joshatwell_PowerShell/Functions/Combine-CSV.ps1 | Combine-CSV.ps1 | function Combine-CSV{
<#
.Synopsis
Combines similar CSV files into a single CSV File
.Description
Function will combine common .CSV files into one large file. CSV files should have same header.
This script is intended to aid when doing large reports across a large environment.
.Parameter S... |
PowerShellCorpus/Github/joshatwell_PowerShell/Functions/Get-TimeDrift.ps1 | Get-TimeDrift.ps1 | function Get-TimeDrift{
<#
.Synopsis
Generates List of Hosts whose time is drifted beyond a specified tolerance.
Requires an acceptable drift (Seconds)
.Example
Get-VMHost | Get-TimeDrift | Export-CSV "C:\Temp\TimeDrift.csv" -NoTypeInformation
.Example
Get-VMHost | Get-TimeDrift -Allowe... |
PowerShellCorpus/Github/joshatwell_PowerShell/Scripts/Check-MinDotNetVersion.ps1 | Check-MinDotNetVersion.ps1 | function Check-MinDotNetVersion {
<#
.SYNOPSIS
Checks for Minimum .NET Framework Version from the registery.
.DESCRIPTION
Function allows user to supply a .NET framework version number and then checks
the local registry path HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
f... |
PowerShellCorpus/Github/joshatwell_PowerShell/Snippets/ISESnippet_New-PSObject.ps1 | ISESnippet_New-PSObject.ps1 | [scriptblock]$code =
{
$object = New-Object -TypeName PSObject -Property @{
Name = $Server
ServerUri = "http://$server/"
Authorization = $authorization
}
}
New-IseSnippet `
-Text $code.ToString() `
-CaretOffset $code.ToString().Length `
-Force `
-Title ‘NewObject’ `
... |
PowerShellCorpus/Github/OPS-E2E-PPE_E2E_D_NewRepo_2017_4_26_17_58_50/.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/victorwoo_Auth-Firewall/Auth-Firewall.ps1 | Auth-Firewall.ps1 | [CmdletBinding(DefaultParameterSetName = 'URI',
SupportsShouldProcess = $true,
ConfirmImpact = 'Medium')]
Param(
[string]
$BaseUrl = 'http://172.20.6.254/',
[string]
$UserName = 'wub',
[string]
$Password = 'YOUR-PASSWORD-HERE'
)
function ConvertFrom-UnixTime ... |
PowerShellCorpus/Github/JanVanMeirvenne_NativePackageFramework/framework.ps1 | framework.ps1 | <#
.SYNOPSIS
This script is an engine to deploy and manage native applications on a machine. It does this by utilizing an input 'application info' file which provides the steps needed to perform an installation, uninstall or detection of the application.
.DESCRIPTION
The script can be started as followed:... |
PowerShellCorpus/Github/nosage_freezing-octo-avenger/Mailbox_Sizes.ps1 | Mailbox_Sizes.ps1 | # Fill these in:
$mailboxserver = "exch1"
$smtpserver = "exch1"
$From = "Exch1@domain.local"
$To = "it@domain.local"
$date = Get-Date -Format M-d-yy
Add-PSSnapin *exchange* -erroraction SilentlyContinue
$userlist = Get-Mailbox -server $mailboxserver -resultSize unlimited
$masterlist = @()
ForEach($user in ... |
PowerShellCorpus/Github/OPSTest_E2E_NewRepo_1488686740358/.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/dfoley84_database/Services.ps1 | Services.ps1 | ------------------------------------------------------------------------------------------------------------#>
$smtpServer = #Mail Server
$smtpFrom = >" #Mail From
$smtpTo = #Mail-To
$IPSWITCH_Web = "Ipswitch WS_FTP Web Server" #WebTransfer Module
$IPSWITCH_FTP = "Ipswitch WS_FTP Server" #SFTP Module
$pingfail = ... |
PowerShellCorpus/Github/Vivelin_Kusogechan/src/Kusogechan/Properties/PublishProfiles/Release-publish.ps1 | Release-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'] = 'cb19cde1-5ae9-4a5... |
PowerShellCorpus/Github/spaelling_azure-search-powershell/src/lib/AzureSearch.ps1 | AzureSearch.ps1 | function Get-AzureSearchIndexFields
{
[CmdletBinding()]
Param(
[String] $ServiceName,
[String] $IndexName,
[string] $AdminApiKey,
[string] $ApiVersion = '2015-02-28', # latest? '2016-09-01'
[switch] $Searchable,
[switch] $Filterable,
... |
PowerShellCorpus/Github/spaelling_azure-search-powershell/src/examples/Example1.ps1 | Example1.ps1 | Clear-Host
Remove-Module AzureSearch -ErrorAction SilentlyContinue
Import-Module "..\AzureSearch.psm1"
$ApiKey = 'C8359312BD7BEEDD221214656B234599'
$ServiceName = 'az42'
$IndexName = 'realestate-us-sample'
# get facetable fields
#Get-AzureSearchIndex -ServiceName $ServiceName -IndexName $IndexName -Admin... |
PowerShellCorpus/Github/Cem515_fullstackToDo/bower_components/bootstrap/nuget/MyGet.ps1 | MyGet.ps1 | $nuget = $env:NuGet
# parse the version number out of package.json
$bsversion = ((Get-Content $env:SourcesPath\package.json) -join "`n" | ConvertFrom-Json).version
# create packages
& $nuget pack "nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version ... |
PowerShellCorpus/Github/Cem515_fullstackToDo/VSTDA.API/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.4/tools/net45/uninstall.ps1 | uninstall.ps1 | # Copyright (c) .NET Foundation. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
param($installPath, $toolsPath, $package, $project)
$roslynSubFolder = 'roslyn'
if ($project -eq $null) {
$project = Get-Project
}
$projectRoot = ... |
PowerShellCorpus/Github/Cem515_fullstackToDo/VSTDA.API/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.4/tools/net45/install.ps1 | install.ps1 | # Copyright (c) .NET Foundation. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
param($installPath, $toolsPath, $package, $project)
$compilerPackageName = 'Microsoft.Net.Compilers'
$roslynSubFolder = 'roslyn'
if ($project -eq $null) {... |
PowerShellCorpus/Github/Cem515_fullstackToDo/VSTDA.API/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/Cem515_fullstackToDo/VSTDA.API/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/Cem515_fullstackToDo/VSTDA.API/packages/Newtonsoft.Json.10.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/fordagame_WebExtensionApi/WebExtensionApi.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/fordagame_WebExtensionApi/WebExtensionApi.Web/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/fordagame_WebExtensionApi/WebExtensionApi.Web/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/fordagame_WebExtensionApi/WebExtensionApi.Web/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/fordagame_WebExtensionApi/WebExtensionApi.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/fordagame_WebExtensionApi/WebExtensionApi.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/fordagame_WebExtensionApi/WebExtensionApi.Web/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/fordagame_WebExtensionApi/WebExtensionApi.Web/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/fordagame_WebExtensionApi/WebExtensionApi.Web/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/fordagame_WebExtensionApi/WebExtensionApi.Web/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/fordagame_WebExtensionApi/WebExtensionApi.Web/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/fordagame_WebExtensionApi/WebExtensionApi.Web/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/fordagame_WebExtensionApi/WebExtensionApi.Web/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/fordagame_WebExtensionApi/WebExtensionApi.Web/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/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonError.ps1 | ConvertFrom-SysmonError.ps1 | function ConvertFrom-SysmonError {
<#
.Synopsis
ConvertFrom a sysmon Error event, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
.EXAMPLE
$SysmonEvent = Get-WinEvent -FilterHashtable @{logname... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonFileCreateTime.ps1 | ConvertFrom-SysmonFileCreateTime.ps1 | function ConvertFrom-SysmonFileCreateTime {
<#
.Synopsis
ConvertFrom a sysmon File Create Time Change event, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
From Sysinternals Documentation:
The c... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonProcessAccess.ps1 | ConvertFrom-SysmonProcessAccess.ps1 | function ConvertFrom-SysmonProcessAccess {
<#
.Synopsis
ConvertFrom a sysmon Process Access event, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
From Sysinternals Documentation:
The process acc... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonFileCreate.ps1 | ConvertFrom-SysmonFileCreate.ps1 | function ConvertFrom-SysmonFileCreate {
<#
.Synopsis
ConvertFrom a sysmon file create event, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
From Sysinternals:
File create operations are logged w... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonFileCreateStreamHash.ps1 | ConvertFrom-SysmonFileCreateStreamHash.ps1 | function ConvertFrom-SysmonFileCreateStreamHash {
<#
.Synopsis
ConvertFrom a sysmon file create stream hash event - ie an Alternate Data Stream, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
.... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonImageLoad.ps1 | ConvertFrom-SysmonImageLoad.ps1 | function ConvertFrom-SysmonImageLoad {
<#
.Synopsis
ConvertFrom a sysmon Image Load event, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
From Sysinternals Documentation:
The image loaded event ... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonRegistryEventRename.ps1 | ConvertFrom-SysmonRegistryEventRename.ps1 | function ConvertFrom-SysmonRegistryRename {
<#
.Synopsis
ConvertFrom a sysmon Registry Rename event, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
From Sysinternals:
Registr... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonPipeConnected.ps1 | ConvertFrom-SysmonPipeConnected.ps1 | function ConvertFrom-SysmonServicePipeConnected {
<#
.Synopsis
ConvertFrom a sysmon Service Pipe Connected loaded event, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
From Sysinternals Docs:
... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonRawAccessRead.ps1 | ConvertFrom-SysmonRawAccessRead.ps1 | function ConvertFrom-SysmonRawAccessRead {
<#
.Synopsis
ConvertFrom a sysmon Raw Access Read event, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
From Sysinternals Documentation:
The RawAccessR... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonRemoteThreadCreated.ps1 | ConvertFrom-SysmonRemoteThreadCreated.ps1 | function ConvertFrom-SysmonRemoteThreadCreated {
<#
.Synopsis
ConvertFrom a sysmon driver loaded event, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
From Sysinternals Docs:
The CreateRemoteThr... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonDriverLoaded.ps1 | ConvertFrom-SysmonDriverLoaded.ps1 | function ConvertFrom-SysmonDriverLoaded {
<#
.Synopsis
ConvertFrom a sysmon driver loaded event, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
From Sysinternals Docs:
The driver loaded events p... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonPipeCreated.ps1 | ConvertFrom-SysmonPipeCreated.ps1 | function ConvertFrom-SysmonServicePipeCreated {
<#
.Synopsis
ConvertFrom a sysmon Named Pipe Created event, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
From Sysinternals Docs:
.EXAMPLE
... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonProcessCreate.ps1 | ConvertFrom-SysmonProcessCreate.ps1 | function ConvertFrom-SysmonProcessCreate {
<#
.Synopsis
ConvertFrom a sysmon process create event
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
From Sysinternals doc:
The process creation event provides extended information... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonConfigurationChange.ps1 | ConvertFrom-SysmonConfigurationChange.ps1 | function ConvertFrom-SysmonConfigurationChange {
<#
.Synopsis
ConvertFrom a sysmon Configuration change event, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
From Sysinternals Docs:
Sysmon confi... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonRegistrySet.ps1 | ConvertFrom-SysmonRegistrySet.ps1 | function ConvertFrom-SysmonRegistrySet {
<#
.Synopsis
ConvertFrom a sysmon Registry Set event, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
From Sysinternals:
This Registry event type identifi... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonNetworkConnect.ps1 | ConvertFrom-SysmonNetworkConnect.ps1 | function ConvertFrom-SysmonNetworkConnect {
<#
.Synopsis
ConvertFrom a sysmon network event, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
From Sysinternals Documentation:
The network connectio... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonServiceStateChanged.ps1 | ConvertFrom-SysmonServiceStateChanged.ps1 | function ConvertFrom-SysmonServiceStateChanged {
<#
.Synopsis
ConvertFrom a sysmon Service State Changed event, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
From Sysinternals Docs:
The service... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/Export-SysmonLogs.ps1 | Export-SysmonLogs.ps1 |
function Export-SysmonLogs {
<#
.Synopsis
Exports sysmon logs to a number of CSV files based on event-id
.DESCRIPTION
Exports sysmon logs to a number of CSV files based on event-id.
Also creates a file "frequency.csv" that gives a count of how many events were exported for each event type.
... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonRegistryAddDel.ps1 | ConvertFrom-SysmonRegistryAddDel.ps1 | function ConvertFrom-SysmonRegistryAddDel {
<#
.Synopsis
ConvertFrom a sysmon Registry Object Create Delete event, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
From Sysinternals:
Registry key ... |
PowerShellCorpus/Github/davebremer_Analyse-Sysmon/Analyse-Sysmon/Public/ConvertFrom-SysmonProcessTerminate.ps1 | ConvertFrom-SysmonProcessTerminate.ps1 | function ConvertFrom-SysmonProcessTerminate {
<#
.Synopsis
ConvertFrom a sysmon process terminated event, returning an object with data
.DESCRIPTION
This commandlet takes a sysmon event and returns an object with the data from the event. Useful for further analysis.
From Sysinternals Doc:
The process termin... |
PowerShellCorpus/Github/konstnn_FireLineAP/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/konstnn_FireLineAP/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/konstnn_FireLineAP/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/konstnn_FireLineAP/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/konstnn_FireLineAP/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/konstnn_FireLineAP/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/konstnn_FireLineAP/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/konstnn_FireLineAP/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/konstnn_FireLineAP/Helpers/DBManager/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/konstnn_FireLineAP/Helpers/DBManager/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/konstnn_FireLineAP/Helpers/DBManager/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/konstnn_FireLineAP/Helpers/DBManager/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/konstnn_FireLineAP/Helpers/DBManager/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/konstnn_FireLineAP/Helpers/DBManager/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/konstnn_FireLineAP/Helpers/DBManager/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/konstnn_FireLineAP/Helpers/DBManager/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/konstnn_FireLineAP/Helpers/DBManager/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/konstnn_FireLineAP/Helpers/DBManager/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/konstnn_FireLineAP/Helpers/DBManager/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/konstnn_FireLineAP/Helpers/DBManager/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/konstnn_FireLineAP/Helpers/DBTester/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/konstnn_FireLineAP/Helpers/DBTester/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/tunoas_windows-provisioning/install.ps1 | install.ps1 | Write-Host "start install ...";
# install dirs
$parentDir="C:\choco";
$chocoDir="$parentDir\chocolatey";
$packageBinDir="$parentDir\bin";
# install list
$chocoConfigPath=".\configs\Chocolatey\packages.config";
# set paths
[System.Environment]::SetEnvironmentVariable("ChocolateyInstall", $chocoDir, [System... |
PowerShellCorpus/Github/carlosZarate20_MVC/gitEvo/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/carlosZarate20_MVC/gitEvo/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/carlosZarate20_MVC/gitEvo/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/carlosZarate20_MVC/gitEvo/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/carlosZarate20_MVC/gitEvo/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/carlosZarate20_MVC/gitEvo/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/carlosZarate20_MVC/gitEvo/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/carlosZarate20_MVC/gitEvo/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/cwasher_powershell/Set-UserCnameDNS.ps1 | Set-UserCnameDNS.ps1 | <#
.SYNOPSIS
Script creates DNS CNAME entries for client computers based on the mangedBy property in AD.
.DESCRIPTION
Script queries AD and gets computers in the Computers OU that are not members of the "COMP_Multiuser"
security group. For each computer the managedBy property is selected to create CNAME entries ... |
PowerShellCorpus/Github/cwasher_powershell/Set-DominateUser.ps1 | Set-DominateUser.ps1 | <#
.SYNOPSIS
Determines the Dominate User on the computer and writes that value to the ManagedBy property in Active Directory.
.DESCRIPTION
The Dominate User is determined by taking the greatest difference between the LastAccessTimeUTC and the CreationTimeUTC. The user and computer objects are pulled from Active ... |
PowerShellCorpus/Github/sebastianlux_tfbuildtask-updateAssemblyInfo/UpdateAssemblyInfoTask/UpdateAssemblyInfo.ps1 | UpdateAssemblyInfo.ps1 | Param (
[string]$rootFolder = $(get-location).Path,
[string]$filePattern,
[string]$assemblyProduct,
[string]$assemblyDescription,
[string]$assemblyCopyright,
[string]$assemblyCompany,
[string]$assemblyTrademark,
[string]$assemblyConfiguration,
[string]$assemblyVersion,
... |
PowerShellCorpus/Github/Stijnc_Resource-Manager/AzureAutomationAccount/Scripts/Deploy-AzureResourceGroup.ps1 | Deploy-AzureResourceGroup.ps1 | #Requires -Version 3.0
Param(
[string] [Parameter(Mandatory=$true)] $ResourceGroupLocation,
[string] $ResourceGroupName = 'ResourceManager',
[switch] $UploadArtifacts,
[string] $StorageAccountName,
[string] $StorageContainerName = $ResourceGroupName.ToLowerInvariant() + '-stageartifacts',
[string]... |
PowerShellCorpus/Github/Stijnc_Resource-Manager/SingleWindowsVMExtScript/Scripts/Deploy-AzureResourceGroup.ps1 | Deploy-AzureResourceGroup.ps1 | #Requires -Version 3.0
Param(
[string] [Parameter(Mandatory=$true)] $ResourceGroupLocation,
[string] $ResourceGroupName = 'ResourceManager',
[switch] $UploadArtifacts,
[string] $StorageAccountName,
[string] $StorageContainerName = $ResourceGroupName.ToLowerInvariant() + '-stageartifacts',
[string]... |
PowerShellCorpus/Github/Stijnc_Resource-Manager/SingleWindowsVMwithExtAntimalware/Scripts/Deploy-AzureResourceGroup.ps1 | Deploy-AzureResourceGroup.ps1 | #Requires -Version 3.0
Param(
[string] [Parameter(Mandatory=$true)] $ResourceGroupLocation,
[string] $ResourceGroupName = 'ResourceManager',
[switch] $UploadArtifacts,
[string] $StorageAccountName,
[string] $StorageContainerName = $ResourceGroupName.ToLowerInvariant() + '-stageartifacts',
[string]... |
PowerShellCorpus/Github/Stijnc_Resource-Manager/SingleWindowsVMExtChef/Scripts/Deploy-AzureResourceGroup.ps1 | Deploy-AzureResourceGroup.ps1 | #Requires -Version 3.0
Param(
[string] [Parameter(Mandatory=$true)] $ResourceGroupLocation,
[string] $ResourceGroupName = 'ResourceManager',
[switch] $UploadArtifacts,
[string] $StorageAccountName,
[string] $StorageContainerName = $ResourceGroupName.ToLowerInvariant() + '-stageartifacts',
[string]... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.