full_path stringlengths 31 232 | filename stringlengths 4 167 | content stringlengths 0 48.3M |
|---|---|---|
PowerShellCorpus/Github/rachelmoorehead_powershell-o365/new_resource_mb.ps1 | new_resource_mb.ps1 | <#
.Description Create a new Resource Mailbox and Associated Delegation Security Group
Please change the naming structure to suite your organizations needs.
#>
function New-Resource {
param(
[parameter(Mandatory=$true,HelpMessage="Display Name Used for Resource and Group.")][string... |
PowerShellCorpus/Github/rachelmoorehead_powershell-o365/show-total.ps1 | show-total.ps1 | Function Show-Total {
<#
.SYNOPSIS
Function to list number of items in folders
.DESCRIPTION
Show-Total uses Get-MailboxfolderStatistics to retrieve information about the total number of items in folders in Mailbox. Developed by Lewis Noles 20120307, and updated by Lewis Noles on 20120628.
.PARAMETER MOSID
Custo... |
PowerShellCorpus/Github/rachelmoorehead_powershell-o365/account_access.ps1 | account_access.ps1 | <#
.Description
Functions to Lock and Unlock Accounts in Exchange Online to be used in coordination with regular account disablements.
Functions to Impersonate and Un-impersonate a user.
Lock-User
Unlock-User
Add-Impersonation
Remove-Impersonation
#>
function Lock-U... |
PowerShellCorpus/Github/rachelmoorehead_powershell-o365/adv_user_features.ps1 | adv_user_features.ps1 | <#
.Description Enable Advanced Features: Audit Logging and Single Item Recovery
#>
function Enable-Logging {
param([string]$EmailAddress)
try{
Set-Mailbox $EmailAddress -AuditEnabled $true -AuditLogAgeLimit 365.00:00:00 -AuditAdmin Update,Copy,Move,MoveToDeletedItems,SoftDelete,... |
PowerShellCorpus/Github/rachelmoorehead_powershell-o365/scripting_error_handling.ps1 | scripting_error_handling.ps1 | <#
Various O365 Specific Error Handling
#>
### Checking for an Active Session ###
$status = (Get-PSSession).State
if($status -eq 'Opened'){ <# Do Something #> } else { <# Start a New Session #> }
### Try - Catch Statements ###
try{ <# Your Remote Call #> }
<# Specific Catch Statements ... |
PowerShellCorpus/Github/rachelmoorehead_powershell-o365/expired_users.ps1 | expired_users.ps1 | <#
Generate Account Disablement Listing
#>
$log = "C:\PowerShell\account_disable_log.txt"
if(Test-Path $log){ Remove-Item $log }
$results = "C:\PowerShell\account_disable_results.txt"
if(Test-Path $results){ Remove-Item $results }
<### FUNCTIONS ###>
Function Check-Expiration {
$check... |
PowerShellCorpus/Github/rachelmoorehead_powershell-o365/custom_management_roles.ps1 | custom_management_roles.ps1 | ## Setup Custom Management Role
#
# Turn on Customizations, once on, always on
Enable-OrganizationCustomization
# Create new Management Role based on original
New-ManagementRole -Name Custom_MyBaseOptions -Parent MyBaseOptions
# See what cmdlets it contains
Get-ManagementRole MyBaseOptions| select -expand Rol... |
PowerShellCorpus/Github/rachelmoorehead_powershell-o365/connection_functions.ps1 | connection_functions.ps1 | <# Function Declarations
Note: Ideally added to Windows PowerShell Profile.
Start-Session : Initiate a PS connection to Live@EDU or O365 and import in the O365 API (if required)
End-Session : End Current Session, after checking for impersonation variables
Switch-Tenant : Switch between Microsoft Environments ... |
PowerShellCorpus/Github/bollicino_azure-automation/loadtest-cleandb.ps1 | loadtest-cleandb.ps1 | workflow loadtest-cleandb
{
# Inputs
param (
[Object] $WebhookData
)
# If runbook was called from Webhook, WebhookData will not be null.
if ($WebhookData -ne $null) {
# Collect properties of WebhookData
$WebhookName = $WebhookData.WebhookName
$WebhookHeaders = $W... |
PowerShellCorpus/Github/OPSTest_E2E_Provision_1486617732014/.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/frederic-prochnow_Application-Microsoft.NET/tp7/MaSolution7/packages/Microsoft.ApplicationInsights.WindowsServer.2.1.0/Tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
if ([System.IO.File]::Exists($project.FullName))
{
function MarkItemASCopyToOutput($item)
{
Try
{
#mark it to copy if newer
$item.Properties.Item("CopyToOutputDirectory").Value = 2
}
Catch
{
write-host $_.Exception.ToString()
}... |
PowerShellCorpus/Github/frederic-prochnow_Application-Microsoft.NET/tp7/MaSolution7/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/frederic-prochnow_Application-Microsoft.NET/tp7/MaSolution7/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/frederic-prochnow_Application-Microsoft.NET/tp7/Prochnow/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/frederic-prochnow_Application-Microsoft.NET/tp7/Prochnow/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/OPS-E2E-PPE_E2E_D_NewRepo_2017_5_19_28_58_32/.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/thilokru_OneNote-Backup/backup.ps1 | backup.ps1 | Set-StrictMode -Version "2.0"
Clear-Host
$PathToOneNote = "C:\Program Files (x86)\Microsoft Office\root\Office16\ONENOTE.EXE" #OneNote executable
$BasePath = "C:\Path\To\Backup\Folder" #alternative: $evn:TEMP (for copying and deleting)
echo "Starting OneNote for API access"
Invoke-Item $PathToOneNote
Star... |
PowerShellCorpus/Github/Bhanu1435_BharatAngularJS/Demo/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/Bhanu1435_BharatAngularJS/Demo/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/Bhanu1435_BharatAngularJS/AngularRoutes/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/Bhanu1435_BharatAngularJS/AngularRoutes/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/saffaswede_RockPaperScissorsApp/Rock Paper Scissors/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/saffaswede_RockPaperScissorsApp/Rock Paper Scissors/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/saffaswede_RockPaperScissorsApp/Rock Paper Scissors/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/saffaswede_RockPaperScissorsApp/Rock Paper Scissors/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/saffaswede_RockPaperScissorsApp/Rock Paper Scissors/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/saffaswede_RockPaperScissorsApp/Rock Paper Scissors/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/saffaswede_RockPaperScissorsApp/Rock Paper Scissors/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/saffaswede_RockPaperScissorsApp/Rock Paper Scissors/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/OPS-E2E-PPE_E2E_NewRepo_2017_3_30_22_5_36/.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/4ourbit_ShellFolderProvider/ShellFolderProvider.ps1 | ShellFolderProvider.ps1 | <#PSScriptInfo
.VERSION 1.0.0.0
.GUID ffea0459-5e1c-450b-a7dd-201e11858939
.AUTHOR Oliver Bley
.TAGS ShellFolders
.LICENSEURI https://github.com/4ourbit/ShellFolderProvider/blob/master/LICENSE.md
.PROJECTURI https://github.com/4ourbit/ShellFolderProvider
#>
<#
.DESCRIPTION
Use ShellFolders ... |
PowerShellCorpus/Github/jonathanhickford_azure-devtestlab-artifact-repository/Artifacts/windows-redgate-sqltoolbelt/startChocolatey.ps1 | startChocolatey.ps1 | Param(
# comma- or semicolon-separated list of Chocolatey packages.
[ValidateNotNullOrEmpty()]
[Parameter(Mandatory=$True)]
[string] $packageList
)
Function Get-TempPassword()
{
Param(
[int] $length=10,
[string[]] $sourcedata
)
For ($loop=1; $loop –le $length... |
PowerShellCorpus/Github/jonathanhickford_azure-devtestlab-artifact-repository/Artifacts/windows-redgate-sqltoolbelt/ChocolateyPackageInstaller.ps1 | ChocolateyPackageInstaller.ps1 | <##################################################################################################
Description
===========
- This script does the following -
- installs chocolatey
- installs specified chocolatey packages
- This script generates logs in the following folder -
- %ALLUSERSP... |
PowerShellCorpus/Github/jonathanhickford_azure-devtestlab-artifact-repository/Artifacts/windows-redgate-sql-compare/startChocolatey.ps1 | startChocolatey.ps1 | Param(
# comma- or semicolon-separated list of Chocolatey packages.
[ValidateNotNullOrEmpty()]
[Parameter(Mandatory=$True)]
[string] $packageList
)
Function Get-TempPassword()
{
Param(
[int] $length=10,
[string[]] $sourcedata
)
For ($loop=1; $loop –le $length... |
PowerShellCorpus/Github/jonathanhickford_azure-devtestlab-artifact-repository/Artifacts/windows-redgate-sql-compare/ChocolateyPackageInstaller.ps1 | ChocolateyPackageInstaller.ps1 | <##################################################################################################
Description
===========
- This script does the following -
- installs chocolatey
- installs specified chocolatey packages
- This script generates logs in the following folder -
- %ALLUSERSP... |
PowerShellCorpus/Github/jonathanhickford_azure-devtestlab-artifact-repository/Artifacts/windows-redgate-sql-clone/startChocolatey.ps1 | startChocolatey.ps1 | Param(
# comma- or semicolon-separated list of Chocolatey packages.
[ValidateNotNullOrEmpty()]
[Parameter(Mandatory=$True)]
[string] $packageList
)
Function Get-TempPassword()
{
Param(
[int] $length=10,
[string[]] $sourcedata
)
For ($loop=1; $loop –le $length... |
PowerShellCorpus/Github/jonathanhickford_azure-devtestlab-artifact-repository/Artifacts/windows-redgate-sql-clone/ChocolateyPackageInstaller.ps1 | ChocolateyPackageInstaller.ps1 | <##################################################################################################
Description
===========
- This script does the following -
- installs chocolatey
- installs specified chocolatey packages
- This script generates logs in the following folder -
- %ALLUSERSP... |
PowerShellCorpus/Github/jonathanhickford_azure-devtestlab-artifact-repository/Artifacts/windows-redgate-readyroll/startChocolatey.ps1 | startChocolatey.ps1 | Param(
# comma- or semicolon-separated list of Chocolatey packages.
[ValidateNotNullOrEmpty()]
[Parameter(Mandatory=$True)]
[string] $packageList
)
Function Get-TempPassword()
{
Param(
[int] $length=10,
[string[]] $sourcedata
)
For ($loop=1; $loop –le $length... |
PowerShellCorpus/Github/jonathanhickford_azure-devtestlab-artifact-repository/Artifacts/windows-redgate-readyroll/ChocolateyPackageInstaller.ps1 | ChocolateyPackageInstaller.ps1 | <##################################################################################################
Description
===========
- This script does the following -
- installs chocolatey
- installs specified chocolatey packages
- This script generates logs in the following folder -
- %ALLUSERSP... |
PowerShellCorpus/Github/jonathanhickford_azure-devtestlab-artifact-repository/Artifacts/windows-redgate-dlmautomation/startChocolatey.ps1 | startChocolatey.ps1 | Param(
# comma- or semicolon-separated list of Chocolatey packages.
[ValidateNotNullOrEmpty()]
[Parameter(Mandatory=$True)]
[string] $packageList
)
Function Get-TempPassword()
{
Param(
[int] $length=10,
[string[]] $sourcedata
)
For ($loop=1; $loop –le $length... |
PowerShellCorpus/Github/jonathanhickford_azure-devtestlab-artifact-repository/Artifacts/windows-redgate-dlmautomation/ChocolateyPackageInstaller.ps1 | ChocolateyPackageInstaller.ps1 | <##################################################################################################
Description
===========
- This script does the following -
- installs chocolatey
- installs specified chocolatey packages
- This script generates logs in the following folder -
- %ALLUSERSP... |
PowerShellCorpus/Github/TsuyoshiUshio_SimpleChefClientARM/SimpleChefClient/SimpleChefClient/Scripts/Deploy-AzureResourceGroup.ps1 | Deploy-AzureResourceGroup.ps1 | #Requires -Version 3.0
#Requires -Module AzureRM.Resources
#Requires -Module Azure.Storage
Param(
[string] [Parameter(Mandatory=$true)] $ResourceGroupLocation,
[string] $ResourceGroupName = 'SimpleChefClient',
[switch] $UploadArtifacts,
[string] $StorageAccountName,
[string] $StorageContai... |
PowerShellCorpus/Github/2vcps_purevcops-array/get-rest2vcops_beta2.ps1 | get-rest2vcops_beta2.ps1 | cls
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = { $true }
$FlashArrayName = @('pure1','pure2','pure3','pure4')
$AuthAction = @{
password = "pass"
username = "user"
}
# will ignore SSL or TLS warnings when connecting to the site
[System.Net.ServicePointManager]::Serv... |
PowerShellCorpus/Github/JoaoRicardoCarvalho_Azure-Arm-hello-world/AzureResourceGroup1/AzureResourceGroup1/Scripts/Deploy-AzureResourceGroup.ps1 | Deploy-AzureResourceGroup.ps1 | #Requires -Version 3.0
#Requires -Module AzureRM.Resources
#Requires -Module Azure.Storage
Param(
[string] [Parameter(Mandatory=$true)] $ResourceGroupLocation,
[string] $ResourceGroupName = 'AzureResourceGroup1',
[switch] $UploadArtifacts,
[string] $StorageAccountName,
[string] $StorageAcc... |
PowerShellCorpus/Github/KeystoneIT_Documentation-Scripts/DHCP/DHCP.ps1 | DHCP.ps1 | <#
.SYNOPSIS
This script grabs all DHCP servers in a domain and provides their name, status, and scope
.DESCRIPTION
Options:
-help - Display the current help menu
-silent - Run the script without printing anything
-file <string> - Declare a location to save script output to as a csv
-organ... |
PowerShellCorpus/Github/KeystoneIT_Documentation-Scripts/Supported Applications/FindApps.ps1 | FindApps.ps1 | <#
.SYNOPSIS
This script grabs all installed programs/applications and then compares them to a list of known programs of interest.
This is useful for discovering if common applications like QuickBooks or ShadowProtect are present during initial auditing.
.DESCRIPTION
Options:
-help - Display the current... |
PowerShellCorpus/Github/KeystoneIT_Documentation-Scripts/Active Directory/ActiveDirectory.ps1 | ActiveDirectory.ps1 | <#
.SYNOPSIS
This script grabs all domains in the current forest along with servers hosting all FSMO roles for each domain
.DESCRIPTION
Options:
-help - Display the current help menu
-silent - Run the script without printing anything
-FQDN - Show Fully Qu... |
PowerShellCorpus/Github/KeystoneIT_Documentation-Scripts/File Shares/FileShares.ps1 | FileShares.ps1 | <#
.SYNOPSIS
This script grabs all shared folders in the current server along with their shared path, disk path and permsissions
.DESCRIPTION
Options:
-help - Display the current help menu
-silent - Run the script without printing anything
-url <string> - Give a... |
PowerShellCorpus/Github/key-value_Eagle.Second/packages/Newtonsoft.Json.7.0.1/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/key-value_Eagle.Second/packages/EntityFramework.Commands.7.0.0-beta7/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) -DisableNameChecking
# SIG # Begin signature block
# MIIkCwYJKoZIhvcNAQcCoIIj/DCCI/gCAQExDzANBglghkgBZQMEAgEFADB5B... |
PowerShellCorpus/Github/key-value_Eagle.Second/packages/EntityFramework.Commands.7.0.0-beta7/tools/install.ps1 | install.ps1 | param ($installPath, $toolsPath, $package, $project)
Write-Host
Write-Host 'Type ''get-help EntityFramework'' to see all available Entity Framework commands.'
Write-Host
# SIG # Begin signature block
# MIIp/AYJKoZIhvcNAQcCoIIp7TCCKekCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCA... |
PowerShellCorpus/Github/key-value_Eagle.Second/packages/Microsoft.CodeAnalysis.Analyzers.1.1.0-beta1-20150812-01/tools/uninstall.ps1 | uninstall.ps1 | param($installPath, $toolsPath, $package, $project)
$analyzersPaths = Join-Path (Join-Path (Split-Path -Path $toolsPath -Parent) "analyzers" ) * -Resolve
foreach($analyzersPath in $analyzersPaths)
{
# Uninstall the language agnostic analyzers.
if (Test-Path $analyzersPath)
{
foreach ($ana... |
PowerShellCorpus/Github/key-value_Eagle.Second/packages/Microsoft.CodeAnalysis.Analyzers.1.1.0-beta1-20150812-01/tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
$analyzersPaths = Join-Path (Join-Path (Split-Path -Path $toolsPath -Parent) "analyzers" ) * -Resolve
foreach($analyzersPath in $analyzersPaths)
{
# Install the language agnostic analyzers.
if (Test-Path $analyzersPath)
{
foreach ($analy... |
PowerShellCorpus/Github/key-value_Eagle.Second/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/key-value_Eagle.Second/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/PeteCooney_TFSBuildScripts/Make-NuGetPackages.ps1 | Make-NuGetPackages.ps1 | [CmdletBinding()]
Param
(
[string]$OutputDirectory = "\\tfs\Packages",
[string]$NuGet = "C:\NuGet.exe"
)
[string]$solutionRoot = $env:TF_BUILD_SOURCESDIRECTORY;
[string]$buildVersion = $env:TF_BUILD_BUILDNUMBER;
[string]$binariesPath = $env:TF_BUILD_BINARIESDIRECTORY;
Write "Make-NuGetPackages...";... |
PowerShellCorpus/Github/PeteCooney_TFSBuildScripts/Set-AssemblyVersion.ps1 | Set-AssemblyVersion.ps1 | [CmdletBinding()]
$solutionRoot = $env:TF_BUILD_SOURCESDIRECTORY;
$buildNumber = $env:TF_BUILD_BUILDNUMBER;
Write "Set-AssemblyVersion...";
Write "Solution Root: $solutionRoot";
Write "Build: $buildNumber";
if ($buildNumber -eq $null)
{
$buildNumber = "1.0.0.0"
}
else
{
$parts = $buildNumber.Sp... |
PowerShellCorpus/Github/OPS-E2E-PPE_E2E_NewRepo_2017_3_30_10_5_37/.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/kimizhu_ijifsdjgjsdaj/.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/geoff-rose_PDF-Processing/Download-Attachments.ps1 | Download-Attachments.ps1 | #Author: Geoff Rose
#Description: This script processes invoices sent to invpro@vetpartners.com.au. It downloads the attachments and then splits each page into its own file. It then
#Date: 22 March 2017
. C:\Scripts\Export-O365Attachments.ps1
. C:\Scripts\Function-Write-Log.ps1
$date = Get-Date -Format yyyyddMM... |
PowerShellCorpus/Github/geoff-rose_PDF-Processing/Get-OutlookAttachments.ps1 | Get-OutlookAttachments.ps1 | Add-Type -assembly "Microsoft.Office.Interop.Outlook"
$o = New-Object -comobject outlook.application
$namespace = $o.GetNamespace("MAPI")
$inbox = $namespace.Folders[1].Folders.Item("TEST")
#$inbox = $namespace.GetDefaultFolder([Microsoft.Office.Interop.Outlook.OlDefaultFolders]::olFolderTEST)
$filepath = "c:\te... |
PowerShellCorpus/Github/geoff-rose_PDF-Processing/Export-O365Attachments.ps1 | Export-O365Attachments.ps1 | Function New-OSCEXOSearchFolder
{
#.EXTERNALHELP New-OSCEXOSearchFolder-Help.xml
[cmdletbinding()]
Param
(
#Define parameters
[Parameter(Mandatory=$false,Position=1)]
[ValidateSet("Inbox","SentItems","DeletedItems")]
[string]$WellKnownFolderName="Inbox",
[Parameter(Mandatory=$false,Pos... |
PowerShellCorpus/Github/mediamarkt-ru-dot-net-ci_CI/DownloadPackages.ps1 | DownloadPackages.ps1 | param(
[string] $dlls,
[switch] $Prerelease
)
$dllsplit = $dlls.Split(",", [StringSplitOptions]'RemoveEmptyEntries')
$currentDirectory = Split-Path $MyInvocation.MyCommand.Path
if(!(Test-Path "$currentDirectory\packages")) {
Write-Host "Creating packages directory..."
New-Item -ItemType Directory -F... |
PowerShellCorpus/Github/RobDesideri_GitDownFolder/InstallPSDepend.ps1 | InstallPSDepend.ps1 | try
{
Save-Module -Name PSDepend -Path "$PSScriptRoot\src\lib" -Force
}
catch [System.Management.Automation.CommandNotFoundException]
{
Write-Host "PowerShellGet (https://blogs.msdn.microsoft.com/mvpawardprogram/2014/10/06/package-management-for-powershell-modules-with-powershellget/) must be installed... |
PowerShellCorpus/Github/RobDesideri_GitDownFolder/test/GitDownFolder.public.tests.ps1 | GitDownFolder.public.tests.ps1 | # Import testing helpers dependencies
& "$PSScriptRoot\InstallTestingDepends.ps1"
Import-Module "$PSScriptRoot\lib\PowerShellTestingHelpers"
#Import all public functions for tests.
$Public = @( Get-ChildItem -Path $PSScriptRoot\..\src\script\public\*.ps1 -ErrorAction SilentlyContinue )
Foreach($import in @($Publi... |
PowerShellCorpus/Github/RobDesideri_GitDownFolder/test/InstallTestingDepends.ps1 | InstallTestingDepends.ps1 | $tp = Test-Path -Path "$PSScriptRoot\lib"
if(-not $tp)
{
New-Item -Path $PSScriptRoot -Name lib -ItemType Directory
}
Import-Module "$PSScriptRoot\..\src\lib\PSDepend"
Invoke-PSDepend -Path $PSScriptRoot\TestDepends.psd1 -Target $PSScriptRoot\lib -Install |
PowerShellCorpus/Github/RobDesideri_GitDownFolder/test/GitDownFolder.tests.ps1 | GitDownFolder.tests.ps1 | # Import testing helpers dependencies
& "$PSScriptRoot\InstallTestingDepends.ps1"
Import-Module "$PSScriptRoot\lib\PowerShellTestingHelpers"
$ModuleManifestName = 'GitDownFolder.psd1'
$ModuleManifestPath = "$PSScriptRoot\..\src\$ModuleManifestName"
if (!$SuppressImportModule) {
# -Scope Global is needed whe... |
PowerShellCorpus/Github/RobDesideri_GitDownFolder/test/GitDownFolder.private.tests.ps1 | GitDownFolder.private.tests.ps1 | # Import testing helpers dependencies
& "$PSScriptRoot\InstallTestingDepends.ps1"
Import-Module "$PSScriptRoot\lib\PowerShellTestingHelpers"
# Import all private functions for tests.
$Private = @( Get-ChildItem -Path $PSScriptRoot\..\src\script\private\*.ps1 -ErrorAction SilentlyContinue )
Foreach($import in @($P... |
PowerShellCorpus/Github/SQLDBAWithABeard_DataScienceVM/New-WindowsDataScienceVM.Tests.ps1 | New-WindowsDataScienceVM.Tests.ps1 |
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace('.Tests.', '.')
Import-Module PSScriptAnalyzer
## Added PSAvoidUsingPlainTextForPassword as credential is an object and therefore fails. We can ignore any rules here under special circumstances agreed by admins :-)
## Ignored the credential and the... |
PowerShellCorpus/Github/SQLDBAWithABeard_DataScienceVM/New-WindowsDataScienceVM.ps1 | New-WindowsDataScienceVM.ps1 | <#PSScriptInfo
.VERSION 1.0
.GUID 1e639a45-89fa-4cd3-8956-15495357edad
.AUTHOR Rob Sewell
.COMPANYNAME Sewells Consulting
.COPYRIGHT Rob Sewell - please credit Rob Sewell - https://sqldbawithbeard.com if used
.DESCRIPTION This function will create a Windows Data Science Virtual Machine in Azure using ... |
PowerShellCorpus/Github/damccumb_VM-Chargeback/ChargeBack.ps1 | ChargeBack.ps1 | #If you run the script with no Param then you will recieve all the VM's in you vcenter instance.
#If you run the scripted with the VM name as the Param, then you will recieve just that VM as the output.
#you can | to import-csv to get an output of the data example: "Chargeback.ps1 | export-csv result.csv"
#########... |
PowerShellCorpus/Github/andrebocchini_powershell-remove-user-profiles/Remove-UserProfiles.ps1 | Remove-UserProfiles.ps1 | <#
.SYNOPSIS
Removes user profiles on computers running Windows Vista or later.
.DESCRIPTION
Removes specified user profiles found on a computer (local or remote) running Windows Vista or later,
and logs the information in a CSV file. If no computer names are provided, the script will remove the profiles
of ... |
PowerShellCorpus/Github/Aproximation_Scripts/installSoftwares.ps1 | installSoftwares.ps1 | <#
Program for installing software in a batch (main target: new windows OS).
For installing it uses chocolatey packages repository.
Script check user execution policy and install chocolatey if needed.
More info about chocolatey:
https://chocolatey.org
#>
$currenPolicy = Get-ExecutionPolicy
Set-ExecutionPol... |
PowerShellCorpus/Github/Aproximation_Scripts/getWifiProfiles.ps1 | getWifiProfiles.ps1 | $outputString = netsh.exe wlan show profiles | Select-String -Pattern "All User Profile"
$profilesArray = @()
$profiles = @()
for($i=0;$i -lt $outputString.Count;$i++){
$profilesArray += $outputString[$i].ToString().Split(':')[1].Trim()
}
$profilesArray = $profilesArray | Sort-Object
for($i=0;$... |
PowerShellCorpus/Github/v-peliao_E2E_NewRepo_1489644821665/.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/OPS-E2E-PPE_E2E_D_NewRepo_2017_4_25_20_58_28/.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/andreyleskov_Scripts/BitcasaCP866ToUnicodeRenaming.ps1 | BitcasaCP866ToUnicodeRenaming.ps1 | function ConvertTo-Encoding ([string]$From, [string]$To){
Begin{
$encFrom = [System.Text.Encoding]::UTF8
$encTo = [System.Text.Encoding]::GetEncoding("CP866")
}
Process{
$bytes = $encTo.GetBytes($_)
$bytes = [System.Text.Encoding]::Convert($encFrom, $encTo, $bytes)
$encTo.GetString($bytes)
}
}
... |
PowerShellCorpus/Github/KieranOBrien-R7_LE_Log4Net_Sample_App/LogentriesLog4NetSampleApp copy/packages/Newtonsoft.Json.8.0.2/tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
# open json.net splash page on package install
# don't open if json.net is installed as a dependency
try
{
$url = "http://www.newtonsoft.com/json/install?version=" + $package.Version
$dte2 = Get-Interface $dte ([EnvDTE80.DTE2])
if ($dte2.ActiveWindo... |
PowerShellCorpus/Github/shahed3_UARCT/UARCT_EDU/Source/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/shahed3_UARCT/UARCT_EDU/Source/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/shahed3_UARCT/UARCT_EDU/Source/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/shahed3_UARCT/UARCT_EDU/Source/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/shahed3_UARCT/UARCT_EDU/Source/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/shahed3_UARCT/UARCT_EDU/Source/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/shahed3_UARCT/UARCT_EDU/Source/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/shahed3_UARCT/UARCT_EDU/Source/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/sirkrz_Social/SocialApp/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/sirkrz_Social/SocialApp/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/sirkrz_Social/SocialApp/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/sirkrz_Social/SocialApp/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/sirkrz_Social/SocialApp/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/sirkrz_Social/SocialApp/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/sirkrz_Social/SocialApp/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/sirkrz_Social/SocialApp/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/sirkrz_Social/SocialApp/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/danTaler_ossec/agent_deploy.ps1 | agent_deploy.ps1 | # WAZUH Windows Add Agent Script
# v2.2 2016/04/06
# Created by Wazuh, Inc. <info@wazuh.com>.
# This program is a free software; you can redistribute it and/or modify it under the terms of GPLv2
param (
#Mandatory
[switch]$Elevated,
[string]$api_ip = "",
[string]$username = "",
[string]... |
PowerShellCorpus/Github/jorgechambelrodrigues_Windows-Backups/dhcp_backup.ps1 | dhcp_backup.ps1 |
#This script serves the purpose of backing up a DHCP Failover Server
#It will backup all the scopes, leases, reservations, etc and also the Failover information that concerns the connection between the two servers
#gets the date and saves it to a variable
$a = Get-date
$name = -join($a.Day,$a.Month,$a.Year);
... |
PowerShellCorpus/Github/dbroeglin_Forge.Netscaler/Forge.Netscaler/New-NSGet.ps1 | New-NSGet.ps1 | function New-NSGet {
<#
.SYNOPSIS
Creates a new "Get" function for the Netscaler Module.
.DESCRIPTION
Creates a new "Get" function for the Netscaler Module.
.EXAMPLE
New-NSGet -Name MyName
Would generate a new Get-NSMyName function.
.PARAMETER Name
... |
PowerShellCorpus/Github/dbroeglin_Forge.Netscaler/Forge.Netscaler/New-NSClear.ps1 | New-NSClear.ps1 | function New-NSClear {
<#
.SYNOPSIS
New-NSClear synopsis.
.DESCRIPTION
New-NSClear description.
.EXAMPLE
New-NSClear #...
#>
[CmdletBinding()]
Param(
)
Begin {
# Begin block
}
Process {
# Process block
}
... |
PowerShellCorpus/Github/dbroeglin_Forge.Netscaler/Forge.Netscaler/New-NSNew.ps1 | New-NSNew.ps1 | function New-NSNew {
<#
.SYNOPSIS
Generates a skeleton 'New-NS*' function.
.DESCRIPTION
Generates a skeleton 'New-NS*' function.
.EXAMPLE
New-NSNew -Name Bar -Parameter a,b -ShouldProcessLabel "Create new bar" -Description "Create a new bar entity"
Creates a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.