Search is not available for this dataset
filename
stringlengths
5
114
module_name
stringlengths
8
67
content
stringlengths
0
282M
ACLReportTools.psd1
ACLReportTools-1.30.1.28
# # Module manifest for module 'ACLReportTools' # # Generated by: Daniel Scott-Raynsford # # Generated on: 28/10/2014 # @{ # Script module or binary module file associated with this manifest. RootModule = 'ACLReportTools.psm1' # Version number of this module. ModuleVersion = '1.30.1.28' # ID used to...
ACLReportTools.psm1
ACLReportTools-1.30.1.28
#Requires -Version 2.0 ############################################################################################ # Data Sections ############################################################################################ $Script:Html_Header = Data { @' <!doctype html><html><head><title>{0}</title> <style type="tex...
preimport.ps1
ACLTools-0.1.2
# Add all things you want to run before importing the main code
pester.ps1
ACLTools-0.1.2
param ( $Show = "None" ) Write-Host "Starting Tests" -ForegroundColor Green if ($env:BUILD_BUILDURI -like "vstfs*") { Write-Host "Installing Pester" -ForegroundColor Cyan Install-Module Pester -Force -SkipPublisherCheck Write-Host "Installing PSFramework" -ForegroundColor Cyan Invoke-WebRequest "http...
ACLTools.psm1
ACLTools-0.1.2
$script:ModuleRoot = $PSScriptRoot $script:ModuleVersion = "0.1.0" function Import-ModuleFile { <# .SYNOPSIS Loads files into the module on module import. .DESCRIPTION This helper function is used during module initialization. It should always be dotsourced itself, in order to proper function...
Manifest.Tests.ps1
ACLTools-0.1.2
Describe "Validating the module manifest" { $moduleRoot = (Resolve-Path "$PSScriptRoot\..\..").Path $manifest = (Test-ModuleManifest "$moduleRoot\ACLTools.psd1") [version]$moduleVersion = Get-Item "$moduleRoot\ACLTools.psm1" | Select-String -Pattern '\$script:PSModuleVersion = "(.*?)"' | ForEach-Object { $_.Match...
Help.Tests.ps1
ACLTools-0.1.2
<# .NOTES The original test this is based upon was written by June Blender. After several rounds of modifications it stands now as it is, but the honor remains hers. Thank you June, for all you have done! .DESCRIPTION This test evaluates the help for all commands in a module. .PARAME...
license.ps1
ACLTools-0.1.2
New-PSFLicense -Product 'ACLTools' -Manufacturer 'Joshua Corrick' -ProductVersion $PSModuleVersion -ProductType Module -Name MIT -Version "0.1.0" -Date (Get-Date "2018-04-11") -Text @" Copyright (c) 2018 Joshua Corrick Permission is hereby granted, free of charge, to any person obtaining a copy of this software an...
ACLTools.psd1
ACLTools-0.1.2
@{ # Script module or binary module file associated with this manifest RootModule = 'ACLTools.psm1' # Version number of this module. ModuleVersion = '0.1.2' # ID used to uniquely identify this module GUID = '0395d5d8-418e-4a44-b400-ea7414608d20' # Author of this module Author = 'Joshua Corric...
FileIntegrity.Exceptions.ps1
ACLTools-0.1.2
# List of forbidden commands $global:BannedCommands = @( 'Write-Host', 'Write-Verbose', 'Write-Warning', 'Write-Error', 'Write-Output', 'Write-Information', 'Write-Debug' ) <# Contains list of exceptions for banned cmdlets. Insert the file names of files that may contain them. Example: "Wri...
Update-ACL.tests.ps1
ACLTools-0.1.2
$CommandName = $MyInvocation.MyCommand.Name.Replace(".Tests.ps1", "") Describe "$CommandName Unit Tests" -Tag 'Unit' { Context "Validate parameters" { $paramCount = 10 $defaultParamCount = 13 [object[]]$params = (Get-ChildItem function:\Update-ACL).Parameters.Keys $knownPar...
configuration.ps1
ACLTools-0.1.2
<# This is an example configuration file By default, it is enough to have a single one of them, however if you have enough configuration settings to justify having multiple copies of it, feel totally free to split them into multiple files. #> <# # Example Configuration Set-PSFConfig -Module 'ACLTools' -Name...
FileIntegrity.Tests.ps1
ACLTools-0.1.2
$moduleRoot = (Resolve-Path "$PSScriptRoot\..\..").Path . "$PSScriptRoot\FileIntegrity.Exceptions.ps1" function Get-FileEncoding { <# .SYNOPSIS Tests a file for encoding. .DESCRIPTION Tests a file for encoding. .PARAMETER Path The file to test #> [CmdletBinding()] Param ( [Parameter...
Update-ACL.ps1
ACLTools-0.1.2
Function Update-ACL { <# .SYNOPSIS Update-ACL modifies owner and updates for files .DESCRIPTION Update-ACL leverages the System.Security.AccessControl .net class to set file and folder permissions .PARAMETER Path Path of folders or files that needs permission changes .PARAMETER Rights The rights that are...
Add-AccessRule.ps1
ACLTools-0.1.2
function Add-Accessrule { <# .SYNOPSIS Adds a rule to an Acl. .DESCRIPTION Adds a rule to an Acl. Accepts Pipeline input (from Acls) and adds an array of AccessRules to the Acl, before returning it. This makes it possible to make it part of a Access-Rule Pipeline construct. .PARAMETER InputObjec...
assignment.ps1
ACLTools-0.1.2
#Register-PSFTeppArgumentCompleter -Command Update-ACL -Parameter Type -Name ACLTools.path
tabcompletion.tepp.ps1
ACLTools-0.1.2
#Register-PSFTeppScriptblock -Name "ACLTools.path" -ScriptBlock { Get-ChildItem -Path $PSScriptRoot}
postimport.ps1
ACLTools-0.1.2
# Add all things you want to run after importing the main code # Load Configurations <#foreach ($file in (Get-ChildItem "$ModuleRoot\internal\configurations\*.ps1" -ErrorAction Ignore)) { . Import-ModuleFile -Path $file.FullName }#> # Load Tab Expansion <#foreach ($file in (Get-ChildItem "$ModuleRoot\interna...
PSScriptAnalyzer.Tests.ps1
ACLTools-0.1.2
[CmdletBinding()] Param ( [switch] $SkipTest, [string[]] $CommandPath = @("$PSScriptRoot\..\..\functions", "$PSScriptRoot\..\..\internal\functions") ) if ($SkipTest) { return } if ($env:BUILD_BUILDURI -like "vstfs*") { Install-Module PSScriptAnalyzer -Force -SkipPublisherCheck } $list = New-Object ...
New-AccessRule.ps1
ACLTools-0.1.2
function New-AccessRule { [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseOutputTypeCorrectly", "")] <# .SYNOPSIS Creates a new FileSystem AccessRule. .DESCRIPTION Creates a new FileSystem AccessRule, which can be added to an Acl. Defaults to: - Modify Permissions - To Object a...
Help.Exceptions.ps1
ACLTools-0.1.2
# List of functions that should be ignored $global:FunctionHelpTestExceptions = @( 'New-AccessRule', 'Add-AccessRule', 'Update-ACL' ) <# List of arrayed enumerations. These need to be treated differently. Add full name. Example: "Sqlcollaborative.Dbatools.Connection.ManagementConnectionType[]" #>...
Prerequisites.ps1
ACME-PS-1.5.9
if($PSEdition -eq "Desktop") { <# Check if .NET v 4.7.2 is available #> $isGeqNET472 = @(Get-ChildItem "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\" | Get-ItemPropertyValue -Name Release | ForEach-Object { $_ -ge 461808 }) if(-not ($isGeqNET472 -contains $true)) { throw "This module...
ACME-PS.psm1
ACME-PS-1.5.9
class AcmePSKey { hidden [string] $_AlgorithmType; hidden [Security.Cryptography.AsymmetricAlgorithm] $_Algorithm; hidden [int] $_HashSize; hidden [Security.Cryptography.HashAlgorithmName] $_HashName; [string] $KeyId; AcmePSKey([Security.Cryptography.AsymmetricAlgorithm] $algorithm) ...
ACME-PS.psd1
ACME-PS-1.5.9
@{ RootModule = 'ACME-PS.psm1' ModuleVersion = '1.5.9' GUID = '2DBF7E3F-F830-403A-9300-78A11C7CD00C' CompatiblePSEditions = @("Core", "Desktop") PowershellVersion = "5.1" Author = 'https://github.com/PKISharp/ACME-PS/graphs/contributors' CompanyName = 'Thomas Glatzer via PKISharp (https://github.com/P...
ACMEDNS01Certificate.psm1
ACMEDNS01Certificate-1.0.0
<# .SYNOPSIS Generate SSL Certificates .DESCRIPTION The script will generate SSL Certificates using ACMESharp's DNS-01 .EXAMPLE New-ACMEDNS01Certificate -Name hostname -ZoneName domain.tld -DnsMasterServer 127.0.0.1 -DnsValidationServer 8.8.8.8 -Staging -CertificateExport New-ACMEDNS01Certificate for hos...
ACMEDNS01Certificate.psd1
ACMEDNS01Certificate-1.0.0
@{ ModuleVersion = '1.0' GUID = 'd687cae0-a9c0-4290-bc2f-e91b13a0b2e1' Author = 'Eddy Beaupré' CompanyName = 'Eddy Beaupré' Copyright = '(c) 2017 Eddy Beaupré. Tous droits réservés.' Description = 'Generate SSL Certificates using ACMESharp DNS-01' RequiredModules = @("ACMESharp") ...
ACMESharp.psd1
ACMESharp-0.9.1.326
# # Module manifest for module 'PSGet_ACMESharp' # # Generated by: https://github.com/ebekker # # Generated on: 10/26/2017 # @{ # Script module or binary module file associated with this manifest. RootModule = 'ACMESharp.POSH.dll' # Version number of this module. ModuleVersion = '0.9.1.326' # Suppor...
ACMESharp-IIS.psd1
ACMESharp-0.9.1.326
@{ RootModule = 'ACMESharp-IIS' ModuleVersion = '1.0' GUID = '245AF7C8-E8FA-4510-B7B4-BA30F5FF423B' DefaultCommandPrefix = 'ACME' }
ACMESharp.Providers.Windows.psd1
ACMESharp-0.9.1.326
## For a reference of this file's elements, see: ## https://technet.microsoft.com/library/hh849709.aspx ## https://technet.microsoft.com/en-us/library/dd878297(v=vs.85).aspx ## 64-bit: ## %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe ## 32-bit: ## %SystemRoot%\syswow64\WindowsPowerShell\v1.0...
ACMESharp-Extensions.psd1
ACMESharp-0.9.1.326
## For a reference of this file's elements, see: ## https://technet.microsoft.com/library/hh849709.aspx ## https://technet.microsoft.com/en-us/library/dd878297(v=vs.85).aspx ## 64-bit: ## %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe ## 32-bit: ## %SystemRoot%\syswow64\WindowsPowerShell\v1.0...
ACMESharp-AWS.psm1
ACMESharp-0.9.1.326
#cd C:\prj\letsencrypt\solutions\letsencrypt-win\letsencrypt-win\LetsEncrypt.ACME.POSH #Add-Type -Path .\bin\Debug\ACMESharp.POSH.dll <# Configure/install certs Install-ACMECertificateToAWS -Ref <cert-ref> -IAMPath <path> - optional, prefix with /cloudfront/ to use with CloudFront -IAMName <path> - required -ELBN...
ACMESharp-AWS.psd1
ACMESharp-0.9.1.326
@{ RootModule = 'ACMESharp-AWS' ModuleVersion = '1.0' GUID = '245AF7C8-E8FA-4510-B7B4-BA30F5FF423B' DefaultCommandPrefix = 'ACME' }
ACMESharp-IIS.psm1
ACMESharp-0.9.1.326
#cd C:\prj\letsencrypt\solutions\letsencrypt-win\letsencrypt-win\ACMESharp.POSH #Add-Type -Path .\bin\Debug\ACMESharp.POSH.dll <# Configure/install certs Install-ACMECertificateToIIS -Ref <cert-ref> -ComputerName <target-server> - optional (defaults to local) -Website <website-name> - optional (defaults to 'Defaul...
ACMESharp.Providers.AWS.psd1
ACMESharp-0.9.1.326
## For a reference of this file's elements, see: ## https://technet.microsoft.com/library/hh849709.aspx ## https://technet.microsoft.com/en-us/library/dd878297(v=vs.85).aspx ## 64-bit: ## %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe ## 32-bit: ## %SystemRoot%\syswow64\WindowsPowerShell\v1.0...
ACMESharp.Providers.CloudFlare.psd1
ACMESharp-0.9.1.326
## For a reference of this file's elements, see: ## https://technet.microsoft.com/library/hh849709.aspx ## https://technet.microsoft.com/en-us/library/dd878297(v=vs.85).aspx ## 64-bit: ## %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe ## 32-bit: ## %SystemRoot%\syswow64\WindowsPowerShell\v1.0...
ACMESharp.Providers.IIS.psd1
ACMESharp-0.9.1.326
## For a reference of this file's elements, see: ## https://technet.microsoft.com/library/hh849709.aspx ## https://technet.microsoft.com/en-us/library/dd878297(v=vs.85).aspx ## 64-bit: ## %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe ## 32-bit: ## %SystemRoot%\syswow64\WindowsPowerShell\v1.0...
ACMESharp-Extensions.psm1
ACMESharp-0.9.1.326
$ErrorActionPreference = 'Stop' function Resolve-ExtensionModule { <# .PARAMETER ModuleName Required, the name of the PowerShell module that is an ACMESharp Extension Module. .PARAMETER ModuleVersion An optional version spec, useful if multiple version of the target Extension Module are installed. The spec can be a...
ACMESharp.Providers.AWS.psd1
ACMESharp.Providers.AWS-0.9.1.326
# # Module manifest for module 'PSGet_ACMESharp.Providers.AWS' # # Generated by: https://github.com/ebekker # # Generated on: 10/26/2017 # @{ # Script module or binary module file associated with this manifest. # RootModule = '' # Version number of this module. ModuleVersion = '0.9.1.326' # Supporte...
ACMESharp.Providers.CloudFlare.psd1
ACMESharp.Providers.CloudFlare-0.9.1.326
# # Module manifest for module 'PSGet_ACMESharp.Providers.CloudFlare' # # Generated by: https://github.com/ebekker # # Generated on: 10/26/2017 # @{ # Script module or binary module file associated with this manifest. # RootModule = '' # Version number of this module. ModuleVersion = '0.9.1.326' # S...
ACMESharp.Providers.DNSMadeEasy.psd1
ACMESharp.Providers.DNSMadeEasy-0.9.1.326
# # Module manifest for module 'PSGet_ACMESharp.Providers.DNSMadeEasy' # # Generated by: https://github.com/ebekker # # Generated on: 10/26/2017 # @{ # Script module or binary module file associated with this manifest. # RootModule = '' # Version number of this module. ModuleVersion = '0.9.1.326' # ...
ACMESharp.Providers.IIS.psd1
ACMESharp.Providers.IIS-0.9.3.334
# # Module manifest for module 'ACMESharp.Providers.IIS' # # Generated by: https://github.com/ebekker # # Generated on: 8/7/2019 # @{ # Script module or binary module file associated with this manifest. # RootModule = '' # Version number of this module. ModuleVersion = '0.9.3.334' # Supported PSEdit...
ACMESharp.Providers.QCloud.psd1
ACMESharp.Providers.QCloud-1.0.6563.38109
# # Module manifest for module 'PSGet_ACMESharp.Providers.QCloud' # # Generated by: Jingchao Feng # # Generated on: 12/20/2017 # @{ # Script module or binary module file associated with this manifest. # RootModule = '' # Version number of this module. ModuleVersion = '1.0.6563.38109' # Supported PSE...
ACMESharp.Providers.Windows.psd1
ACMESharp.Providers.Windows-0.9.1.326
# # Module manifest for module 'PSGet_ACMESharp.Providers.Windows' # # Generated by: https://github.com/ebekker # # Generated on: 10/26/2017 # @{ # Script module or binary module file associated with this manifest. # RootModule = '' # Version number of this module. ModuleVersion = '0.9.1.326' # Supp...
Register-LetsEncryptCertificateRequest.ps1
ACMESharpRoute53Automation-1.0.4
<# .NOTES Author: Robert D. Biddle https://github.com/RobBiddle https://github.com/RobBiddle/ACMESharpRoute53Automation ACMESharpRoute53Automation Copyright (C) 2017 Robert D. Biddle This program comes with ABSOLUTELY NO WARRANTY; for details type `"help Get-NewLetsEncryptCertificate -full`"...
Get-NewLetsEncryptCertificate.ps1
ACMESharpRoute53Automation-1.0.4
<# .SYNOPSIS ACMESharpRoute53Automation is a PowerShell module which automates the ACMESharp process of obtaining SSL certificates from LetsEncrypt.org https://letsencrypt.org using Amazon AWS Route53 https://aws.amazon.com/route53/ to enable the DNS Domain Validation method .DESCRIPTION --- REQUIRES AWSPow...
Push-LetsEncryptChallengeToRoute53.ps1
ACMESharpRoute53Automation-1.0.4
<# .NOTES Author: Robert D. Biddle https://github.com/RobBiddle https://github.com/RobBiddle/ACMESharpRoute53Automation ACMESharpRoute53Automation Copyright (C) 2017 Robert D. Biddle This program comes with ABSOLUTELY NO WARRANTY; for details type `"help Get-NewLetsEncryptCertificate -full`"...
Complete-LetsEncryptCertificateRequest.ps1
ACMESharpRoute53Automation-1.0.4
<# .NOTES Author: Robert D. Biddle https://github.com/RobBiddle https://github.com/RobBiddle/ACMESharpRoute53Automation ACMESharpRoute53Automation Copyright (C) 2017 Robert D. Biddle This program comes with ABSOLUTELY NO WARRANTY; for details type `"help Get-NewLetsEncryptCertificate -full`"...
ACMESharpRoute53Automation.psd1
ACMESharpRoute53Automation-1.0.4
# # Module manifest for module 'ACMESharpRoute53Automation' # # Generated by: Robert D. Biddle # # Generated on: 3/24/2017 # # Author: Robert D. Biddle # https://github.com/RobBiddle # https://github.com/RobBiddle/ACMESharpRoute53Automation # ACMESharpRoute53Automation Copyright (C) 2017 Robert D. Biddle #...
ACMESharpRoute53Automation.psm1
ACMESharpRoute53Automation-1.0.4
<# .NOTES Author: Robert D. Biddle https://github.com/RobBiddle https://github.com/RobBiddle/ACMESharpRoute53Automation ACMESharpRoute53Automation Copyright (C) 2017 Robert D. Biddle This program comes with ABSOLUTELY NO WARRANTY; for details type `"help Get-NewLetsEncryptCertificate -full`"...
Get-AllRoute53Records.ps1
ACMESharpRoute53Automation-1.0.4
<# .NOTES Author: Robert D. Biddle https://github.com/RobBiddle https://github.com/RobBiddle/ACMESharpRoute53Automation ACMESharpRoute53Automation Copyright (C) 2017 Robert D. Biddle This program comes with ABSOLUTELY NO WARRANTY; for details type `"help Get-NewLetsEncryptCertificate -full`"...
ADACLs.psd1
ADACLs-0.0.2
@{ RootModule = 'ADAcls.psm1' ModuleVersion = '0.0.2' Author = 'blue' GUID = 'c0d1ba51-f75b-4ea6-8309-fa7a25a4f167' Copyright = '(c) blue' Description = 'Tools to make working with Active Directory ACLs easier' RequiredModules = @('ActiveDirectory') TypesToProcess =...
ADACLs.psm1
ADACLs-0.0.2
#Requires -Module ActiveDirectory #region look up guids # https://devblogs.microsoft.com/powershell-community/understanding-get-acl-and-ad-drive-output/ $dse = Get-ADRootDSE $Script:ObjectTypeGUID = @{[guid]'00000000-0000-0000-0000-000000000000' = '(any)'} $GetADObjectParameter = @{ SearchBase = $dse.Sc...
Get-AdalAuthenticationContext.ps1
ADAL.PS-5.2.7.2
function Get-AdalAuthenticationContext { param ( # Address of the authority to issue token. [Parameter(Mandatory = $false)] [string] $Authority = 'https://login.microsoftonline.com/common' ) if (!$AuthenticationContexts.ContainsKey($Authority)) { $Authentication...
ADAL.PS.psd1
ADAL.PS-5.2.7.2
# # Module manifest for module 'ADAL.PS' # # Generated by: Jason Thompson # # Generated on: 7/20/2020 # @{ # Script module or binary module file associated with this manifest. RootModule = 'ADAL.PS.psm1' # Version number of this module. ModuleVersion = '5.2.7.2' # Supported PSEditions # CompatibleP...
New-AdalUserIdentifier.ps1
ADAL.PS-5.2.7.2
function New-AdalUserIdentifier { param ( # Id of user [Parameter(Mandatory = $false)] [string] $Id, # Type of user identifier [Parameter(Mandatory = $false)] [Microsoft.IdentityModel.Clients.ActiveDirectory.UserIdentifierType] $Type = 'OptionalDisplayable...
Get-AdalToken.ps1
ADAL.PS-5.2.7.2
function Get-AdalToken { [CmdletBinding(DefaultParameterSetName = 'Implicit')] param ( # Tenant identifier of the authority to issue token. [Parameter(Mandatory = $false)] [string] $TenantId = "common", # Address of the authority to issue token. This value overrides ...
New-AdalClientCredential.ps1
ADAL.PS-5.2.7.2
function New-AdalClientCredential { [CmdletBinding(DefaultParameterSetName = 'ClientId')] param ( # Identifier and secure secret of the client requesting the token. [Parameter(Mandatory = $true, ValueFromPipeline = $true, ParameterSetName = 'InputObject', Position = 1)] [object...
ADAL.PS.psm1
ADAL.PS-5.2.7.2
## Set Strict Mode for Module. https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/set-strictmode Set-StrictMode -Version 2.0 Write-Warning 'The ADAL.PS PowerShell module wraps ADAL.NET functionality into PowerShell-friendly cmdlets and is not supported by Microsoft. Microsoft support does ...
Clear-AdalTokenCache.ps1
ADAL.PS-5.2.7.2
function Clear-AdalTokenCache { $TokenCache.Clear() } # SIG # Begin signature block # MIIckwYJKoZIhvcNAQcCoIIchDCCHIACAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCC6lDVe/uAKCJ+U # 07I+XUI5ejVQNjbktXQO...
ADAppFinder.psd1
ADAppFinder-0.1.3
# # Module manifest for module 'ADAppFinder' # # Generated by: DrIOSX # # Generated on: 10/30/2022 # @{ # Script module or binary module file associated with this manifest. RootModule = 'ADAppFinder.psm1' # Version number of this module. ModuleVersion = '0.1.3' # Suppo...
ADAppFinder.psm1
ADAppFinder-0.1.3
#Region '.\Private\Get-ADHostManageability.ps1' 0 function Get-ADHostManageability { [OutputType([System.Collections.Hashtable])] # $this[0] : Name = Computername; Value = [array]RemotableHostNames # $this[1] : Name = Computername; Value = [array]Non-RemotableHostNames param ( [int]$DaysIn...
Test-ActiveDirectory.ps1
ADAudit-2.0.10
Function Test-ActiveDirectory { <# .SYNOPSIS Runs Pester tests to validate whether the Active Directory configuration and health matches the previously recorded known-good state of the configuration. .DESCRIPTION .. .PARAMETER ADSnapshotFile ...
Get-ADConfig.ps1
ADAudit-2.0.10
Function Get-ADConfig { <# .SYNOPSIS Retrieves the configuration of an Active Directory forest. .DESCRIPTION The Get-ADConfig cmdlet retrieves various configuration information about Active Directory and returns that information as a PowerShell ojbect. It uses cm...
Export-ADConfig.ps1
ADAudit-2.0.10
Function Export-ADConfig { <# .SYNOPSIS Exports the configuration of an Active Directory forest to an XML file. .DESCRIPTION The Export-ADConfig cmdlet retrieves the AD configuration via the Get-ADConfig cmdlet and then exports it to an XML file. If the -AsGoldCo...
ADAudit.psm1
ADAudit-2.0.10
$Public = @( Get-ChildItem -Path "$PSScriptRoot\Public\*.ps1" -Recurse ) $Public | ForEach-Object { Try { . $_.FullName } Catch { Write-Error -Message "Failed to import function $($_.FullName): $_" } }
ActiveDirectory.tests.ps1
ADAudit-2.0.10
[CmdletBinding()] Param( #Optional: The path to a snapshot of Active Directory that you want to validate against the Gold config. [string] $ADSnapshotFile, #The path to the 'gold' known-good snapshot of Active Directory that you want to validate against. # Parameter help description [string] ...
ADAudit.psd1
ADAudit-2.0.10
# # Module manifest for module 'PSGet_ADAudit' # # Generated by: Mark Wragg # # Generated on: 2/25/2020 # @{ # Script module or binary module file associated with this manifest. RootModule = 'ADAudit.psm1' # Version number of this module. ModuleVersion = '2.0.10' # Supported PSEditions # Compatible...
ADAuditTasks.psd1
ADAuditTasks-0.9.1
# # Module manifest for module 'ADAuditTasks' # # Generated by: Douglas S. Rios (DrIOSx) # # Generated on: 5/11/2023 # @{ # Script module or binary module file associated with this manifest. RootModule = 'ADAuditTasks.psm1' # Version number of this module. ModuleVersion = '0.9.1' # Supported PSEditi...
ADAuditTasks.psm1
ADAuditTasks-0.9.1
#Region '.\Classes\1.ADAuditTasksUser.ps1' 0 class ADAuditTasksUser { [string]$UserName [string]$FirstName [string]$LastName [string]$Name [string]$UPN [string]$LastSignIn [string]$Enabled [string]$LastSeen [string]$OrgUnit [string]$Title [string]$Manager [st...
ADAuth.psd1
ADAuth-1.0.0
# # Module manifest for module 'module' # # Generated by: Chirishman # # Generated on: 12/27/2017 1:26:46 PM # @{ # Script module or binary module file associated with this manifest. RootModule = 'ADAuth.psm1' # Version number of this module. ModuleVersion = '1.0' # ID used to uniquely identify thi...
Test-ADGroupMembership.ps1
ADAuth-1.0.0
function Test-ADGroupMembership { Param( [Parameter( Position = 0, Mandatory = $true, ValueFromPipelineByPropertyName = $true )] [Alias('UserName','UN')] [String] $User, [Parameter( Position=1, Ma...
Get-DirectoryServicesContext.ps1
ADAuth-1.0.0
function Get-DirectoryServicesContext { Param() Add-Type -AssemblyName System.DirectoryServices.AccountManagement $AuthLookup = @{ $true = 'machine' $false = 'domain' } [System.DirectoryServices.AccountManagement.PrincipalContext]::new($AuthLookup[($env:USERDOMAIN -eq $env:COMPUTERNAME)])...
Test-ADCredential.ps1
ADAuth-1.0.0
function Test-ADCredential { Param( [Parameter( Position=0, Mandatory=$true, ValueFromPipeline = $true)] [pscredential]$Credential ) $DS = Get-DirectoryServicesContext $Credential.GetNetworkCredential() | % { $DS.ValidateCredentials($_.User...
Get-ADGroupMembership.ps1
ADAuth-1.0.0
function Get-ADGroupMembership { Param( [Parameter( Position = 0, Mandatory = $true, ValueFromPipelineByPropertyName = $true )] [Alias('UserName','UN')] [String] $User ) $DS = Get-DirectoryServicesContext $UserObj...
ADAuth.psm1
ADAuth-1.0.0
#handle PS2 if(-not $PSScriptRoot) { $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent } $ModuleRoot = $PSScriptRoot #Get public and private function definition files. $Public = @( Get-ChildItem -Path $PSScriptRoot\Public\*.ps1 -ErrorAction SilentlyContinue ) $Pr...
ADCSTemplate.psm1
ADCSTemplate-1.0.1.1
#requires -Version 5.0 -Modules ActiveDirectory Function Get-RandomHex { param ([int]$Length) $Hex = '0123456789ABCDEF' [string]$Return = $null For ($i=1;$i -le $length;$i++) { $Return += $Hex.Substring((Get-Random -Minimum 0 -Maximum 16),1) } Return $Re...
Demo.ps1
ADCSTemplate-1.0.1.1
break Get-Module -ListAvailable Import-Module ADCSTemplate Get-Command -Module ADCSTemplate # Manually open ADSIEDIT and show objects adsiedit.msc # Manually open MMC to build and browse an AD CS mgmt GUI mmc New-ADCSDrive cd ADCS: dir cd '.\CN=Certificate Templates' dir cd .. cd '.\CN=Enrollment ...
COMMUNITY_ADCSTemplate.psm1
ADCSTemplate-1.0.1.1
function Get-TargetResource { [CmdletBinding()] [OutputType([System.Collections.Hashtable])] param ( [parameter(Mandatory = $true)] [System.String] $Displayname ) If (Get-ADCSTemplate -DisplayName $DisplayName) { Return @{DisplayName = $Displayname} ...
ADCSTemplate.psd1
ADCSTemplate-1.0.1.1
@{ # Script module or binary module file associated with this manifest. RootModule = '.\ADCSTemplate.psm1' # Version number of this module. ModuleVersion = '1.0.1.1' # Supported PSEditions # CompatiblePSEditions = @() # ID used to uniquely identify this module GUID = '9256f6a5-b961-4e9c-a0b1-75b32210418...
Build-ADCS.ps1
ADCSTemplate-1.0.1.1
configuration CreateADDomainWithCS { param ( [Parameter(Mandatory)] [String]$DomainName, [Parameter(Mandatory)] [System.Management.Automation.PSCredential]$AdminCreds, [Int]$RetryCount = 60, [Int]$RetryIntervalSec = 5 ) Import-DscResource -Modul...
ADCSTemplateForPSEncryption.psm1
ADCSTemplateForPSEncryption-1.0.0
#requires -Version 5.0 -Modules ActiveDirectory <############################################################################## Create Certificate Template in ADCS for PowerShell CMS Encryption by Ashley McGlone, Microsoft PFE http://aka.ms/GoateePFE @GoateePFE Take parameters Generate a unique OID for the template C...
ADCSTemplateForPSEncryption.psd1
ADCSTemplateForPSEncryption-1.0.0
@{ RootModule = '.\ADCSTemplateForPSEncryption.psm1' ModuleVersion = '1.0.0' GUID = 'cd27da6a-5eb5-4d24-8b00-a813724be61a' Author = 'Ashley McGlone (GoateePFE)' CompanyName = 'Microsoft' Copyright = '(c) 2017 Microsoft. All rights reserved.' Description = 'Creates a new Active Directory Certificate Services template fo...
ADCSTemplateParser.psm1
ADCSTemplateParser-0.4.2
function Get-SidfromHex { param ( [string]$Sid ) $ByteSid = New-Object Byte[] 150 for ($i = 0; $i -lt $Sid.Length ; $i += 2) { $ByteSid.Set(($i/2),([Byte]::Parse($Sid.Substring($i, 2), [System.Globalization.NumberStyles]::HexNumber))) } New-Object System.Security.Pr...
ADCSTemplateParser.psd1
ADCSTemplateParser-0.4.2
# # Module manifest for module 'ADCSTemplateParser' # # Generated by: Jan-Henrik Damaschke # # Generated on: 21.03.2016 # @{ # Version number of this module. ModuleVersion = '0.4.2.0' # ID used to uniquely identify this module GUID = '5bd69e7a-5a16-4508-8206-7f545c6d4170' # Author of this module Au...
Optimize-DomainControllerTlsConfiguration.ps1
ADCSTools-1.6.3
<# .SYNOPSIS This function creates a new Group Policy Object (GPO). The policy disables TLS 1.0 and 1.1 on all domain controllers where the GPO is applied. Optionally, the function can link the new GPO to the Domain Controllers OU and update the TLS cipher suites to only allow secure ciphers. .PARAMETER GpoN...
ADCSTools.psd1
ADCSTools-1.6.3
# # Module manifest for module 'ADCSTools' # # Generated by: Richard M. Hicks # # Generated on: 11/11/2024 # @{ # Script module or binary module file associated with this manifest. RootModule = 'ADCSTools.psm1' # Version number of this module. ModuleVersion = '1.6.3' # Supported PSEditions # Compat...
ADCSTools.psm1
ADCSTools-1.6.3
<# .SYNOPSIS PowerShell module for performing administrative tasks on Microsoft Active Directory Certificate Services (AD CS) servers. .EXAMPLE Import-Module -Name ADCSTools.psd1 .DESCRIPTION This is a collection of tools to perform various administrative tasks on Microsoft Active Directory Cert...
Get-PublishedTemplate.ps1
ADCSTools-1.6.3
<# .SYNOPSIS Retrieve a list of certificate templates published in Active Directory Certificate Services (AD CS). .EXAMPLE Get-PublishedTemplate This command retrieves a list of certificate templates published in Active Directory Certificate Services. .DESCRIPTION This function retrieves ...
Show-CertificateTemplateInformation.ps1
ADCSTools-1.6.3
<# .SYNOPSIS Display information about certificates in the local computer or current user certificate store. .PARAMETER User Indicates that the search should be performed in the current user certificate store. By default, the search is performed in the local computer certificate store. .EXAMPLE ...
Move-CertificateServicesDatabase.ps1
ADCSTools-1.6.3
<# .SYNOPSIS Move the CA server database to another folder or volume. .PARAMETER SourcePath The current location of the Certificate Services database. Without this parameter the default location C:\Windows\System32\CertLog\ is used. .PARAMETER DestinationPath The location to move the Sertificate...
Get-AdCertificateTemplate.ps1
ADCSTools-1.6.3
<# .SYNOPSIS Retrieve all certificate templates from Active Directory and display their names and OIDs. .EXAMPLE Get-AdCertificateTemplate This command retrieves all certificate templates from Active Directory and displays their names and OIDs. .DESCRIPTION This function retrieves all cer...
Find-CertificateByTemplate.ps1
ADCSTools-1.6.3
<# .SYNOPSIS Search for certificates in the local computer or current user certificate store that were issued using a specific certificate template. .PARAMETER Template The name of the certificate template to search for. .PARAMETER User Indicates that the search should be performed in the curren...
Backup-CertificateServicesDatabase.ps1
ADCSTools-1.6.3
<# .SYNOPSIS Back up the CA server database and additional configuration information. .PARAMETER LocalPath The local file path to store backup files. .PARAMETER RemotePath The remote file path to store the backup file archive. .PARAMETER IncludePrivateKey Indicates that private keys shou...
Remove-ExpiredCertificate.ps1
ADCSTools-1.6.3
<# .SYNOPSIS Delete expired certificates from the CA server database. .PARAMETER State This parameter defines what type of certificate record to delete - Denied, Failed, Issued, or Revoked. .PARAMETER Template The Object Identifier (OID) of a specific certificate template to delete database reco...
Get-ADComputerRange.ps1
ADComputerRange-0.0.3
# _____________________________________________________ # | | # # | Get-ADComputerRange.ps1 | # # |_____________________________________________________| # function Get-ADComputerRange() { # =================================== # ...
func_user.ps1
ADComputerRange-0.0.3
# ___________________________________________ # | | # # | func_user.ps1 | # # |___________________________________________| # # ====================== # # PKGS # # # DESCRIPTION : user account interacting for all APPs. # Test-R...
func_pkgs.ps1
ADComputerRange-0.0.3
# ___________________________________________ # | | # # | func_pkgs.ps1 | # # |___________________________________________| # # ====================== # # PKGS # # # DESCRIPTION : software interacting for all APPs. # Verify-Sof...
func_os.ps1
ADComputerRange-0.0.3
# _________________________________________ # | | # # | func_os.ps1 | # # |_________________________________________| # # ==================== # # OS # # # DESCRIPTION : interacting with OS for all APPs. # Get-Hostname(). # DESCR...
generic.ps1
ADComputerRange-0.0.3
# _________________________________________ # | | # # | generic.ps1 | # # |_________________________________________| # # ========================= # # GENERIC # # # DESCRIPTION : everything generic for all APPs. # Stop-App(). # ...
func_convert.ps1
ADComputerRange-0.0.3
# ______________________________________________ # | | # # | func_convert.ps1 | # # |______________________________________________| # # ======================== # # FORMAT # # # DESCRIPTION : converting content for all APPs. ...