full_path stringlengths 31 232 | filename stringlengths 4 167 | content stringlengths 0 48.3M |
|---|---|---|
PowerShellCorpus/Github/sabihami_ThinkTank/ThinkTank/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/MicrosoftDocs_DocsRoot.uk-ua/.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/creativewebcoder_asp/mvcStore/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/creativewebcoder_asp/mvcStore/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/creativewebcoder_asp/mvcStore/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/creativewebcoder_asp/mvcStore/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/creativewebcoder_asp/mvcStore/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/creativewebcoder_asp/mvcStore/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/creativewebcoder_asp/mvcStore/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/creativewebcoder_asp/mvcStore/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/creativewebcoder_asp/mvcStore/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/PlagueHO_New-NanoServerVHD/Convert-WindowsImage.ps1 | Convert-WindowsImage.ps1 |
function
Convert-WindowsImage
{
<#
.NOTES
Copyright (c) Microsoft Corporation. All rights reserved.
Use of this sample source code is subject to the terms of the Microsoft
license agreement under which you licensed this sample source code. If
you did not accept the t... |
PowerShellCorpus/Github/PlagueHO_New-NanoServerVHD/New-NanoServerVHD.ps1 | New-NanoServerVHD.ps1 | <#
.SYNOPSIS
Creates a bootable VHD/VHDx containing Windows Server Nano 2016 RTM
.DESCRIPTION
Creates a bootable VHD/VHDx containing Windows Server Nano 2016 using the publically available Windows Server 2016 RTM ISO.
This script needs the Convert-WindowsImage.ps1 script to be i... |
PowerShellCorpus/Github/lowfar_MattsTraining/MyFile.ps1 | MyFile.ps1 | <#
.SYNOPSIS
<A brief description of the script>
.DESCRIPTION
<A detailed description of the script>
.PARAMETER <paramName>
<Description of script parameter>
.EXAMPLE
<An example of using the script>
#>
. D:\DBA\HIP\DataIntegration\FileTransferFunctionsA.ps1
#config file
[string]$ConfiguartionFi... |
PowerShellCorpus/Github/v-peliao_E2E_NewRepo_1489632911943/.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/SvetlovA_Diploma_CertifyingCommission/CertifyingCommission/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/SvetlovA_Diploma_CertifyingCommission/CertifyingCommission/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/v-peliao_AAA/.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/OPSTest_test0310/.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/sunnyc7_PowerShell/Scripts/New-Password.ps1 | New-Password.ps1 | Function Get-Password( $Length, $Complexity) {
# $Length variable serves a dual Purpose
# It assumes nobody wants a tiny password less than
# 8 characters so anything less than than it used
# to pull up one of 8 predined password templates
If ($Length -eq $NULL) { $Length = 0 }
# If you're going "100%" ... |
PowerShellCorpus/Github/sunnyc7_PowerShell/Scripts/New-ADSite.ps1 | New-ADSite.ps1 | Function New-ADSite {
<#
.SYNOPSIS
NAME: New-ADSite
This script creates a new Active Directory site along with required components (site subnet & site link).
.DESCRIPTION
This script creates a new Active Directory site along with required components (site subnet & site link).
.PARAMETE... |
PowerShellCorpus/Github/sunnyc7_PowerShell/Scripts/Compare-Hotfix2.ps1 | Compare-Hotfix2.ps1 | Function Compare-InstalledHotfix {
param (
[parameter(Mandatory=$true,Position=0)]
$server1,
[parameter(Mandatory=$true,Position=1)]
$server2,
[parameter(Mandatory=$true,Position=3)]
[Management.Automation.PSCredential]
$credential
)
$server1HotFix = get-hotfix -computer $server1 -Credential $credenti... |
PowerShellCorpus/Github/sunnyc7_PowerShell/Scripts/New-ProxyFunction.ps1 | New-ProxyFunction.ps1 | Get-AdUserProxyFunction {
$metaData = New-Object System.Management.Automation.CommandMetaData (gcm Get-AdUser)
[System.Management.Automation.ProxyCommand]::create($MetaData)
} |
PowerShellCorpus/Github/sunnyc7_PowerShell/Scripts/Get-MyAdUser.ps1 | Get-MyAdUser.ps1 | Function Get-MyADUser {
[CmdletBinding(DefaultParameterSetName='Filter')]
param(
[Parameter(ParameterSetName='Filter')]
[ValidateNotNullOrEmpty()]
[System.String]
${Filter},
[Parameter(ParameterSetName='Filter', Mandatory=$true, Position = 0)]
[ValidateNotNullOrEmpty()]
[System.St... |
PowerShellCorpus/Github/sunnyc7_PowerShell/Scripts/Copy-Claims.ps1 | Copy-Claims.ps1 | Function Copy-Claims {
param (
[Parameter(Mandatory=$true)]
[Alias("SourceRP")]
$SourceRelyingParty,
[Parameter(Mandatory=$true)]
[Alias("DestRP")]
$DestinationRelyingParty
)
Add-PSSnapin Microsoft.Adfs.PowerShell | Out-Null
$claims = (Get-ADFSRelyingPartyTrust $SourceRelyingParty).IssuanceTransformRule... |
PowerShellCorpus/Github/sunnyc7_PowerShell/Scripts/Demo-ScriptMethods.ps1 | Demo-ScriptMethods.ps1 | Function New-Test {
param ($Name = "Demo Test")
$obj = new-object psobject -Property @{
"Name" = $Name;
"Passed" = $false ;
"ResultData" = "These are results"
'ExecutedBy' = "Andy";
'Date' = Get-Date;
'ExecutedOnServer' = "Server 1"
}
$obj | Add-Member... |
PowerShellCorpus/Github/sunnyc7_PowerShell/Scripts/Get-WindowsUpdateInfo.ps1 | Get-WindowsUpdateInfo.ps1 | $AutoUpdateNotificationLevels= @{ 0="Not configured";
1="Disabled";
2="Notify before download";
3="Notify before installation";
4="Scheduled installation"
... |
PowerShellCorpus/Github/sunnyc7_PowerShell/Scripts/Add-Administrator.ps1 | Add-Administrator.ps1 | Function Add-Administrator {
<#
.Synopsis Adds a group to the local administrators group on a remote machine
.Notes
Author Andy Schneider
http://www.itfishingpole.com
#>
param (
[Parameter(Mandatory=$True, Position=0, ValueFromPipeline=$True)]
$Computers,
[Parameter(Mandatory=$True, Positi... |
PowerShellCorpus/Github/sunnyc7_PowerShell/Scripts/Get-AdUser.ps1 | Get-AdUser.ps1 |
Function Get-AdUser {
[CmdletBinding(DefaultParameterSetName='Filter')]
param(
[Parameter(ParameterSetName='Filter', Mandatory=$false)]
[ValidateNotNullOrEmpty()]
[System.String]
${Filter},
[Parameter(ParameterSetName='Filter', Mandatory=$false, ValueFromPipeline=$true, Position=0)]... |
PowerShellCorpus/Github/sunnyc7_PowerShell/Scripts/Configure-Iscsi.ps1 | Configure-Iscsi.ps1 | <#
Author: Andy Schneider
Date: 8/1/2012
#>
Function Get-iSCSITargetInfo {
$ipRegex = "(?<IPAddress>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\s+"
get-wmiobject -Namespace root\wmi -class MSiSCSIInitiator_TargetClass |
select-object TargetName, @{n="IPAddress";e={[void]($_.DiscoveryMechanism -match $ipRegex); $match... |
PowerShellCorpus/Github/sunnyc7_PowerShell/Scripts/New-Choice.ps1 | New-Choice.ps1 |
function New-Choice {
<#
.SYNOPSIS
The New-Choice function is used to provide extended control to a script author who writing code
that will prompt a user for information.
.PARAMETER Choices
An Array of Choices, ie Yes, No and Maybe
.PARAMETER Caption
Caption to present to end user
... |
PowerShellCorpus/Github/sunnyc7_PowerShell/Scripts/Set-Utility.ps1 | Set-Utility.ps1 |
# ==============================================================================================
# NAME: Utility Library
#
# AUTHOR: Andy Schneider , Avanade, Inc
# DATE : 10/3/2007
#
# COMMENT: Called by profile
#
# =======================================================================================... |
PowerShellCorpus/Github/sunnyc7_PowerShell/Scripts/Resolve-DnsHostName.ps1 | Resolve-DnsHostName.ps1 | Function Resolve-DnsHostName {
<#
.Synopsis
Takes an IP address and returns a PS custom Object with a hostname
and an IP Address
.Example
Resolve-DnsHostName -ip 10.10.10.10
.Example
"10.10.10.10","10.10.10.11" | Resolve-DnsHostName
#>
param
(
[Parameter( Mandatory = $true,
... |
PowerShellCorpus/Github/sunnyc7_PowerShell/Scripts/Set-Alias.ps1 | Set-Alias.ps1 |
Set-Alias -Name grep -value Select-String
Set-Alias -Name kosh -Value Stop-OtherPSSessions
Set-Alias -Name killapp -value Stop-Application
Set-Alias -Name func -value Show-Function
Set-Alias -Name sign -value sign-script
Set-Alias -Name ih -value Invoke-History
Set-Alias -Name utd -value Update-TypeD... |
PowerShellCorpus/Github/joonro_ConEmu-Color-Themes/Install-ConEmuTheme.ps1 | Install-ConEmuTheme.ps1 | [CmdletBinding()]
param (
[Parameter(Position = 0, Mandatory = $false)]
[ValidateNotNullOrEmpty()]
[ValidateScript({Test-Path -Path $_})]
[string]
$ConfigPath = $env:APPDATA + "\ConEmu.xml",
[Parameter(Position = 1, Mandatory = $true)]
[ValidateSet("Add", "Remove")]
[string]... |
PowerShellCorpus/Github/johancyprich_Copy-DFSiPrintLicense/Copy-DFSiPrintLicense.Settings.ps1 | Copy-DFSiPrintLicense.Settings.ps1 | ### APPLICATION Copy-DFSiPrintLicense Settings
### VERSION 1.0.0
### DATE January 27, 2015
### AUTHOR Johan Cyprich
### AUTHOR URL www.cyprich.com
### AUTHOR EMAIL jcyprich@live.com
###
### LICENSE
### The MIT License (MIT)
### httpopensource.orglicensesmit-license.php###
###
### Copyright (c) 2015 Johan ... |
PowerShellCorpus/Github/johancyprich_Copy-DFSiPrintLicense/Copy-DFSiPrintLicense.ps1 | Copy-DFSiPrintLicense.ps1 | ### APPLICATION: Copy-DFSiPrintLicence
### VERSION: 1.0.0
### DATE: January 27, 2015
### AUTHOR: Johan Cyprich
### AUTHOR URL: www.cyprich.com
### AUTHOR EMAIL: jcyprich@live.com
###
### LICENSE:
### The MIT License (MIT)
### http://opensource.org/licenses/MIT
###
### Copyright (c) 2015 Johan Cyprich. All... |
PowerShellCorpus/Github/sillyx_TaskRelease/TaskRelease/TaskRelease.Api/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/sillyx_TaskRelease/TaskRelease/TaskRelease.Api/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/sillyx_TaskRelease/TaskRelease/TaskRelease.Api/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/sillyx_TaskRelease/TaskRelease/TaskRelease.Api/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/sillyx_TaskRelease/TaskRelease/TaskRelease.Api/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/sillyx_TaskRelease/TaskRelease/TaskRelease.Api/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/OPS-E2E-Prod_E2E_P_D_NewRepo_2017_4_1_14_11_/.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/mmitev_DevOps/EnvConfig/PS/WinFeatures/WinFeaturesConfigurator.ps1 | WinFeaturesConfigurator.ps1 | import-module ServerManager
function ApplyFeatures($featuresConfiguration) {
GuardAgainstNull $featuresConfiguration "No features configuration passed to ApplyFeatures"
foreach($featureConfig in $featuresConfiguration) {
EnsureFeatureActive $featureConfig.Name
}
}
function EnsureFeatureAc... |
PowerShellCorpus/Github/mmitev_DevOps/EnvConfig/PS/WinFeatures/ApplyFeatureSet.ps1 | ApplyFeatureSet.ps1 | $ErrorActionPreference = "Stop"
function Get-ScriptDirectory
{
Split-Path $script:MyInvocation.MyCommand.Path
}
if($relConfigFilePath -eq $null) {
Write-Host "no relConfigFilePath set!"
exit 1
}
$configFilePath = Join-Path (Get-ScriptDirectory) $relConfigFilePath
.$configFilePath
if($relConf... |
PowerShellCorpus/Github/mmitev_DevOps/EnvConfig/PS/WinFeatures/ConfigureWebServer.ps1 | ConfigureWebServer.ps1 | $relConfigFilePath = "WebServerFeatureSet1"
. ".\ApplyFeatureSet.ps1" |
PowerShellCorpus/Github/mmitev_DevOps/EnvConfig/PS/WinFeatures/WebServerFeatureSet1.ps1 | WebServerFeatureSet1.ps1 | $winFeaturesConfig = @(
@{
Name="Web-Static-Content";
},
@{
Name="Web-Asp-Net";
},
@{
Name="Web-ISAPI-Ext";
},
@{
Name="Web-Stat-Compression";
},
@{
Name="Web-Dyn-Compression";
},
@{
Name="Web-Mgmt-Console";
... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTaskTS/src/ExampleTask/ps_modules/VstsTaskSdk/LongPathFunctions.ps1 | LongPathFunctions.ps1 | ########################################
# Private functions.
########################################
function ConvertFrom-LongFormPath {
[CmdletBinding()]
param([string]$Path)
if ($Path) {
if ($Path.StartsWith('\\?\UNC')) {
# E.g. \\?\UNC\server\share -> \\server\share
... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTaskTS/src/ExampleTask/ps_modules/VstsTaskSdk/OutFunctions.ps1 | OutFunctions.ps1 | # TODO: It would be better if the Out-Default function resolved the underlying Out-Default
# command in the begin block. This would allow for supporting other modules that override
# Out-Default.
$script:outDefaultCmdlet = $ExecutionContext.InvokeCommand.GetCmdlet("Microsoft.PowerShell.Core\Out-Default")
########... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTaskTS/src/ExampleTask/ps_modules/VstsTaskSdk/ServerOMFunctions.ps1 | ServerOMFunctions.ps1 | <#
.SYNOPSIS
Gets a credentials object that can be used with the TFS extended client SDK.
.DESCRIPTION
The agent job token is used to construct the credentials object. The identity associated with the token depends on the scope selected in the build/release definition (either the project collection build/release ... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTaskTS/src/ExampleTask/ps_modules/VstsTaskSdk/FindFunctions.ps1 | FindFunctions.ps1 | <#
.SYNOPSIS
Finds files or directories.
.DESCRIPTION
Finds files or directories using advanced pattern matching.
.PARAMETER LiteralDirectory
Directory to search.
.PARAMETER LegacyPattern
Proprietary pattern format. The LiteralDirectory parameter is used to root any unrooted patterns.
Separate multiple... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTaskTS/src/ExampleTask/ps_modules/VstsTaskSdk/LocalizationFunctions.ps1 | LocalizationFunctions.ps1 | $script:resourceStrings = @{ }
<#
.SYNOPSIS
Gets a localized resource string.
.DESCRIPTION
Gets a localized resource string and optionally formats the string with arguments.
If the format fails (due to a bad format string or incorrect expected arguments in the format string), then the format string is retur... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTaskTS/src/ExampleTask/ps_modules/VstsTaskSdk/InputFunctions.ps1 | InputFunctions.ps1 | $script:secureInputs = @{ }
<#
.SYNOPSIS
Gets an endpoint.
.DESCRIPTION
Gets an endpoint object for the specified endpoint name. The endpoint is returned as an object with three properties: Auth, Data, and Url.
The Data property requires a 1.97 agent or higher.
.PARAMETER Require
Writes an error to the ... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTaskTS/src/ExampleTask/ps_modules/VstsTaskSdk/TraceFunctions.ps1 | TraceFunctions.ps1 | <#
.SYNOPSIS
Writes verbose information about the invocation being entered.
.DESCRIPTION
Used to trace verbose information when entering a function/script. Writes an entering message followed by a short description of the invocation. Additionally each bound parameter and unbound argument is also traced.
.PARAM... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTaskTS/src/ExampleTask/ps_modules/VstsTaskSdk/LoggingCommandFunctions.ps1 | LoggingCommandFunctions.ps1 | $script:loggingCommandPrefix = '##vso['
$script:loggingCommandEscapeMappings = @( # TODO: WHAT ABOUT "="? WHAT ABOUT "%"?
New-Object psobject -Property @{ Token = ';' ; Replacement = '%3B' }
New-Object psobject -Property @{ Token = "`r" ; Replacement = '%0D' }
New-Object psobject -Property @{ Token = "`... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTaskTS/src/ExampleTask/ps_modules/VstsTaskSdk/ToolFunctions.ps1 | ToolFunctions.ps1 | <#
.SYNOPSIS
Asserts that a path exists. Throws if the path does not exist.
.PARAMETER PassThru
True to return the path.
#>
function Assert-Path {
[CmdletBinding()]
param(
[Parameter(Mandatory = $true)]
[string]$LiteralPath,
[Microsoft.PowerShell.Commands.TestPathType]$PathT... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTask/ExampleTask/task.ps1 | task.ps1 | #
# ExampleTask.ps1
#
[CmdletBinding(DefaultParameterSetName = 'None')]
param()
Write-Host "Starting ExampleTask"
Trace-VstsEnteringInvocation $MyInvocation
try {
$variable1 = Get-VstsInput -Name variable1 -Require
$variable2 = Get-VstsInput -Name variable2
} catch {
} finall... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTask/ExampleTask/ps_modules/VstsTaskSdk/LongPathFunctions.ps1 | LongPathFunctions.ps1 | ########################################
# Private functions.
########################################
function ConvertFrom-LongFormPath {
[CmdletBinding()]
param([string]$Path)
if ($Path) {
if ($Path.StartsWith('\\?\UNC')) {
# E.g. \\?\UNC\server\share -> \\server\share
... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTask/ExampleTask/ps_modules/VstsTaskSdk/OutFunctions.ps1 | OutFunctions.ps1 | # TODO: It would be better if the Out-Default function resolved the underlying Out-Default
# command in the begin block. This would allow for supporting other modules that override
# Out-Default.
$script:outDefaultCmdlet = $ExecutionContext.InvokeCommand.GetCmdlet("Microsoft.PowerShell.Core\Out-Default")
########... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTask/ExampleTask/ps_modules/VstsTaskSdk/ServerOMFunctions.ps1 | ServerOMFunctions.ps1 | <#
.SYNOPSIS
Gets a credentials object that can be used with the TFS extended client SDK.
.DESCRIPTION
The agent job token is used to construct the credentials object. The identity associated with the token depends on the scope selected in the build/release definition (either the project collection build/release ... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTask/ExampleTask/ps_modules/VstsTaskSdk/FindFunctions.ps1 | FindFunctions.ps1 | <#
.SYNOPSIS
Finds files or directories.
.DESCRIPTION
Finds files or directories using advanced pattern matching.
.PARAMETER LiteralDirectory
Directory to search.
.PARAMETER LegacyPattern
Proprietary pattern format. The LiteralDirectory parameter is used to root any unrooted patterns.
Separate multiple... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTask/ExampleTask/ps_modules/VstsTaskSdk/LocalizationFunctions.ps1 | LocalizationFunctions.ps1 | $script:resourceStrings = @{ }
<#
.SYNOPSIS
Gets a localized resource string.
.DESCRIPTION
Gets a localized resource string and optionally formats the string with arguments.
If the format fails (due to a bad format string or incorrect expected arguments in the format string), then the format string is retur... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTask/ExampleTask/ps_modules/VstsTaskSdk/InputFunctions.ps1 | InputFunctions.ps1 | $script:secureInputs = @{ }
<#
.SYNOPSIS
Gets an endpoint.
.DESCRIPTION
Gets an endpoint object for the specified endpoint name. The endpoint is returned as an object with three properties: Auth, Data, and Url.
The Data property requires a 1.97 agent or higher.
.PARAMETER Require
Writes an error to the ... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTask/ExampleTask/ps_modules/VstsTaskSdk/TraceFunctions.ps1 | TraceFunctions.ps1 | <#
.SYNOPSIS
Writes verbose information about the invocation being entered.
.DESCRIPTION
Used to trace verbose information when entering a function/script. Writes an entering message followed by a short description of the invocation. Additionally each bound parameter and unbound argument is also traced.
.PARAM... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTask/ExampleTask/ps_modules/VstsTaskSdk/LoggingCommandFunctions.ps1 | LoggingCommandFunctions.ps1 | $script:loggingCommandPrefix = '##vso['
$script:loggingCommandEscapeMappings = @( # TODO: WHAT ABOUT "="? WHAT ABOUT "%"?
New-Object psobject -Property @{ Token = ';' ; Replacement = '%3B' }
New-Object psobject -Property @{ Token = "`r" ; Replacement = '%0D' }
New-Object psobject -Property @{ Token = "`... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTask/ExampleTask/ps_modules/VstsTaskSdk/ToolFunctions.ps1 | ToolFunctions.ps1 | <#
.SYNOPSIS
Asserts that a path exists. Throws if the path does not exist.
.PARAMETER PassThru
True to return the path.
#>
function Assert-Path {
[CmdletBinding()]
param(
[Parameter(Mandatory = $true)]
[string]$LiteralPath,
[Microsoft.PowerShell.Commands.TestPathType]$PathT... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTask/test/ExampleTask.Tests.ps1 | ExampleTask.Tests.ps1 | New-Fixture deploy TestExample
<#
Creates two files:
./deploy/Clean.ps1
#>
function TestExample {
}
# ./deploy/Clean.Tests.ps1
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path) -replace '\.Tests\.', '.'
. "$here\$sut"
Describe "TestExam... |
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTask/test/deploy/TestExample.Tests.ps1 | TestExample.Tests.ps1 | $here = Split-Path -Parent $MyInvocation.MyCommand.Path
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path) -replace '\.Tests\.', '.'
. "$here\$sut"
Describe "TestExample" {
It "does something useful" {
$true | Should Be $false
}
}
|
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/VSTSBuildTask/test/deploy/TestExample.ps1 | TestExample.ps1 | function TestExample {
}
|
PowerShellCorpus/Github/jgarverick_vsts-ext-proj-templates/BuildReleaseTaskItem/task.ps1 | task.ps1 | #
# ExampleTask.ps1
#
[CmdletBinding(DefaultParameterSetName = 'None')]
param()
Write-Host "Starting ExampleTask"
Trace-VstsEnteringInvocation $MyInvocation
try {
$variable1 = Get-VstsInput -Name variable1 -Require
$variable2 = Get-VstsInput -Name variable2
} catch {
} finally ... |
PowerShellCorpus/Github/zaefrul_BMS/BMS/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/zaefrul_BMS/BMS/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/zaefrul_BMS/BMS/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/zaefrul_BMS/BMS/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/zaefrul_BMS/BMS/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/zaefrul_BMS/BMS/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/zaefrul_BMS/BMS/packages/Microsoft.ApplicationInsights.WindowsServer.2.2.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/zaefrul_BMS/BMS/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/zaefrul_BMS/BMS/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/zaefrul_BMS/BMS/packages/Microsoft.Web.Infrastructure.1.0.0.0/tools/Install.ps1 | Install.ps1 | param($installPath, $toolsPath, $package, $project)
if ($project.Type -eq 'Web Site') {
Import-Module (Join-Path $toolsPath VS.psd1)
$srcFiles = Join-Path $installPath "lib\net40\*.dll"
$projectRoot = Get-ProjectRoot $project
if (!$projectRoot) {
return;
}
$destDirec... |
PowerShellCorpus/Github/zaefrul_BMS/BMS/packages/Microsoft.Web.Infrastructure.1.0.0.0/tools/Uninstall.ps1 | Uninstall.ps1 | param($installPath, $toolsPath, $package, $project)
if ($project.Type -eq 'Web Site') {
Import-Module (Join-Path $toolsPath VS.psd1)
$projectRoot = Get-ProjectRoot $project
if (!$projectRoot) {
return;
}
$binDirectory = Join-Path $projectRoot "bin"
$srcDirectory = Join-Path $... |
PowerShellCorpus/Github/zaefrul_BMS/BMS/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/zaefrul_BMS/BMS/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.3/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/zaefrul_BMS/BMS/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.3/tools/install.ps1 | install.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'
$projectRoot = $project.Properties.Item('FullPath').Value
$binDirectory... |
PowerShellCorpus/Github/midasvadim_Email-List-Of-Expired-Users-In-AD/EmailExpiredUsers.ps1 | EmailExpiredUsers.ps1 |
# Author: Vadim Smal
# email: vadim.smal@gmail.com
# Updated: 2/27/2012
# Verson: 1.0
#
# Based on a script by Robert Stacks http://randomtechminutia.wordpress.com/2011/11/18/powershell-script-to-notify-users-of-expired-or-about-to-expire-passwords-in-active-directory/
#
# Purpose:
# Powershell script to fi... |
PowerShellCorpus/Github/aksaniandriy_myMVCProject/myMVCProject/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/aksaniandriy_myMVCProject/myMVCProject/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/aksaniandriy_myMVCProject/myMVCProject/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/aksaniandriy_myMVCProject/myMVCProject/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/aksaniandriy_myMVCProject/myMVCProject/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/mejwaller_job5/ps/addTasks.ps1 | addTasks.ps1 |
# Usually changes for each Sprint - both specific to your environment
[string] $areaPath = "Backlog\GUCCI"
[string] $iterationPath = "Backlog\GUCCI"
# Usually changes for each CR
[string] $changeRequestName = Read-Host -Prompt 'Input UserStory Number'
[string] $assignee = "Charlie Salmon"
# Values repr... |
PowerShellCorpus/Github/mejwaller_job5/ps/tfsconnect.ps1 | tfsconnect.ps1 | #so $tfs object available outside function I think
$global:tfs
$global:sprint
$global:devworked = 0;
$global:qaworked = 0;
$global:uiworked = 0;
add-pssnapin Microsoft.TeamFoundation.PowerShell
#see http://blogs.msdn.com/b/yao/archive/2011/06/15/tfs-integration-pack-and-scripting-using-powershell.aspx
[Syst... |
PowerShellCorpus/Github/StartAutomating_SecureSettings/Add-SecureSetting.ps1 | Add-SecureSetting.ps1 | function Add-SecureSetting
{
<#
.Synopsis
Adds an encrypted setting to the registry
.Description
Stores secured user settings in the registry
.Example
Add-SecureSetting AStringSetting 'A String'
.Example
Add-SecureSetting AHashtableSetting @{a='b';c='d'}
... |
PowerShellCorpus/Github/StartAutomating_SecureSettings/Get-SecureSetting.ps1 | Get-SecureSetting.ps1 | function Get-SecureSetting
{
<#
.Synopsis
Gets encrypted settings stored in the registry
.Description
Gets secured user settings stored in the registry
.Example
Get-SecureSetting
.Example
Get-SecureSetting MySetting
.Example
Get-SecureSetting M... |
PowerShellCorpus/Github/StartAutomating_SecureSettings/Write-PowerShellHashtable.ps1 | Write-PowerShellHashtable.ps1 | function Write-PowerShellHashtable {
<#
.Synopsis
Takes an creates a script to recreate a hashtable
.Description
Allows you to take a hashtable and create a hashtable you would embed into a script.
Handles nested hashtables and indents nested hashtables automatically.... |
PowerShellCorpus/Github/StartAutomating_SecureSettings/Remove-SecureSetting.ps1 | Remove-SecureSetting.ps1 | function Remove-SecureSetting
{
<#
.Synopsis
Removes an encrypted setting from the registry
.Description
Removes a stored secured user settings in the registry
.Example
Remove-SecureSetting
.Example
Remove-SecureSetting AStringSetting
.Link
Ad... |
PowerShellCorpus/Github/Mitrend_APISamples/createAssessmentGuided.ps1 | createAssessmentGuided.ps1 | [CmdletBinding()]
Param
(
[Parameter(Mandatory=$true, HelpMessage="Assessment Name")]
[string]$assessmentName,
[Parameter(Mandatory=$true, HelpMessage="Email")]
[string]$email,
[Parameter(Mandatory=$true, HelpMessage="Password")]
[SecureString]$passwordSec,
[Parameter(Mandatory=$true, HelpMessage=... |
PowerShellCorpus/Github/Mitrend_APISamples/createAssessment.ps1 | createAssessment.ps1 | #Either change these values in the script, or enter them as arguments
[CmdletBinding()]
Param
(
[string]$path="C:\YOUR\PATH\TO\FILES",
[string]$ftpPath="c:\mitrend2\apiSamples\ftpExample.txt",
[string]$email=,
[string]$password=,
#Required for EMC and Partners
[string]$company="YOUR COMPANY NAME",
#... |
PowerShellCorpus/Github/mhsohail_CustomDomain/CustomDomain/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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.