code stringlengths 2 1.05M | repo_name stringlengths 5 101 | path stringlengths 4 991 | language stringclasses 3
values | license stringclasses 5
values | size int64 2 1.05M |
|---|---|---|---|---|---|
$script:dscModuleName = 'NetworkingDsc'
$script:dscResourceName = 'DSC_NetIPInterface'
try
{
Import-Module -Name DscResource.Test -Force -ErrorAction 'Stop'
}
catch [System.IO.FileNotFoundException]
{
throw 'DscResource.Test module dependency not found. Please run ".\build.ps1 -Tasks build" first.'
}
$script:... | PlagueHO/xNetworking | tests/Integration/DSC_NetIPInterface.Integration.Tests.ps1 | PowerShell | mit | 11,985 |
$ErrorActionPreference = 'Stop';
$toolsPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$filePath = "$toolsPath\picard_x32.exe"
$packageArgs = @{
packageName = 'picard'
fileType = 'exe'
file = $filePath
softwareName = 'MusicBrainz Picard'
silentArgs = '/S'
vali... | octomike/chocolatey-coreteampackages | automatic/picard/tools/chocolateyInstall.ps1 | PowerShell | apache-2.0 | 444 |
function Get-LabImage {
<#
.SYNOPSIS
Gets master/parent disk image.
.DESCRIPTION
The Get-LabImage cmdlet returns current master/parent disk image properties.
.PARAMETER Id
Specifies the media Id of the image to return. If this parameter is not specified, all images are returned.
... | VirtualEngine/Lab | Src/Public/Get-LabImage.ps1 | PowerShell | mit | 3,078 |
function Get-VaultCredential
{
<#
.SYNOPSIS
Displays Windows vault credential objects including cleartext web credentials.
PowerSploit Function: Get-VaultCredential
Author: Matthew Graeber (@mattifestation)
License: BSD 3-Clause
Required Dependencies: None
Optional Dependencies: None
.DESCRIPTION
Ge... | paulmarsy/Console | Custom Consoles/PowerShell/Exports/Functions/Security/Get-VaultCredential.ps1 | PowerShell | mit | 21,007 |
# Create a first configuration
<# - File Resource, Windows Feature, Log , Script resource
- Add parameters
- Look at MOFS
- Create config file
- Show LCM
- Show credentials/handling
- Generate certificates
#>
# Remoting
<#
- Create session
- Copy items
- Invoke-commands
- Pushing DSC configur... | haraldfianbakken/dsc-workshop | Walkthrough.ps1 | PowerShell | mit | 1,289 |
using module ..\..\DscResources\CommonClassResourceHelper.psm1
using module ..\..\DscResources\MSFT_RegistryResource\MSFT_RegistryResource.psm1
using namespace Microsoft.Win32
$errorActionPreference = 'Stop'
Set-StrictMode -Version 'Latest'
# Import CommonTestHelper for Enter-DscResourceTestEnvironment, Exit-DscResou... | TofuBug/PsDscClassResourcesDev | Tests/Unit/MSFT_RegistryResource.Tests.ps1 | PowerShell | mit | 368,135 |
#
# Module manifest for module 'MSFT_xSystemSecurity'
#
# Generated on: 3/19/2014
#
@{
# Version number of this module.
moduleVersion = '1.4.0.0'
# ID used to uniquely identify this module
GUID = 'e30107af-a22a-48fb-b7bc-7d2b98489ac5'
# Author of this module
Author = 'Arun Chandrasekhar'
# Company or vendor of thi... | PowerShell/xSystemSecurity | xSystemSecurity.psd1 | PowerShell | mit | 2,176 |
<#
.SYNOPSIS
Gets an access level.
.DESCRIPTION
Gets all access levels or a single access level if an access level id or name is specified.
If the result returns null, try the parameter "-Verbose" to get more details.
.EXAMPLE
Get-AccessLevel
.LINK
https://github.com/erwindevreug... | erwindevreugd/PSDataConduIT | PSDataConduIT/Public/Get-AccessLevel.ps1 | PowerShell | mit | 3,301 |
#region Initialize Cache
if (-not [Sqlcollaborative.Dbatools.TabExpansion.TabExpansionHost]::Cache["snapshot"]) {
[Sqlcollaborative.Dbatools.TabExpansion.TabExpansionHost]::Cache["snapshot"] = @{ }
}
#endregion Initialize Cache
#region Tepp Data return
$ScriptBlock = {
param (
$commandName,
$p... | dsolodow/dbatools | internal/dynamicparams/snapshot.ps1 | PowerShell | mit | 2,130 |
# TODO: Invoke-VultrReservedipAttach.ps1 | sdsalyer/PSVultrAPI | PSVultrAPI/Public/reservedip/Invoke-VultrReservedipAttach.ps1 | PowerShell | mit | 40 |
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under ... | lweniger/PowerShell | Modules/downloaded/powershellgallery/Carbon/2.2.0/Functions/Get-IisWebsite.ps1 | PowerShell | mit | 2,096 |
class DnsOPENPGPKEYRecord : DnsResourceRecord {
<#
1 1 1 1 1 1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
/ TXT-DATA /
+--+--+--+--+--+--+--+--+--... | indented-automation/Indented.Net.Dns | Indented.Net.Dns/class/2.RecordTypes/DnsOPENPGPKEYRecord.ps1 | PowerShell | mit | 940 |
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 (Test-Path $tar... | MicrosoftLearning/20486-DevelopingASPNETMVCWebApplications | Allfiles/20486C/Mod13/LabFiles/PhotoSharingApplication_13_begin/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.3/tools/uninstall.ps1 | PowerShell | mit | 11,018 |
properties {
$base_dir = resolve-path .
$src_dir = "$base_dir\src"
$build_dir = "$base_dir\build"
$release_dir = "$base_dir\bin"
$tools_dir = "$base_dir\tools"
$nuspec_dir = "$base_dir\nuget"
}
task default -depends Pack
task Clean {
remove-item -force -recurse $build_dir -ErrorAction SilentlyContinue
... | petrovich/petrovich-net | build.ps1 | PowerShell | mit | 1,531 |
# Must import the psake powershell module
param (
`$Version = "$Version",
`$BuildNumber
)
# Get version from version file if not defined.
if (`$BuildNumber -ne `$null) {
`$Version = "`$Version.`$BuildNumber"
}
Invoke-PSake Build -nologo -notr -parameters @{Version=`$Version} | Cobster/psst | src/PsstGeneratorModule/Psst.$($Model.Name)/build.ps1 | PowerShell | mit | 291 |
function Send-SlackChannelInvite {
<#
.SYNOPSIS
Send a Slack channel invite
.DESCRIPTION
Send a Slack channel invite
.PARAMETER Token
Token to use for the Slack API
Default value is the value set by Set-PSSlackConfig
.PARAMETER Channel
ID of ... | RamblingCookieMonster/PSSlack | Send-SlackChannelInvite.ps1 | PowerShell | mit | 1,593 |
Function Get-TargetResource {
Param (
[Parameter(Mandatory=$True)]
[ValidateNotNullOrEmpty()]
[string]$Path,
[Parameter(Mandatory=$True)]
[ValidateNotNullOrEmpty()]
[string]$Name,
[Parameter(Mandatory=$False)]
[string[]]$FullAccess = @(),
... | ConclusionMC/puppetlabs-dsc | lib/puppet_x/dsc_resources/cMisc/DSCResources/cMisc_ClusterShare/cMisc_ClusterShare.psm1 | PowerShell | apache-2.0 | 8,006 |
using namespace Microsoft.Win32
using namespace System.Web
function Get-PSPuTTYSession {
<#
.Synopsis
Returns a list of configured PuTTY sessions.
.Outputs
[PSPuTTYSession]
#>
[CmdletBinding()]
param (
[Parameter(Mandatory = $false)]
[string] $Name
)
$Command = $PSCmdlet.MyInvocation.My... | pcgeek86/PSPuTTY | Functions/Public/Get-PSPuTTYSession.ps1 | PowerShell | apache-2.0 | 1,362 |
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed... | codo27469/LibGit2.PowerShell | LibGit2/Functions/Test-GitUncommittedChange.ps1 | PowerShell | apache-2.0 | 1,617 |
$packageName = 'cmdermini.portable'
$url = 'https://github.com/cmderdev/cmder/releases/download/v1.3.0-pre/cmder_mini.zip'
$checksum = 'a3e1b3e375af63cc62c0856b737ef1ef467d147c'
$checksumType = 'sha1'
$binRoot = Get-BinRoot
$installPath = Join-Path $binRoot "cmdermini"
Install-ChocolateyZipPackage -PackageName "$packa... | dtgm/chocolatey-packages | automatic/_output/cmdermini.portable/1.3-beta/tools/chocolateyInstall.ps1 | PowerShell | apache-2.0 | 709 |
function New-VSApiGatewayV2Stage {
<#
.SYNOPSIS
Adds an AWS::ApiGatewayV2::Stage resource to the template. The AWS::ApiGatewayV2::Stage resource updates a stage for an API.
.DESCRIPTION
Adds an AWS::ApiGatewayV2::Stage resource to the template. The AWS::ApiGatewayV2::Stage resource updates ... | scrthq/Vaporshell | VaporShell/Public/Resource Types/New-VSApiGatewayV2Stage.ps1 | PowerShell | apache-2.0 | 22,577 |
# Returns True/False if Process is Running or Not.
# Return Type: Boolean
# Execution Context: User
# change TaskScheduler to your process name
$process = Get-Process TaskScheduler -ea SilentlyContinue
if($process){
write-output $true
}else{
write-output $false
}
| vmwaresamples/AirWatch-samples | Windows-Samples/Sensors/os_process_running.ps1 | PowerShell | bsd-3-clause | 269 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
Describe "Get-Variable DRT Unit Tests" -Tags "CI" {
It "Get-Variable of not existing variable Name should throw ItemNotFoundException"{
{ Get-Variable -ErrorAction Stop -Name nonexistingVariableName } |
Should -Throw -E... | Cowmonaut/PowerShell | test/powershell/Modules/Microsoft.PowerShell.Utility/Get-Variable.Tests.ps1 | PowerShell | mit | 5,975 |
Write-Host "Ensconce - dnsHelper Loading"
function GetDnsRecords ([string]$dnsServer, [string]$domain, [string]$lookupName)
{
$result = dnscmd $dnsServer /EnumRecords $domain $lookupName
$keys = New-Object Collections.Generic.List[pscustomobject]
foreach ($item in $result)
{
$match = [regex]::... | BlythMeister/Ensconce | src/Scripts/dnsHelper.ps1 | PowerShell | mit | 11,427 |
[CmdletBinding()]
param()
# Arrange.
. $PSScriptRoot\..\lib\Initialize-Test.ps1
Invoke-VstsTaskScript -ScriptBlock {
$tempDirectory = [System.IO.Path]::Combine([System.IO.Path]::GetTempPath(), [System.IO.Path]::GetRandomFileName())
New-Item -Path $tempDirectory -ItemType Directory |
ForEach-Object { $_... | Microsoft/vso-task-lib | powershell/Tests/L0/Find-Files.LegacyPatternSupportsInterSegmentWildcard.ps1 | PowerShell | mit | 1,860 |
<#
.SYNOPSIS
Returns an SCCM folder object.
.DESCRIPTION
Returns an SCCM folder object. Currently, the objects returned can only be of Type 2 or 3 (Package folders and Advertisement folders, respectively).
If no folder name or ID are specified, this function returns all folders on the site.
.PARAMETER siteProvider
T... | lazywinadmin/sccm-powershell-automation-module | SCCM_Folder.psm1 | PowerShell | mit | 13,090 |
<#
.SYNOPSIS
Get-PSProfiles.ps1 returns location, ownership and contents of local
PowerShell profiles.
.DESCRIPTION
Get-PSProfiles.ps1 returns custom objects with the following properties:
ProfilePath : Contains profile's path
SID : Contains a SID for the profile where applicable
Name : Contains the nam... | vimokumar/Kansa | Modules/ASEP/Get-PSProfiles.ps1 | PowerShell | apache-2.0 | 4,237 |
# Copyright 2012 Aaron Jensen
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | michael-wolfenden/CodeCampServer | scripts/Carbon/Service/Uninstall-Service.ps1 | PowerShell | bsd-3-clause | 1,697 |
# Test file for the Vester module - https://github.com/WahlNetwork/Vester
# Called via Invoke-Pester VesterTemplate.Tests.ps1
# vSphere 6.0 Hardening Guide Guideline ID - ESXi.set-account-auto-unlock-time
# Test title, e.g. 'DNS Servers'
$Title = 'Account Unlock Time'
# Test description: How New-VesterConfig explains... | WahlNetwork/lab-config | Vester/Tests/Host/Account-UnlockTime.Vester.ps1 | PowerShell | apache-2.0 | 1,398 |
#========================================
# Set up
#========================================
Properties {
$base_dir = Resolve-path .
$source_dir = "$base_dir\src"
$tools_dir = "$base_dir\tools"
$nuspec_dir = "$base_dir\nuget"
$build_dir = "$base_dir\build"
$bin_dir = "$build_dir\bin"
$nupkg... | kenny-evitt/AttributeRouting | default.ps1 | PowerShell | mit | 3,720 |
$PackageName = 'neo4j-community'
Function Get-IsJavaInstalled()
{
[cmdletBinding(SupportsShouldProcess=$false,ConfirmImpact='Low',DefaultParameterSetName='Default')]
param (
$Neo4jHome
)
Process
{
$javaPath = ''
$javaVersion = ''
$javaCMD = ''
$EnvJavaHome = "$($Env:JAVA_HOME)"
... | glennsarti/neo4j-community-chocolatey | neo4j-community-3.5.1/tools/chocolateyUninstall.ps1 | PowerShell | mit | 4,287 |
function CheckServices()
{
if ($global:ConfigXml.servermonitor.SelectNodes("services").count -ne 1)
{
ShowInfo "services node not found"
return
}
$machines = [regex]::split($Servers,'[,;]')
foreach ($machine in $machines)
{
$global:ConfigXml.servermonitor... | hahndorf/ServerMonitor | smpServices.ps1 | PowerShell | mit | 1,264 |
function Get-TFStatus() {
$settings = $Global:TFPromptSettings
$enabled = (-not $settings) -or $settings.EnablePromptStatus
if ($enabled)
{
if($settings.Debug) {
$sw = [Diagnostics.Stopwatch]::StartNew(); Write-Host ''
} else {
$sw = $null
}
# I a... | dahlbyk/posh-tf | TFUtils.ps1 | PowerShell | mit | 454 |
param
(
[string] $Service = ""
)
if ($Service -eq "")
{
Get-Service
}
else
{
Get-Service $Service
} | SharpeRAD/Cake.Powershell | src/Cake.Powershell.Tests/Scripts/Test.ps1 | PowerShell | mit | 150 |
#!/usr/bin/env pwsh
# Load common image names
Get-Content $PSScriptRoot/templates/variables/docker-images.yml |
Where-Object { $_.Trim() -notlike 'variables:' } |
ForEach-Object {
$parts = $_.Split(':', 2)
Set-Variable -Name $parts[0].Trim() -Value $parts[1].Trim() -Scope Global
}
& docker inspect ${imageNam... | dotnet/dotnet-docker | eng/common/Get-ImageBuilder.ps1 | PowerShell | mit | 474 |
$here = Split-Path -Parent $MyInvocation.MyCommand.Path | split-path -parent
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
. "$here\functions\$sut"
$PSBoundParameters.clear()
Import-module .\IdentityManager.psd1 -verbose:$false
Import-Module .\FIMmodule\FIMmodule.psd1 -Scope Global -... | torgro/IdentityManager | Tests/Get-IMsetUsage.Tests.ps1 | PowerShell | mit | 5,011 |
Import-Module -Force $PSScriptRoot\..\MyScript1.ps1
Describe "Get-HelloWorld" {
It "outputs 'Hello world!'" {
Get-HelloWorld | Should Be 'Hello world!'
}
}
Describe "Get-OSVersion" {
It "outputs 'the OS version'" {
Get-OSVersion | Should match "Microsoft Windows"
}
}
| alexverboon/Test | MyScript1/Tests/MyScript1.Tests.ps1 | PowerShell | mit | 307 |
param($installPath, $toolsPath, $package, $project)
. (Join-Path $toolsPath "CommonPropertyValues.ps1")
$project.Object.References | Where-Object { $_.Name -eq $referenceAssemblyName } | foreach { $_.Remove() }
$project.Save()
# SIG # Begin signature block
# MIIXkwYJKoZIhvcNAQcCoIIXhDCCF4ACAQExCzAJBgUrDgMCGgUAM... | Azavar/Azavar.Sitefinity.Modules.PageSpeed | Azavar.Sitefinity.Modules.PageSpeed/packages/Telerik.Sitefinity.Core.9.1.6110.0/tools/uninstall.ps1 | PowerShell | mit | 8,723 |
# Returns the XmlDocument loaded from the web.config and connected configSource files present at given project path
# $projectPath path to the project file
# $configSourcesToBeLoaded array of elementNames which need to be loaded through their configSource path. Default is null which means load all
Function Get-WebCo... | anjumrizwi/episerver | cms/packages/EPiServer.Packaging.3.2.4/tools/Modules/Get-WebConfig.psm1 | PowerShell | mit | 10,277 |
$script:dscModuleName = 'ActiveDirectoryDsc'
$script:dscResourceName = 'MSFT_ADReplicationSubnet'
function Invoke-TestSetup
{
try
{
Import-Module -Name DscResource.Test -Force -ErrorAction 'Stop'
}
catch [System.IO.FileNotFoundException]
{
throw 'DscResource.Test module dependency n... | PowerShell/xActiveDirectory | tests/Unit/MSFT_ADReplicationSubnet.Tests.ps1 | PowerShell | mit | 14,323 |
using namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic
using namespace System.Management.Automation.Language
function AvoidParameterAttributeDefaultValues {
<#
.SYNOPSIS
AvoidParameterAttributeDefaultValues
.DESCRIPTION
Avoid including default values in the Parameter attribute... | indented-automation/ScriptAnalyzerRules | Indented.ScriptAnalyzerRules/public/rules/AvoidParameterAttributeDefaultValues.ps1 | PowerShell | mit | 1,150 |
$ModuleFileContent = @"
# Get public and private function definition files.
`$Public = @(Get-ChildItem -Path `$PSScriptRoot\Public\*.ps1 -ErrorAction SilentlyContinue)
`$Private = @(Get-ChildItem -Path `$PSScriptRoot\Private\*.ps1 -ErrorAction SilentlyContinue)
# Dot source the files
foreach (`$import in @(`$Public + ... | RedeployAB/PSScaffold | PSScaffold/templates/t_module.ps1 | PowerShell | mit | 529 |
#call the update URLs
$O365Result=(Invoke-webrequest -URI "http://mscloudips.azurewebsites.net/api/office365ips/operation/update").Content
$AzureResult=(Invoke-webrequest -URI "http://mscloudips.azurewebsites.net/api/azureips/operation/update").Content
#write the output
"Last O365 update: " + $O365Result
"Last Azure ... | EvanBasalik/MSCloudIPs | MSCloudIPs/SupportingFiles/UpdateIPs.ps1 | PowerShell | mit | 346 |
properties {
$BaseDir = Resolve-Path "."
$OutputPath = "$BaseDir\output"
$SolutionPath = "$BaseDir\src\Nerve.sln"
$NugetPath = "$BaseDir\src\.nuget\nuget.exe"
$BuiltPath = "$OutputPath\built"
$MergedPath = "$OutputPath\merged"
$OpenCoverVersion = "4.5.2506"
$MSpecVersion = "0.8.2... | Kostassoid/Nerve | build.ps1 | PowerShell | apache-2.0 | 2,512 |
$packageName = '{{PackageName}}'
$url = '{{DownloadUrl}}'
$checksum = '{{Checksum}}'
$checksumType = 'sha1'
$url64 = "$url"
$checksum64 = "$checksum"
$checksumType64 = "checksumType"
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
Install-ChocolateyZipPackage -PackageName "$packageName" `
... | maharishi/chocolatey-packages | automatic/psgetsid/tools/chocolateyInstall.ps1 | PowerShell | apache-2.0 | 1,128 |
$packageName = 'dolphin'
$url = 'http://dl.dolphin-emu.org/builds/dolphin-master-4.0-9224-x64.7z'
$checksum = '88d6aa931edae4573d1c052fc5fa40dabb7072f1'
$checksumType = 'sha1'
$url64 = $url
$checksum64 = $checksum
$checksumType64 = $checksumType
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
In... | dtgm/chocolatey-packages | automatic/_output/dolphin/4.0.9224/tools/chocolateyInstall.ps1 | PowerShell | apache-2.0 | 761 |
$packageName = 'kvrt'
$url = 'http://devbuilds.kaspersky-labs.com/devbuilds/KVRT/latest/full/KVRT.exe'
$checksum = 'cca84eb4f0d1999271afad863ec62de48cf710c468d30df5f19b010061135122'
$checksumType = 'sha256'
$toolsPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$installFile = Join-Path $toolsPath "kvr... | dtgm/chocolatey-packages | automatic/_output/kvrt/2016.06.17.1926/tools/chocolateyInstall.ps1 | PowerShell | apache-2.0 | 960 |
function Import-VSTemplateConfig {
<#
.SYNOPSIS
Imports a configuration from either a JSON or PSD1 file at the specified key.
.DESCRIPTION
Imports a configuration from either a JSON or PSD1 file at the specified key.
.PARAMETER Path
The path to the configuration file. This can be rel... | scrthq/Vaporshell | VaporShell/Public/Import-VSTemplateConfig.ps1 | PowerShell | apache-2.0 | 1,707 |
Write-Host Downloading debloat zip
$url="https://github.com/StefanScherer/Debloat-Windows-10/archive/master.zip"
(New-Object System.Net.WebClient).DownloadFile($url, "$env:TEMP\debloat.zip")
Expand-Archive -Path $env:TEMP\debloat.zip -DestinationPath $env:TEMP -Force
Write-Host Disable scheduled tasks
. $env:TEMP\Debl... | sealsystems/pi-cloud | prepare-hardware/up-win10/usb/scripts/debloat-windows.ps1 | PowerShell | mit | 1,079 |
[CmdletBinding()]
param()
# Arrange.
. $PSScriptRoot\..\..\..\Tests\lib\Initialize-Test.ps1
$targetAzurePs = "4.1.0"
Register-Mock Get-VstsInput { "FilePath" } -- -Name ScriptType -Require
Register-Mock Get-VstsInput { "$PSScriptRoot/NativeCommandError_TargetScript.ps1" } -- -Name ScriptPath
Register-Mock Get-VstsInpu... | grawcho/vso-agent-tasks | Tasks/AzurePowerShellV3/Tests/FailsForNativeCommandError.ps1 | PowerShell | mit | 1,141 |
# generated vars
$packageName = 'superputty'
$packageVersion = '1.4.0.6'
$url = 'https://github.com/jimradford/superputty/releases/download/1.4.0.6/SuperPuTTY-1.4.0.6.zip'
$checksum = 'd2e1b4bf75c7ae4575becc7a98c34cee39557f6e'
# static vars
$checksumType = 'sha1'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyComma... | dtgm/chocolatey-packages | automatic/_output/superputty/1.4.0.6/tools/chocolateyInstall.ps1 | PowerShell | apache-2.0 | 973 |
# Copyright 2011 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | jkorell/splunk-reskit-powershell | Source/Tests/Splunk.License.Pool.Tests.ps1 | PowerShell | apache-2.0 | 2,276 |
Function RedirectLocationHeader([string]$url) {
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$latest = "https://github.com/exercism/configlet/releases/latest"
$request = [System.Net.WebRequest]::Create($latest)
$request.AllowAutoRedirect = $false
$response = $requ... | ErikSchierboom/xcsharp | bin/fetch-configlet.ps1 | PowerShell | mit | 1,065 |
$packageName = 'totalcommander'
$packageSearch = "Total Commander*"
$installerType = 'exe'
$silentArgs = ''
$validExitCodes = @(0)
$scriptPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$ahkFile = Join-Path $scriptPath "chocolateyUninstall.ahk"
$ahkExe = 'AutoHotKey'
$ahkRun = "$Env:Temp\$(Get-Random... | dtgm/chocolatey-packages | automatic/_output/totalcommander/8.52.01/tools/chocolateyUninstall.ps1 | PowerShell | apache-2.0 | 1,192 |
<#
.Synopsis
An alternative to PowerShell's comparison operators when texts are being tested in unit test scenarios with operators that are sensitive to culture and language.
.Description
This function contains text operators that are sensitive to language and culture. These operators are: Match, NotMatch, Contains, No... | imfrancisd/PowerShell-Assert-Library | help/Script/en-US/Test-Text.psd1 | PowerShell | mit | 11,128 |
Function Get-AccountLockedOut {
<#
.SYNOPSIS
This function will find the device where the account get lockedout
.DESCRIPTION
This function will find the device where the account get lockedout.
It will query directly the PDC for this information
.PARAMETER DomainName
Specifies the DomainName to que... | lazywinadmin/PowerShell | AD-USER-Get-AccountLockedOut/AD-USER-Get-AccountLockedOut.ps1 | PowerShell | mit | 4,312 |
$CMD_RUNNER = "p:\ath\to\JMeter31\lib\cmdrunner-2.0.jar"
$VISUAL_REPORTS = @("ThreadsStateOverTime", "BytesThroughputOverTime", "HitsPerSecond", "LatenciesOverTime", "ResponseCodesPerSecond", "ResponseTimesDistribution", "ResponseTimesOverTime", "ResponseTimesPercentiles", "ThroughputVsThreads", "TimesVsThreads", "T... | yaci/generate-jmeter-graphs | windows/generate-report-simple.ps1 | PowerShell | mit | 1,703 |
<#
.EXAMPLE
This example shows how to ensure that the Windows user 'CONTOSO\WindowsUser' exists.
.EXAMPLE
This example shows how to ensure that the Windows group 'CONTOSO\WindowsGroup' exists.
.EXAMPLE
This example shows how to ensure that the SQL Login 'SqlLogin' exists.
#>
Configuration Example
{
param(
... | Arturas-K/xSQLServer | Examples/Resources/xSQLServerLogin/1-AddLogin.ps1 | PowerShell | mit | 1,640 |
#
# OnlineInstanceFunctions.ps1
#
$ErrorActionPreference = "Stop"
Write-Verbose 'Entering OnlineInstanceFunctions.ps1'
function Get-XrmInstanceByName(
[String]$ApiUrl,
[Object]$Cred,
[String]$InstanceName)
{
$instances = Get-CrmInstances -ApiUrl $ApiUrl -Credential $Cred
Foreach($instance in $instances)
{
i... | WaelHamze/xrm-ci-framework | MSDYNV9/Xrm.Framework.CI/Xrm.Framework.CI.PowerShell.Scripts/OnlineInstanceFunctions.ps1 | PowerShell | mit | 2,569 |
#Requires -Version 5
[CmdletBinding()]
param
(
[parameter(Mandatory=$true)]
[ValidateSet('Start', 'Stop')]
[string] $Action
)
$winApiKernel32Code = @'
// http://www.pinvoke.net/default.aspx/kernel32/FreeConsole.html
[DllImport("kernel32.dll", SetLastError=true, ExactSpelling=true)]
public stat... | rosberglinhares/IISLogMonitor | IISLogMonitor.Setup.Files/IISLogMonitorService.ps1 | PowerShell | mit | 8,925 |
<#
.SYNOPSIS
Configure SQL Configuration Manager settings for BizTalk
.DESCRIPTION
This script configures TCP/IP, Named Pipes and Shared Memory for BizTalk use
.EXAMPLE
./SQLNetworkProtocols.ps1
.NOTES
Run the script on the SQL server that requires the configuration
#>
cls
import-module "sqlps"
$smo = 'Microsoft.SqlSe... | agilityroots/biztalk-provisioner | scripts/BizTalkInstallationToolkit/SQLNetworkProtocols.ps1 | PowerShell | mit | 1,686 |
@{
PackageName = 'dotnetcore-3.1-sdk-3xx'
Url = 'https://download.visualstudio.microsoft.com/download/pr/e20f0ce6-9eb7-42ff-8a18-e2d9eb929b37/75677dea8ae7ccaec7a87d2de4b0a796/dotnet-sdk-3.1.302-win-x86.exe'
Checksum = '98dd3291414c8eb8f9ba4b85481a6a4faca6c747bed734ab7d3246e810e0ac8ba5079d7212fae3add47aff22... | jberezanski/dotnetcore-chocolateypackages | dotnetcore-3.1-sdk-3xx/tools/data.ps1 | PowerShell | mit | 786 |
[CmdletBinding()]
Param
(
[Parameter(Mandatory = $true, ValueFromPipelineByPropertyName = $true)] [Alias('FullName')] [string[]] $Path
)
Begin
{
#Requires -Version 5
Set-StrictMode -Version 5
}
Process
{
foreach ($dirPath in $Path)
{
$channelManifest = "$dirPath\ChannelManifest.json"
... | jberezanski/ChocolateyPackages | tools/VS2017/Get-VS2017BuildVersion.ps1 | PowerShell | mit | 472 |
# 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-BuildEnvironment from BuildHel... | sk82jack/PlasterTemplate | PlasterTemplate/PlasterTemplates/GitLab/deploy.PSDeploy.ps1 | PowerShell | mit | 1,604 |
$webdeploy = "C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe"
$location = Get-Location | Select-Object $_.Path
$packOutput = Join-Path $location "bin\Release\netcoreapp2.1\publish"
$app_offline = Join-Path $location "app_offline.htm"
$iisApp = "aspnetcorespa"
$computerName = "https://aspnetcorespa.scm... | asadsahi/AspNetCoreSpa | deploy.azure.ps1 | PowerShell | mit | 2,110 |
#
# Module manifest for module 'PrintManagementDsc'
#
# Generated by: Eric Boersma
#
# Generated on: 6/18/2017
#
@{
# Script module or binary module file associated with this manifest.
#RootModule = ''
# Version number of this module.
ModuleVersion = '2.0.0.0'
# Supported PSEditions
# CompatiblePSE... | limiteddenial/cPrinterManagement | PrintManagementDsc.psd1 | PowerShell | mit | 4,356 |
function Get-RSDeviceDetail {
<#
.SYNOPSIS
Parses device XML
.PARAMETER DeviceXML
RedSeal Device XML GET response
.OUTPUTS
One custom object
#>
[cmdletbinding()]
Param(
[Parameter(ValueFromPipeline = $true, Mandatory = $true, Position = 0)]
$DeviceDet... | SCH-CISM/RedSeal | PSRedSeal/public/Get-RSDeviceDetail.ps1 | PowerShell | mit | 1,204 |
[CmdletBinding()]
param(
[Parameter(Mandatory = $false)]
[string]
$SharePointCmdletModule = (Join-Path -Path $PSScriptRoot `
-ChildPath "..\Stubs\SharePoint\15.0.4805.1000\Microsoft.SharePoint.PowerShell.psm1" `
-Resolve)
)
... | mrpullen/xSharePoint | Tests/Unit/SharePointDsc/SharePointDsc.SPConfigWizard.Tests.ps1 | PowerShell | mit | 10,225 |
if (($null -eq (Get-Module "PSReadline" -ErrorAction SilentlyContinue)) -or ($script:SoPoshPlugins -notcontains 'readline')) {
return
}
<#
.SYNOPSIS
Execute `ruby ./file` just by entering `./file` for a file which contains `#!/bin/ruby`
.DESCRIPTION
This script allows to execute a script if it contains a sheban... | drognanar/so-posh | plugins/readline/shebang.ps1 | PowerShell | mit | 1,644 |
#
# Module manifest for module 'PSGet_AzureRM.Dns'
#
# Generated by: Microsoft Corporation
#
# Generated on: 1/17/2017
#
@{
# Script module or binary module file associated with this manifest.
# RootModule = ''
# Version number of this module.
ModuleVersion = '2.5.0'
# Supported PSEditions
# CompatiblePSEditions = ... | seanbamsft/azure-powershell | src/ResourceManager/Dns/AzureRM.Dns.psd1 | PowerShell | apache-2.0 | 4,587 |
function InModuleScope
{
[CmdletBinding()]
param (
[Parameter(Mandatory = $true)]
[string]
$ModuleName,
[Parameter(Mandatory = $true)]
[scriptblock]
$ScriptBlock
)
if ($null -eq (Get-Variable -Name Pester -ValueOnly -ErrorAction SilentlyContinue))
{
... | lholman/OneBuild | packages/pester.3.0.0-beta2/tools/Functions/InModuleScope.ps1 | PowerShell | apache-2.0 | 1,253 |
function New-VSSQSQueue {
<#
.SYNOPSIS
Adds an AWS::SQS::Queue resource to the template. The AWS::SQS::Queue resource creates an Amazon Simple Queue Service (Amazon SQS standard or FIFO queue.
.DESCRIPTION
Adds an AWS::SQS::Queue resource to the template. The AWS::SQS::Queue resource create... | scrthq/Vaporshell | VaporShell/Public/Resource Types/New-VSSQSQueue.ps1 | PowerShell | apache-2.0 | 28,550 |
$BUILD_DIR = "./dist"
$BUNDLE_DIR = "$BUILD_DIR/improviz-win"
mkdir -p $BUNDLE_DIR
cp -r ./assets $BUNDLE_DIR
cp -r ./examples $BUNDLE_DIR
cp -r ./geometries $BUNDLE_DIR
cp -r ./hellocatfood $BUNDLE_DIR
cp -r ./stdlib $BUNDLE_DIR
cp -r ./textures $BUNDLE_DIR
cp -r ./usercode $BUNDLE_DIR
cp -r ./materials $BUNDLE_DIR
c... | rumblesan/improviz | scripts/build-win.ps1 | PowerShell | bsd-3-clause | 1,368 |
<#
.SYNOPSIS
Get disk block size
.DESCRIPTION
Get disk block size
.PARAMETR
serverList <String> - specify path to server list or live empty
.EXAMPLE
Just run script
.NOTES
Requires: Powershell version 3 or higher
Tested on: Windows 10, 7
Author: Naveen Kumar
Author Modified: Konstantin ... | AlexTitenko/sqlserver-kit | PowerShell/Get-Windows-Block-Size.ps1 | PowerShell | mit | 825 |
[CmdletBinding()]
param()
if (!$PSScriptRoot) # $PSScriptRoot is not defined in 2.0
{
$PSScriptRoot = [System.IO.Path]::GetDirectoryName($MyInvocation.MyCommand.Path)
}
$ErrorActionPreference = 'stop'
Set-StrictMode -Version latest
$RepoRoot = (Resolve-Path $PSScriptRoot\..\..).Path
$ModuleName = "MSFT_xSPManag... | phongdly/puppetlabs-dsc | lib/puppet_x/dsc_resources/xSharePoint/Tests/xSharePoint/xSharePoint.xSPManagedAccount.Tests.ps1 | PowerShell | apache-2.0 | 3,101 |
[CmdletBinding()]
param()
# Arrange.
. $PSScriptRoot\..\..\lib\Initialize-Test.ps1
. $PSScriptRoot\..\..\..\Tasks\PublishSymbols\IndexHelpers\DbghelpFunctions.ps1
$env:AGENT_HOMEDIRECTORY = 'SomeDrive:\AgentHome'
Register-Mock Assert-VstsPath { throw "This error should be thrown." } -- -LiteralPath "$env:AGENT_HOMEDIR... | cwoolum/vso-agent-tasks | Tests/L0/PublishSymbols/Add-DbghelpLibrary.ThrowsIfDllNotFound.ps1 | PowerShell | mit | 558 |
[CmdletBinding(PositionalBinding=$false)]
param ()
Set-StrictMode -version 2.0
$ErrorActionPreference = "Stop"
# Kill any instances VBCSCompiler.exe to release locked files, ignoring stderr if process is not open
# This prevents future CI runs from failing while trying to delete those files.
# Kill any instances of ... | yeaicc/roslyn | src/Tools/MicroBuild/cibuild.ps1 | PowerShell | apache-2.0 | 1,210 |
# This file is part of Invoke-Obfuscation.
#
# Copyright 2017 Daniel Bohannon <@danielhbohannon>
# while at Mandiant <http://www.mandiant.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy ... | EmpireProject/Empire | lib/powershell/Invoke-Obfuscation/Out-EncodedOctalCommand.ps1 | PowerShell | bsd-3-clause | 23,941 |
<#
.SYNOPSIS
Performs the actions needed to prepare the deployment for the Order Fulfillment application, including
it's API and associated Web Jobs
.DESCRIPTION
Performs the actions needed to prepare the deployment for the Order Fulfillment application, including
it's API and associated Web Jobs
#... | jsquire/Portfolio | src/OrderFulfillment/Build/prepare-deployment.ps1 | PowerShell | mit | 5,246 |
param
(
$Arg1,
$Arg2
)
Write-Host "Arg1 = $Arg1"
Write-Host "Arg2 = $Arg2"
Write-Host 'Alive'
Write-Warning 'Danger'
Write-Error 'Dead' | rafd123/PowerBridge | src/PowerBridge.Tests/IntegrationTests/InvokePowerShellWithFileTestResources/WhenInvokingScriptFileWithArguments.ps1 | PowerShell | mit | 151 |
workflow Backup-BlobStorageAccount {
param (
[parameter(Mandatory=$true)]
[String]
$AzureConnectionName,
[parameter(Mandatory=$true)]
[String]
$StorageAccountNameToTakeBackupFrom,
[parameter(Mandatory=$true)]
[String]
$StorageAccountNameToT... | XomniCloud/xomni-azure-automation-blob-storage-backup | scripts/Backup-BlobStorageAccount.ps1 | PowerShell | mit | 6,323 |
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[parameter(Mandatory = $true)] [System.String] $Name,
[parameter(Mandatory = $true)] [System.String] $Url,
[parameter(Mandatory = $true)] [ValidateSet("Farm","WebApplication","... | HiltonGiesenow/xSharePoint | Modules/xSharePoint/DSCResources/MSFT_xSPFeature/MSFT_xSPFeature.psm1 | PowerShell | mit | 3,459 |
# Bulk Create New Users
# Add them to assigned groups
#
###########################################
#Create users
$Users = Import-Csv C:\ScriptSources\AtlasCMPDallasUsers.csv
foreach ($User in $Users)
{
$Displayname = $User.'Firstname' + " " + $User.'Lastname'
... | EmpressDeIT/PowerShell | ISE_Tabs/AD_BulkCreateUsers.ps1 | PowerShell | mit | 2,011 |
ConvertFrom-StringData @'
SessionNotFound = "Spotify Session not established. Please run Connect-Spotify."
TokenExpiredGenerating = "Session has expired. Requesting new token."
'@
| rdbartram/PSSpotify | Localized/en-US/Strings.psd1 | PowerShell | mit | 184 |
Function Remove-GitLabMergeRequest {
<#
.SYNOPSIS
Deletes a GitLab merge request from project.
.DESCRIPTION
Deletes a GitLab merge request from project. Can only be done by ID. Supports should process.
.EXAMPLE
Remove-GitLabMergeRequest -ProjectId 8 -Id 99
#>
[cmdletbinding(SupportsShouldProcess,ConfirmImpact='High')]
... | lw-schick/PSGitLab | PSGitLab/Public/MergeRequests/Remove-GitLabMergeRequest.ps1 | PowerShell | mit | 1,082 |
$modules = 'C:\Program Files\WindowsPowerShell\Modules\'
$modulename = 'xCertificate'
$Description = 'This module includes DSC resources that simplify administration of certificates on a Windows Server'
if (!(test-path (join-path $modules $modulename))) {
$modulefolder = mkdir (join-path $modules $modulenam... | randorfer/RunbookExample | PowerShellModules/xCertificate/1.1.0.0/Examples/DSCResourceDesigner_CreateScript.ps1 | PowerShell | mit | 7,233 |
#requires -Version 3
function Get-RubrikQstarArchive
{
<#
.SYNOPSIS
Connects to Rubrik and retrieves a list of QStar archive targets
.DESCRIPTION
The Get-RubrikQstarArchive cmdlet is used to pull a list of configured QStar archive targets from the Rubrik cluster.
.NOTES
Written b... | rubrikinc/PowerShell-Module | Rubrik/Public/Get-RubrikQstarArchive.ps1 | PowerShell | mit | 3,292 |
$ErrorActionPreference = 'Stop';
$packageName = 'orionsdk'
$softwareName = 'SolarWinds Orion SDK *'
$installerType = 'MSI'
$silentArgs = '/qn /norestart'
$validExitCodes = @(0, 3010, 1605, 1614, 1641)
if ($installerType -ne 'MSI') {
$validExitCodes = @(0)
}
$uninstalled = $false
$local_key = 'HKCU:\Softwar... | solarwinds/OrionSDK | Chocolatey/tools/chocolateyuninstall.ps1 | PowerShell | apache-2.0 | 1,609 |
$packageName = 'cdex'
$installerType = 'exe'
$silentArgs = '/S'
$url = 'http://mirror.cdex.mu/CDex-1.89.exe'
$checksum = '25ec2ef55dcf6e970f2fb8446a635d6be54b4bb41a0281e04f64a99a771128e8'
$checksumType = 'sha256'
$validExitCodes = @(0)
$scriptPath = Split-Path -parent $MyInvocation.MyCommand.Definition
$ahkFile = "$sc... | dtgm/chocolatey-packages | automatic/_output/cdex/1.89/tools/chocolateyInstall.ps1 | PowerShell | apache-2.0 | 761 |
function Load-ModulesFrom {
[CmdletBinding()]
Param(
[Parameter(Mandatory=$False)]
[string]$ModuleDirectory = $(Read-Host -Prompt "Please enter the full path to the directory that contains PowerShell Modules you would like to load"),
[Parameter(Mandatory=$False)]
[string[]]$Modu... | pldmgg/misc-powershell | MyFunctions/Load-ModulesFrom.ps1 | PowerShell | apache-2.0 | 9,494 |
$packageName = 'electrum.install'
$installerType = 'exe'
$silentArgs = '/S'
$url = 'https://download.electrum.org/2.9.1/electrum-2.9.1-setup.exe'
$checksum = 'dd234a03fbab88d16e1219f42ba123d7654aba1b4c13750881915731b913eda7'
$checksumType = 'sha256'
$validExitCodes = @(0)
Install-ChocolateyPackage -PackageName "$packa... | dtgm/chocolatey-packages | automatic/_output/electrum.install/2.9.1/tools/chocolateyInstall.ps1 | PowerShell | apache-2.0 | 644 |
."$($env:WindowsSDK_ExecutablePath_x86)sn.exe" -Vr '*,3707daa0b119fc14'
."$($env:WindowsSDK_ExecutablePath_x64)sn.exe" -Vr '*,3707daa0b119fc14' | icraftsoftware/BizTalk.Factory | utils/SkipVerification.ps1 | PowerShell | apache-2.0 | 144 |
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
function Stop-Pester($message = "EMERGENCY: Script cannot continue.")
{
$msg = $message;
$e = New-CustomErrorRecord -msg $msg -cat OperationStopped -o $msg;
$PSCmdlet.ThrowTerminati... | dfensgmbh/biz.dfch.PS.Azure.ServiceBus.Client | it/SBClientBroadcast.Tests.ps1 | PowerShell | apache-2.0 | 25,133 |
$packageName = 'firefox-nightly'
$softwareVersion = '56.0.1.2017062212-alpha' -Replace "^(\d+)\.(\d+)\.(\d+)[^-]+-([a-z]).*",'$1.$2$4$3'
$softwareName = "Nightly $softwareVersion*"
$installerType = 'exe'
$silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'
$validExitCodes = @(0)
[array]$key = Get-UninstallReg... | dtgm/chocolatey-packages | automatic/_output/firefox-nightly/56.0.1.2017062212/tools/chocolateyUninstall.ps1 | PowerShell | apache-2.0 | 817 |
$packageName = 'winedt'
$installerType = 'exe'
$silentArgs = '/S'
$url = 'http://www.winedt.com/download/winedt91-32.exe'
$checksum = '272685aa8fc271fb73e76c104a08ed909c46d90b'
$checksumType = 'sha1'
$url64 = 'http://www.winedt.com/download/winedt91-64.exe'
$checksum64 = '2fdf097cc69f696ca83d0fb5cda48ee8ba516542'
$chec... | dtgm/chocolatey-packages | automatic/_output/winedt/9.1.20150731/tools/chocolateyInstall.ps1 | PowerShell | apache-2.0 | 897 |
@{
GUID="766204A6-330E-4263-A7AB-46C87AFC366C"
Author="PowerShell"
CompanyName="Microsoft Corporation"
Copyright="Copyright (c) Microsoft Corporation."
ModuleVersion="7.0.0.0"
CompatiblePSEditions = @("Core")
PowerShellVersion="3.0"
FunctionsToExport = @()
CmdletsToExport="Disable-WSManCredSSP", "Enable-WSManCredSSP", ... | daxian-dbw/PowerShell | src/Modules/Windows/Microsoft.WSMan.Management/Microsoft.WSMan.Management.psd1 | PowerShell | mit | 708 |
# powershell v2 compatibility
$psVer = $PSVersionTable.PSVersion.Major
if ($psver -ge 3) {
function Get-ChildItemDir {Get-ChildItem -Directory $args}
} else {
function Get-ChildItemDir {Get-ChildItem $args}
}
$warningPreference = "Continue"
$chocoLib = Join-Path $env:ChocolateyInstall "lib"
if (Test-Path -PathType ... | dtgm/chocolatey-packages | automatic/_output/regscanner/2.16/tools/chocolateyUninstall.ps1 | PowerShell | apache-2.0 | 958 |
function Handle-LastError {
[CmdletBinding()]
param(
)
$message = $error[0].Exception.Message
if ($message) {
Write-Error "`n$message"
}
}
function ConvertTo-Array {
[CmdletBinding()]
param (
[parameter(ValueFromPipeline)]
$value,
[switch] $RemoveNull,
... | Azure/azure-devtestlab | tasks/PowerShell/AzureDtlPopulateEnvironment/task-funcs.ps1 | PowerShell | mit | 9,489 |
$(if ($DisplayName -ne $SchemaName){
"[alias(`"$SchemaName`")]"
})
[Parameter(Position=$Pos, ParameterSetName=`"Common`", ValueFromPipelineByPropertyName=`$$AttributeValueFromPipeline)]
[$($AttributeToParameterTypeMapping[$AttributeType])]`$$DisplayName, | kabtoffe/xrm-powershell-advanced-function-generator | XrmFunctionGenerator/Templates/Common/DefaultParameterTemplate.ps1 | PowerShell | mit | 258 |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# On Unix paths is separated by colon
# On Windows paths is separated by semicolon
$script:TestModulePathSeparator = [System.IO.Path]::PathSeparator
$dotnetCLIChannel = "release"
$dotnetCLIRequiredVersion = $(Get-Content $PS... | Cowmonaut/PowerShell | build.psm1 | PowerShell | mit | 110,145 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.