From 0768b211f32df8a58651748119bac9f161be4adf Mon Sep 17 00:00:00 2001 From: Greg Brownstein Date: Fri, 8 Dec 2023 21:33:12 -0500 Subject: [PATCH] int32 throttlelimit --- VenafiPS/Public/Export-VdcCertificate.ps1 | 2 +- VenafiPS/Public/Get-VdcCertificate.ps1 | 6 +++--- VenafiPS/Public/Invoke-VcWorkflow.ps1 | 2 +- VenafiPS/Public/Invoke-VdcCertificateAction.ps1 | 2 +- VenafiPS/Public/New-VcMachineCommonKeystore.ps1 | 2 +- VenafiPS/Public/New-VcMachineIis.ps1 | 2 +- VenafiPS/Public/Remove-VcApplication.ps1 | 2 +- VenafiPS/Public/Remove-VcCertificate.ps1 | 2 +- VenafiPS/Public/Remove-VcConnector.ps1 | 2 +- VenafiPS/Public/Remove-VcIssuingTemplate.ps1 | 2 +- VenafiPS/Public/Remove-VcMachine.ps1 | 2 +- VenafiPS/Public/Remove-VcMachineIdentity.ps1 | 2 +- VenafiPS/Public/Remove-VcTag.ps1 | 2 +- VenafiPS/Public/Remove-VcTeam.ps1 | 2 +- 14 files changed, 16 insertions(+), 16 deletions(-) diff --git a/VenafiPS/Public/Export-VdcCertificate.ps1 b/VenafiPS/Public/Export-VdcCertificate.ps1 index b811ae67..e18c9801 100644 --- a/VenafiPS/Public/Export-VdcCertificate.ps1 +++ b/VenafiPS/Public/Export-VdcCertificate.ps1 @@ -166,7 +166,7 @@ function Export-VdcCertificate { [String] $OutPath, [Parameter()] - [int] $ThrottleLimit = 100, + [int32] $ThrottleLimit = 100, [Parameter()] [psobject] $VenafiSession diff --git a/VenafiPS/Public/Get-VdcCertificate.ps1 b/VenafiPS/Public/Get-VdcCertificate.ps1 index c9bb7e40..afcc9272 100644 --- a/VenafiPS/Public/Get-VdcCertificate.ps1 +++ b/VenafiPS/Public/Get-VdcCertificate.ps1 @@ -1,4 +1,4 @@ -function Get-VdcCertificate { +function Get-VdcCertificate { <# .SYNOPSIS Get certificate information @@ -90,7 +90,7 @@ function Get-VdcCertificate { [switch] $ExcludeRevoked, [Parameter()] - [int] $ThrottleLimit = 100, + [int32] $ThrottleLimit = 100, [Parameter()] [psobject] $VenafiSession @@ -111,7 +111,7 @@ function Get-VdcCertificate { } if ( Test-IsGuid($ID) ) { - $certs.Add($ID) + $certs.Add($ID) } else { $certs.Add((ConvertTo-VdcFullPath -Path $ID)) diff --git a/VenafiPS/Public/Invoke-VcWorkflow.ps1 b/VenafiPS/Public/Invoke-VcWorkflow.ps1 index abcf7ff7..819ac92b 100644 --- a/VenafiPS/Public/Invoke-VcWorkflow.ps1 +++ b/VenafiPS/Public/Invoke-VcWorkflow.ps1 @@ -79,7 +79,7 @@ function Invoke-VcWorkflow { [string] $Workflow = 'Test', [Parameter()] - [int] $ThrottleLimit = 100, + [int32] $ThrottleLimit = 100, [Parameter()] [psobject] $VenafiSession diff --git a/VenafiPS/Public/Invoke-VdcCertificateAction.ps1 b/VenafiPS/Public/Invoke-VdcCertificateAction.ps1 index 27956b0c..b13637e3 100644 --- a/VenafiPS/Public/Invoke-VdcCertificateAction.ps1 +++ b/VenafiPS/Public/Invoke-VdcCertificateAction.ps1 @@ -138,7 +138,7 @@ function Invoke-VdcCertificateAction { [hashtable] $AdditionalParameter, [Parameter()] - [int] $ThrottleLimit = 100, + [int32] $ThrottleLimit = 100, [Parameter()] [psobject] $VenafiSession diff --git a/VenafiPS/Public/New-VcMachineCommonKeystore.ps1 b/VenafiPS/Public/New-VcMachineCommonKeystore.ps1 index f9b081df..e05d5285 100644 --- a/VenafiPS/Public/New-VcMachineCommonKeystore.ps1 +++ b/VenafiPS/Public/New-VcMachineCommonKeystore.ps1 @@ -168,7 +168,7 @@ function New-VcMachineCommonKeystore { [switch] $NoVerify, [Parameter()] - [int] $ThrottleLimit = 100, + [int32] $ThrottleLimit = 100, [Parameter()] [switch] $PassThru, diff --git a/VenafiPS/Public/New-VcMachineIis.ps1 b/VenafiPS/Public/New-VcMachineIis.ps1 index 77ad8f82..0a16ced5 100644 --- a/VenafiPS/Public/New-VcMachineIis.ps1 +++ b/VenafiPS/Public/New-VcMachineIis.ps1 @@ -145,7 +145,7 @@ function New-VcMachineIis { [switch] $NoVerify, [Parameter()] - [int] $ThrottleLimit = 100, + [int32] $ThrottleLimit = 100, [Parameter()] [switch] $PassThru, diff --git a/VenafiPS/Public/Remove-VcApplication.ps1 b/VenafiPS/Public/Remove-VcApplication.ps1 index 273c9ebd..3c998b96 100644 --- a/VenafiPS/Public/Remove-VcApplication.ps1 +++ b/VenafiPS/Public/Remove-VcApplication.ps1 @@ -35,7 +35,7 @@ [string] $ID, [Parameter()] - [int] $ThrottleLimit = 100, + [int32] $ThrottleLimit = 100, [Parameter()] [psobject] $VenafiSession diff --git a/VenafiPS/Public/Remove-VcCertificate.ps1 b/VenafiPS/Public/Remove-VcCertificate.ps1 index cbd8e1c0..8f9f3ac9 100644 --- a/VenafiPS/Public/Remove-VcCertificate.ps1 +++ b/VenafiPS/Public/Remove-VcCertificate.ps1 @@ -43,7 +43,7 @@ [string] $ID, [Parameter()] - [int] $ThrottleLimit = 100, + [int32] $ThrottleLimit = 100, [Parameter()] [psobject] $VenafiSession diff --git a/VenafiPS/Public/Remove-VcConnector.ps1 b/VenafiPS/Public/Remove-VcConnector.ps1 index a93a62f1..61a7efcc 100644 --- a/VenafiPS/Public/Remove-VcConnector.ps1 +++ b/VenafiPS/Public/Remove-VcConnector.ps1 @@ -35,7 +35,7 @@ [string] $ID, [Parameter()] - [int] $ThrottleLimit = 100, + [int32] $ThrottleLimit = 100, [Parameter()] [psobject] $VenafiSession diff --git a/VenafiPS/Public/Remove-VcIssuingTemplate.ps1 b/VenafiPS/Public/Remove-VcIssuingTemplate.ps1 index 61821a4a..0ed64f73 100644 --- a/VenafiPS/Public/Remove-VcIssuingTemplate.ps1 +++ b/VenafiPS/Public/Remove-VcIssuingTemplate.ps1 @@ -35,7 +35,7 @@ [string] $ID, [Parameter()] - [int] $ThrottleLimit = 100, + [int32] $ThrottleLimit = 100, [Parameter()] [psobject] $VenafiSession diff --git a/VenafiPS/Public/Remove-VcMachine.ps1 b/VenafiPS/Public/Remove-VcMachine.ps1 index e01370a2..cae91792 100644 --- a/VenafiPS/Public/Remove-VcMachine.ps1 +++ b/VenafiPS/Public/Remove-VcMachine.ps1 @@ -35,7 +35,7 @@ [string] $ID, [Parameter()] - [int] $ThrottleLimit = 100, + [int32] $ThrottleLimit = 100, [Parameter()] [psobject] $VenafiSession diff --git a/VenafiPS/Public/Remove-VcMachineIdentity.ps1 b/VenafiPS/Public/Remove-VcMachineIdentity.ps1 index f2ee7ab8..530d0a46 100644 --- a/VenafiPS/Public/Remove-VcMachineIdentity.ps1 +++ b/VenafiPS/Public/Remove-VcMachineIdentity.ps1 @@ -35,7 +35,7 @@ [string] $ID, [Parameter()] - [int] $ThrottleLimit = 100, + [int32] $ThrottleLimit = 100, [Parameter()] [psobject] $VenafiSession diff --git a/VenafiPS/Public/Remove-VcTag.ps1 b/VenafiPS/Public/Remove-VcTag.ps1 index 8a330836..ff8f1be8 100644 --- a/VenafiPS/Public/Remove-VcTag.ps1 +++ b/VenafiPS/Public/Remove-VcTag.ps1 @@ -35,7 +35,7 @@ [string] $ID, [Parameter()] - [int] $ThrottleLimit = 100, + [int32] $ThrottleLimit = 100, [Parameter()] [psobject] $VenafiSession diff --git a/VenafiPS/Public/Remove-VcTeam.ps1 b/VenafiPS/Public/Remove-VcTeam.ps1 index 7e281519..31669451 100644 --- a/VenafiPS/Public/Remove-VcTeam.ps1 +++ b/VenafiPS/Public/Remove-VcTeam.ps1 @@ -35,7 +35,7 @@ [string] $ID, [Parameter()] - [int] $ThrottleLimit = 100, + [int32] $ThrottleLimit = 100, [Parameter()] [psobject] $VenafiSession