diff --git a/VaporShell/Private/Convert-SpecToFunction.ps1 b/VaporShell/Private/Convert-SpecToFunction.ps1 index 4ade56c46..73e34b928 100644 --- a/VaporShell/Private/Convert-SpecToFunction.ps1 +++ b/VaporShell/Private/Convert-SpecToFunction.ps1 @@ -424,7 +424,31 @@ function $FunctionName { } Process { foreach (`$key in `$PSBoundParameters.Keys | Where-Object {`$commonParams -notcontains `$_}) { - `$obj | Add-Member -MemberType NoteProperty -Name `$key -Value `$PSBoundParameters.`$key + switch (`$key) { +"@ + foreach ($Prop in $Properties | Where-Object {$_.Value.PrimitiveType -eq "Json"}) { + $scriptContents += @" + $($Prop.Name) { + if ((`$PSBoundParameters[`$key]).PSObject.TypeNames -contains "System.String"){ + try { + `$JSONObject = (ConvertFrom-Json -InputObject `$PSBoundParameters[`$key] -ErrorAction Stop) + } + catch { + `$PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '`$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + `$JSONObject = ([PSCustomObject]`$PSBoundParameters[`$key]) + } + `$obj | Add-Member -MemberType NoteProperty -Name `$key -Value `$JSONObject + } +"@ + } + $scriptContents += @" + Default { + `$obj | Add-Member -MemberType NoteProperty -Name `$key -Value `$PSBoundParameters.`$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAmazonMQBrokerConfigurationId.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAmazonMQBrokerConfigurationId.ps1 index 3a606b4e3..f87fc6d44 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAmazonMQBrokerConfigurationId.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAmazonMQBrokerConfigurationId.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAmazonMQBrokerMaintenanceWindow.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAmazonMQBrokerMaintenanceWindow.ps1 index e8f9737ad..17b91a9cb 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAmazonMQBrokerMaintenanceWindow.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAmazonMQBrokerMaintenanceWindow.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAmazonMQBrokerUser.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAmazonMQBrokerUser.ps1 index 7760ba233..19c2d6661 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAmazonMQBrokerUser.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAmazonMQBrokerUser.ps1 @@ -77,7 +77,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayApiKeyStageKey.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayApiKeyStageKey.ps1 index a148edcc4..22ae8e59d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayApiKeyStageKey.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayApiKeyStageKey.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayDeploymentMethodSetting.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayDeploymentMethodSetting.ps1 index 48cdc3d64..8ab858058 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayDeploymentMethodSetting.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayDeploymentMethodSetting.ps1 @@ -137,7 +137,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayDeploymentStageDescription.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayDeploymentStageDescription.ps1 index c29f50ba0..a6fb6f275 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayDeploymentStageDescription.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayDeploymentStageDescription.ps1 @@ -210,7 +210,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayDocumentationPartLocation.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayDocumentationPartLocation.ps1 index a1fe56944..d871ce291 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayDocumentationPartLocation.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayDocumentationPartLocation.ps1 @@ -108,7 +108,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayDomainNameEndpointConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayDomainNameEndpointConfiguration.ps1 index e2127479e..1079be1e1 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayDomainNameEndpointConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayDomainNameEndpointConfiguration.ps1 @@ -33,7 +33,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayMethodIntegration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayMethodIntegration.ps1 index 7b9e8946d..27582525a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayMethodIntegration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayMethodIntegration.ps1 @@ -195,7 +195,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayMethodIntegrationResponse.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayMethodIntegrationResponse.ps1 index 013416a5c..be518d6bf 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayMethodIntegrationResponse.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayMethodIntegrationResponse.ps1 @@ -96,7 +96,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayMethodMethodResponse.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayMethodMethodResponse.ps1 index 958fc5084..6d556b80f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayMethodMethodResponse.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayMethodMethodResponse.ps1 @@ -62,7 +62,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayRestApiEndpointConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayRestApiEndpointConfiguration.ps1 index 8836bc1aa..5a80f92ad 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayRestApiEndpointConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayRestApiEndpointConfiguration.ps1 @@ -33,7 +33,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayRestApiS3Location.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayRestApiS3Location.ps1 index 7eedf6137..0625e4cc0 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayRestApiS3Location.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayRestApiS3Location.ps1 @@ -91,7 +91,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayStageMethodSetting.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayStageMethodSetting.ps1 index c46a2322e..f4bfc0d29 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayStageMethodSetting.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayStageMethodSetting.ps1 @@ -137,7 +137,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayUsagePlanApiStage.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayUsagePlanApiStage.ps1 index 6ada24ed0..513a75fe2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayUsagePlanApiStage.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayUsagePlanApiStage.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayUsagePlanQuotaSettings.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayUsagePlanQuotaSettings.ps1 index 6d535eeb2..432b3323c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayUsagePlanQuotaSettings.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayUsagePlanQuotaSettings.ps1 @@ -58,7 +58,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayUsagePlanThrottleSettings.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayUsagePlanThrottleSettings.ps1 index fac5cd131..2d6521820 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApiGatewayUsagePlanThrottleSettings.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApiGatewayUsagePlanThrottleSettings.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceDynamoDBConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceDynamoDBConfig.ps1 index 9f3255875..4f10dd37c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceDynamoDBConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceDynamoDBConfig.ps1 @@ -68,7 +68,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceElasticsearchConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceElasticsearchConfig.ps1 index e7e1703f4..034393f5c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceElasticsearchConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceElasticsearchConfig.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceHttpConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceHttpConfig.ps1 index c5e06f886..e46c4bfe7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceHttpConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceHttpConfig.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceLambdaConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceLambdaConfig.ps1 index 0be424cdf..df664e254 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceLambdaConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceLambdaConfig.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAppSyncGraphQLApiLogConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAppSyncGraphQLApiLogConfig.ps1 index c703e6ede..7cf14079d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAppSyncGraphQLApiLogConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAppSyncGraphQLApiLogConfig.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAppSyncGraphQLApiOpenIDConnectConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAppSyncGraphQLApiOpenIDConnectConfig.ps1 index d19ee7e31..8a473117a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAppSyncGraphQLApiOpenIDConnectConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAppSyncGraphQLApiOpenIDConnectConfig.ps1 @@ -75,7 +75,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAppSyncGraphQLApiUserPoolConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAppSyncGraphQLApiUserPoolConfig.ps1 index 3a2319c17..e3b8289a6 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAppSyncGraphQLApiUserPoolConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAppSyncGraphQLApiUserPoolConfig.ps1 @@ -91,7 +91,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalableTargetScalableTargetAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalableTargetScalableTargetAction.ps1 index 1e6663295..60a6a1300 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalableTargetScalableTargetAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalableTargetScalableTargetAction.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalableTargetScheduledAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalableTargetScheduledAction.ps1 index 307c4705d..d6c850c1f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalableTargetScheduledAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalableTargetScheduledAction.ps1 @@ -81,7 +81,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyCustomizedMetricSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyCustomizedMetricSpecification.ps1 index 25aa5df67..b8433f87e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyCustomizedMetricSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyCustomizedMetricSpecification.ps1 @@ -110,7 +110,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyMetricDimension.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyMetricDimension.ps1 index 6aa28dc0c..a10fcf911 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyMetricDimension.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyMetricDimension.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyPredefinedMetricSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyPredefinedMetricSpecification.ps1 index 86981edbe..05a6cbd04 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyPredefinedMetricSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyPredefinedMetricSpecification.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyStepAdjustment.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyStepAdjustment.ps1 index 56079da68..b311c9023 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyStepAdjustment.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyStepAdjustment.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyStepScalingPolicyConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyStepScalingPolicyConfiguration.ps1 index 174cdab63..9c2926ccf 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyStepScalingPolicyConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyStepScalingPolicyConfiguration.ps1 @@ -94,7 +94,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyTargetTrackingScalingPolicyConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyTargetTrackingScalingPolicyConfiguration.ps1 index 1d18c951f..17201a08a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyTargetTrackingScalingPolicyConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyTargetTrackingScalingPolicyConfiguration.ps1 @@ -75,7 +75,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupLifecycleHookSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupLifecycleHookSpecification.ps1 index a281197f6..83d639ddd 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupLifecycleHookSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupLifecycleHookSpecification.ps1 @@ -134,7 +134,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupMetricsCollection.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupMetricsCollection.ps1 index a7ab21f31..a728ba83e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupMetricsCollection.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupMetricsCollection.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupNotificationConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupNotificationConfiguration.ps1 index cfdc051fa..80cdf57b4 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupNotificationConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupNotificationConfiguration.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupTagProperty.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupTagProperty.ps1 index b6cab6fed..d4dac6d7e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupTagProperty.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupTagProperty.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingLaunchConfigurationBlockDevice.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingLaunchConfigurationBlockDevice.ps1 index bd7afbd1a..910aebc72 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingLaunchConfigurationBlockDevice.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingLaunchConfigurationBlockDevice.ps1 @@ -93,7 +93,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingLaunchConfigurationBlockDeviceMapping.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingLaunchConfigurationBlockDeviceMapping.ps1 index 5ebb3f84e..0fa5db2f2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingLaunchConfigurationBlockDeviceMapping.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingLaunchConfigurationBlockDeviceMapping.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanApplicationSource.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanApplicationSource.ps1 index b3cd3ba39..2a003283f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanApplicationSource.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanApplicationSource.ps1 @@ -58,7 +58,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanCustomizedScalingMetricSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanCustomizedScalingMetricSpecification.ps1 index a8a9b390f..b52b029a4 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanCustomizedScalingMetricSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanCustomizedScalingMetricSpecification.ps1 @@ -109,7 +109,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanMetricDimension.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanMetricDimension.ps1 index 9c3554ba9..85d157bb1 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanMetricDimension.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanMetricDimension.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanPredefinedScalingMetricSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanPredefinedScalingMetricSpecification.ps1 index b98938cd2..faa927887 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanPredefinedScalingMetricSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanPredefinedScalingMetricSpecification.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanScalingInstruction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanScalingInstruction.ps1 index 102a18cf5..c7e97c201 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanScalingInstruction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanScalingInstruction.ps1 @@ -110,7 +110,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanTagFilter.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanTagFilter.ps1 index b76a9c92a..6489d0b8b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanTagFilter.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanTagFilter.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanTargetTrackingConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanTargetTrackingConfiguration.ps1 index d66d2d0a0..82a460460 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanTargetTrackingConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingPlansScalingPlanTargetTrackingConfiguration.ps1 @@ -84,7 +84,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyCustomizedMetricSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyCustomizedMetricSpecification.ps1 index a46525f8e..bb8eb1776 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyCustomizedMetricSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyCustomizedMetricSpecification.ps1 @@ -110,7 +110,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyMetricDimension.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyMetricDimension.ps1 index 540c2a2ff..3aecbe40d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyMetricDimension.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyMetricDimension.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyPredefinedMetricSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyPredefinedMetricSpecification.ps1 index e2b9ca0ec..7826daf97 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyPredefinedMetricSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyPredefinedMetricSpecification.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyStepAdjustment.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyStepAdjustment.ps1 index 25355e30f..40222694b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyStepAdjustment.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyStepAdjustment.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyTargetTrackingConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyTargetTrackingConfiguration.ps1 index d146385e9..31a6451a3 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyTargetTrackingConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSAutoScalingScalingPolicyTargetTrackingConfiguration.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSBatchComputeEnvironmentComputeResources.ps1 b/VaporShell/Public/Resource Property Types/Add-VSBatchComputeEnvironmentComputeResources.ps1 index 091fdb732..3ed3702af 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSBatchComputeEnvironmentComputeResources.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSBatchComputeEnvironmentComputeResources.ps1 @@ -188,7 +188,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Tags { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionContainerProperties.ps1 b/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionContainerProperties.ps1 index b24a7cf09..67f6cd75c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionContainerProperties.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionContainerProperties.ps1 @@ -191,7 +191,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionEnvironment.ps1 b/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionEnvironment.ps1 index cdb2983de..67605c2da 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionEnvironment.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionEnvironment.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionMountPoints.ps1 b/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionMountPoints.ps1 index 1ffae3898..f91712169 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionMountPoints.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionMountPoints.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionRetryStrategy.ps1 b/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionRetryStrategy.ps1 index f5435c5dc..207fe1777 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionRetryStrategy.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionRetryStrategy.ps1 @@ -32,7 +32,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionTimeout.ps1 b/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionTimeout.ps1 index 18bdf86af..8b46639dc 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionTimeout.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionTimeout.ps1 @@ -32,7 +32,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionUlimit.ps1 b/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionUlimit.ps1 index 8ceb533b5..afd694e3d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionUlimit.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionUlimit.ps1 @@ -58,7 +58,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionVolumes.ps1 b/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionVolumes.ps1 index 98ae2ffeb..0985c8e0d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionVolumes.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionVolumes.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionVolumesHost.ps1 b/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionVolumesHost.ps1 index 66976c1a0..6ff916232 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionVolumesHost.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSBatchJobDefinitionVolumesHost.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSBatchJobQueueComputeEnvironmentOrder.ps1 b/VaporShell/Public/Resource Property Types/Add-VSBatchJobQueueComputeEnvironmentOrder.ps1 index e1c9751f9..5cf82a737 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSBatchJobQueueComputeEnvironmentOrder.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSBatchJobQueueComputeEnvironmentOrder.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetBudgetData.ps1 b/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetBudgetData.ps1 index e4e35f282..5e5c7d6db 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetBudgetData.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetBudgetData.ps1 @@ -115,7 +115,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + CostFilters { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetCostTypes.ps1 b/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetCostTypes.ps1 index a918e0046..ea7c5ed7d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetCostTypes.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetCostTypes.ps1 @@ -122,7 +122,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetNotification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetNotification.ps1 index 25ce94681..9e4521c90 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetNotification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetNotification.ps1 @@ -83,7 +83,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetNotificationWithSubscribers.ps1 b/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetNotificationWithSubscribers.ps1 index 5e81a5cf9..45ce9c09c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetNotificationWithSubscribers.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetNotificationWithSubscribers.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetSpend.ps1 b/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetSpend.ps1 index f94e24895..53e371b41 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetSpend.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetSpend.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetSubscriber.ps1 b/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetSubscriber.ps1 index bd935e4a4..ef3a8c326 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetSubscriber.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetSubscriber.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetTimePeriod.ps1 b/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetTimePeriod.ps1 index deab3fc07..c50d90dbf 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetTimePeriod.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSBudgetsBudgetTimePeriod.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCertificateManagerCertificateDomainValidationOption.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCertificateManagerCertificateDomainValidationOption.ps1 index a19635c9e..976815dba 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCertificateManagerCertificateDomainValidationOption.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCertificateManagerCertificateDomainValidationOption.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloud9EnvironmentEC2Repository.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloud9EnvironmentEC2Repository.ps1 index 5805b7abc..d1a35ead6 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloud9EnvironmentEC2Repository.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloud9EnvironmentEC2Repository.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontCloudFrontOriginAccessIdentityCloudFrontOriginAccessIdentityConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontCloudFrontOriginAccessIdentityCloudFrontOriginAccessIdentityConfig.ps1 index 75631d729..bddc7dae5 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontCloudFrontOriginAccessIdentityCloudFrontOriginAccessIdentityConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontCloudFrontOriginAccessIdentityCloudFrontOriginAccessIdentityConfig.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionCacheBehavior.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionCacheBehavior.ps1 index fb8e2e837..c6b3296df 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionCacheBehavior.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionCacheBehavior.ps1 @@ -189,7 +189,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionCookies.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionCookies.ps1 index 44b49ebce..f58f52d56 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionCookies.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionCookies.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionCustomErrorResponse.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionCustomErrorResponse.ps1 index cf571d22b..772464572 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionCustomErrorResponse.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionCustomErrorResponse.ps1 @@ -67,7 +67,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionCustomOriginConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionCustomOriginConfig.ps1 index 46daac0a0..d7d3a612f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionCustomOriginConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionCustomOriginConfig.ps1 @@ -85,7 +85,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionDefaultCacheBehavior.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionDefaultCacheBehavior.ps1 index 33444ffd1..2141fdc0e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionDefaultCacheBehavior.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionDefaultCacheBehavior.ps1 @@ -172,7 +172,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionDistributionConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionDistributionConfig.ps1 index c67a90935..c0292f9d1 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionDistributionConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionDistributionConfig.ps1 @@ -221,7 +221,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionForwardedValues.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionForwardedValues.ps1 index 1c2fe8fdf..5a16b354a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionForwardedValues.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionForwardedValues.ps1 @@ -58,7 +58,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionGeoRestriction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionGeoRestriction.ps1 index 833523d3a..6fdceb340 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionGeoRestriction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionGeoRestriction.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionLambdaFunctionAssociation.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionLambdaFunctionAssociation.ps1 index 0019deafb..ed4f8e1bb 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionLambdaFunctionAssociation.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionLambdaFunctionAssociation.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionLogging.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionLogging.ps1 index 5093488bb..637dfad8b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionLogging.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionLogging.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionOrigin.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionOrigin.ps1 index 3c36a4515..2345c7cdb 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionOrigin.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionOrigin.ps1 @@ -108,7 +108,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionOriginCustomHeader.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionOriginCustomHeader.ps1 index 53fbe6ad0..8f102f191 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionOriginCustomHeader.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionOriginCustomHeader.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionRestrictions.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionRestrictions.ps1 index 0bdf8e4e4..0b7af929f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionRestrictions.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionRestrictions.ps1 @@ -31,7 +31,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionS3OriginConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionS3OriginConfig.ps1 index 0ef8a9175..155a2fd31 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionS3OriginConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionS3OriginConfig.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionViewerCertificate.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionViewerCertificate.ps1 index 579c6c347..81d1f9cc0 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionViewerCertificate.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontDistributionViewerCertificate.ps1 @@ -100,7 +100,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontStreamingDistributionLogging.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontStreamingDistributionLogging.ps1 index f95975a32..2d6384c77 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontStreamingDistributionLogging.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontStreamingDistributionLogging.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontStreamingDistributionS3Origin.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontStreamingDistributionS3Origin.ps1 index 30827060c..4caac5bc0 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontStreamingDistributionS3Origin.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontStreamingDistributionS3Origin.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontStreamingDistributionStreamingDistributionConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontStreamingDistributionStreamingDistributionConfig.ps1 index f3737b59e..0674eaea9 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontStreamingDistributionStreamingDistributionConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontStreamingDistributionStreamingDistributionConfig.ps1 @@ -99,7 +99,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontStreamingDistributionTrustedSigners.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontStreamingDistributionTrustedSigners.ps1 index 1b79c5dad..72004d92e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudFrontStreamingDistributionTrustedSigners.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudFrontStreamingDistributionTrustedSigners.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudTrailTrailDataResource.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudTrailTrailDataResource.ps1 index 9bea96d84..5503a4b86 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudTrailTrailDataResource.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudTrailTrailDataResource.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudTrailTrailEventSelector.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudTrailTrailEventSelector.ps1 index 73a2c81a6..f2148c762 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudTrailTrailEventSelector.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudTrailTrailEventSelector.ps1 @@ -68,7 +68,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCloudWatchAlarmDimension.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCloudWatchAlarmDimension.ps1 index 2452c7451..5f3e8aba2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCloudWatchAlarmDimension.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCloudWatchAlarmDimension.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectArtifacts.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectArtifacts.ps1 index 8fd16a85f..bdc7b047e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectArtifacts.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectArtifacts.ps1 @@ -125,7 +125,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectEnvironment.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectEnvironment.ps1 index 583190abd..055007ca4 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectEnvironment.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectEnvironment.ps1 @@ -118,7 +118,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectEnvironmentVariable.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectEnvironmentVariable.ps1 index 7738ed4b7..9e3c49890 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectEnvironmentVariable.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectEnvironmentVariable.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectProjectCache.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectProjectCache.ps1 index f2a6af506..8f0ae498d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectProjectCache.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectProjectCache.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectProjectTriggers.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectProjectTriggers.ps1 index fe5ef7bab..2482c6b4c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectProjectTriggers.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectProjectTriggers.ps1 @@ -32,7 +32,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectSource.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectSource.ps1 index b2a1b03ac..1ce57586c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectSource.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectSource.ps1 @@ -109,7 +109,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectSourceAuth.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectSourceAuth.ps1 index 32862544a..1cd4188ac 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectSourceAuth.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectSourceAuth.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectVpcConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectVpcConfig.ps1 index 2bbb369d9..1f4ca2084 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectVpcConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeBuildProjectVpcConfig.ps1 @@ -58,7 +58,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeCommitRepositoryRepositoryTrigger.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeCommitRepositoryRepositoryTrigger.ps1 index 532218bf8..c79784709 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeCommitRepositoryRepositoryTrigger.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeCommitRepositoryRepositoryTrigger.ps1 @@ -92,7 +92,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentConfigMinimumHealthyHosts.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentConfigMinimumHealthyHosts.ps1 index d26d6f5bb..e892a4655 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentConfigMinimumHealthyHosts.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentConfigMinimumHealthyHosts.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupAlarm.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupAlarm.ps1 index 3e285961c..7efe69793 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupAlarm.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupAlarm.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupAlarmConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupAlarmConfiguration.ps1 index bb2337887..841d74006 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupAlarmConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupAlarmConfiguration.ps1 @@ -60,7 +60,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupAutoRollbackConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupAutoRollbackConfiguration.ps1 index c98a308b8..b8ba21967 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupAutoRollbackConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupAutoRollbackConfiguration.ps1 @@ -42,7 +42,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupDeployment.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupDeployment.ps1 index ec227a3a2..a79bbf891 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupDeployment.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupDeployment.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupDeploymentStyle.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupDeploymentStyle.ps1 index 708105c1f..180a46835 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupDeploymentStyle.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupDeploymentStyle.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupEC2TagFilter.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupEC2TagFilter.ps1 index 31d232cf7..84866dec7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupEC2TagFilter.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupEC2TagFilter.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupELBInfo.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupELBInfo.ps1 index 91a0ad8d2..b143e0095 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupELBInfo.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupELBInfo.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupGitHubLocation.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupGitHubLocation.ps1 index 1dd2b35be..7a7754be1 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupGitHubLocation.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupGitHubLocation.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupLoadBalancerInfo.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupLoadBalancerInfo.ps1 index 39f0c25a1..108517f0b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupLoadBalancerInfo.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupLoadBalancerInfo.ps1 @@ -61,7 +61,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupRevisionLocation.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupRevisionLocation.ps1 index f1f97b268..d99fd1789 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupRevisionLocation.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupRevisionLocation.ps1 @@ -56,7 +56,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupS3Location.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupS3Location.ps1 index 6307d122b..de8f6edca 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupS3Location.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupS3Location.ps1 @@ -108,7 +108,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupTagFilter.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupTagFilter.ps1 index 59959ce5d..aedf12d66 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupTagFilter.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupTagFilter.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupTargetGroupInfo.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupTargetGroupInfo.ps1 index 79e69f431..dbfce16e3 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupTargetGroupInfo.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupTargetGroupInfo.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupTriggerConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupTriggerConfig.ps1 index 7d0b2f10d..0c4b4a63e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupTriggerConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupTriggerConfig.ps1 @@ -67,7 +67,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodePipelineCustomActionTypeArtifactDetails.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodePipelineCustomActionTypeArtifactDetails.ps1 index 271d1163f..dee2c19c0 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodePipelineCustomActionTypeArtifactDetails.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodePipelineCustomActionTypeArtifactDetails.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodePipelineCustomActionTypeConfigurationProperties.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodePipelineCustomActionTypeConfigurationProperties.ps1 index 185286806..706ee2aee 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodePipelineCustomActionTypeConfigurationProperties.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodePipelineCustomActionTypeConfigurationProperties.ps1 @@ -110,7 +110,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodePipelineCustomActionTypeSettings.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodePipelineCustomActionTypeSettings.ps1 index 7501e5023..bcce8575f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodePipelineCustomActionTypeSettings.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodePipelineCustomActionTypeSettings.ps1 @@ -91,7 +91,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineActionDeclaration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineActionDeclaration.ps1 index 1f8d81384..d7083cdbe 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineActionDeclaration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineActionDeclaration.ps1 @@ -129,7 +129,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Configuration { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineActionTypeId.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineActionTypeId.ps1 index 9c51f15a9..ae86988b1 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineActionTypeId.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineActionTypeId.ps1 @@ -91,7 +91,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineArtifactStore.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineArtifactStore.ps1 index 4aeb4ad64..220f239e8 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineArtifactStore.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineArtifactStore.ps1 @@ -65,7 +65,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineBlockerDeclaration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineBlockerDeclaration.ps1 index c53b38e89..f1f7ae029 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineBlockerDeclaration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineBlockerDeclaration.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineEncryptionKey.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineEncryptionKey.ps1 index b3958b01f..5acd6f6ac 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineEncryptionKey.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineEncryptionKey.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineInputArtifact.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineInputArtifact.ps1 index 6e4c412c6..82608e5d4 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineInputArtifact.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineInputArtifact.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineOutputArtifact.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineOutputArtifact.ps1 index 3d1389977..9ec75b4d0 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineOutputArtifact.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineOutputArtifact.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineStageDeclaration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineStageDeclaration.ps1 index 188bde9c1..36b46302a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineStageDeclaration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineStageDeclaration.ps1 @@ -78,7 +78,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineStageTransition.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineStageTransition.ps1 index 1bc323700..aa4db3131 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineStageTransition.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodePipelinePipelineStageTransition.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodePipelineWebhookWebhookAuthConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodePipelineWebhookWebhookAuthConfiguration.ps1 index e13d7f7e1..0960b42cd 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodePipelineWebhookWebhookAuthConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodePipelineWebhookWebhookAuthConfiguration.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCodePipelineWebhookWebhookFilterRule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCodePipelineWebhookWebhookFilterRule.ps1 index 4353f354a..1baf19e6f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCodePipelineWebhookWebhookFilterRule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCodePipelineWebhookWebhookFilterRule.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolCognitoIdentityProvider.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolCognitoIdentityProvider.ps1 index e20c365c7..6ed1e0009 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolCognitoIdentityProvider.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolCognitoIdentityProvider.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolCognitoStreams.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolCognitoStreams.ps1 index 2fba6f220..0c7cfe35b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolCognitoStreams.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolCognitoStreams.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolPushSync.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolPushSync.ps1 index b76853134..8731d18ff 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolPushSync.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolPushSync.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolRoleAttachmentMappingRule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolRoleAttachmentMappingRule.ps1 index a2fd30ca5..e4bbdb271 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolRoleAttachmentMappingRule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolRoleAttachmentMappingRule.ps1 @@ -91,7 +91,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolRoleAttachmentRoleMapping.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolRoleAttachmentRoleMapping.ps1 index 9fa9d60bd..fdc99e950 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolRoleAttachmentRoleMapping.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolRoleAttachmentRoleMapping.ps1 @@ -65,7 +65,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolRoleAttachmentRulesConfigurationType.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolRoleAttachmentRulesConfigurationType.ps1 index b85bc0dd8..a2d871e66 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolRoleAttachmentRulesConfigurationType.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoIdentityPoolRoleAttachmentRulesConfigurationType.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolAdminCreateUserConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolAdminCreateUserConfig.ps1 index 4b93b44a6..6128122af 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolAdminCreateUserConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolAdminCreateUserConfig.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolDeviceConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolDeviceConfiguration.ps1 index e6b566103..b247c9326 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolDeviceConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolDeviceConfiguration.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolEmailConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolEmailConfiguration.ps1 index 5a444cd98..bec3b1836 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolEmailConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolEmailConfiguration.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolInviteMessageTemplate.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolInviteMessageTemplate.ps1 index c65c8a722..96fa82eb1 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolInviteMessageTemplate.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolInviteMessageTemplate.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolLambdaConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolLambdaConfig.ps1 index 557a6b4bb..cc0d79803 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolLambdaConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolLambdaConfig.ps1 @@ -159,7 +159,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolNumberAttributeConstraints.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolNumberAttributeConstraints.ps1 index 6f59acc9c..b18790d5a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolNumberAttributeConstraints.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolNumberAttributeConstraints.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolPasswordPolicy.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolPasswordPolicy.ps1 index 2de7f3d4e..77cb9b1a5 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolPasswordPolicy.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolPasswordPolicy.ps1 @@ -68,7 +68,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolPolicies.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolPolicies.ps1 index 35677189a..379870678 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolPolicies.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolPolicies.ps1 @@ -33,7 +33,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolSchemaAttribute.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolSchemaAttribute.ps1 index cbfb81c4b..1f6779a77 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolSchemaAttribute.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolSchemaAttribute.ps1 @@ -100,7 +100,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolSmsConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolSmsConfiguration.ps1 index 23b885ca2..a71b934d9 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolSmsConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolSmsConfiguration.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolStringAttributeConstraints.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolStringAttributeConstraints.ps1 index 0ccf1c528..7f8bb6f6d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolStringAttributeConstraints.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolStringAttributeConstraints.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolUserAttributeType.ps1 b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolUserAttributeType.ps1 index fc0f1d471..05e48f087 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolUserAttributeType.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSCognitoUserPoolUserAttributeType.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSConfigConfigRuleScope.ps1 b/VaporShell/Public/Resource Property Types/Add-VSConfigConfigRuleScope.ps1 index fe53fa82e..61ec2836e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSConfigConfigRuleScope.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSConfigConfigRuleScope.ps1 @@ -84,7 +84,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSConfigConfigRuleSource.ps1 b/VaporShell/Public/Resource Property Types/Add-VSConfigConfigRuleSource.ps1 index be8d89b68..f295b279e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSConfigConfigRuleSource.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSConfigConfigRuleSource.ps1 @@ -76,7 +76,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSConfigConfigRuleSourceDetail.ps1 b/VaporShell/Public/Resource Property Types/Add-VSConfigConfigRuleSourceDetail.ps1 index bc611e429..8b0a41a6c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSConfigConfigRuleSourceDetail.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSConfigConfigRuleSourceDetail.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSConfigConfigurationAggregatorAccountAggregationSource.ps1 b/VaporShell/Public/Resource Property Types/Add-VSConfigConfigurationAggregatorAccountAggregationSource.ps1 index 0bd930544..173ebe6d7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSConfigConfigurationAggregatorAccountAggregationSource.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSConfigConfigurationAggregatorAccountAggregationSource.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSConfigConfigurationAggregatorOrganizationAggregationSource.ps1 b/VaporShell/Public/Resource Property Types/Add-VSConfigConfigurationAggregatorOrganizationAggregationSource.ps1 index b687e7043..3e755d707 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSConfigConfigurationAggregatorOrganizationAggregationSource.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSConfigConfigurationAggregatorOrganizationAggregationSource.ps1 @@ -58,7 +58,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSConfigConfigurationRecorderRecordingGroup.ps1 b/VaporShell/Public/Resource Property Types/Add-VSConfigConfigurationRecorderRecordingGroup.ps1 index c7e008754..d1a8aabb8 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSConfigConfigurationRecorderRecordingGroup.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSConfigConfigurationRecorderRecordingGroup.ps1 @@ -51,7 +51,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSConfigDeliveryChannelConfigSnapshotDeliveryProperties.ps1 b/VaporShell/Public/Resource Property Types/Add-VSConfigDeliveryChannelConfigSnapshotDeliveryProperties.ps1 index 0ab1fdb31..bf7285e31 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSConfigDeliveryChannelConfigSnapshotDeliveryProperties.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSConfigDeliveryChannelConfigSnapshotDeliveryProperties.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDMSEndpointDynamoDbSettings.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDMSEndpointDynamoDbSettings.ps1 index 5b2071088..9009b9ac5 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDMSEndpointDynamoDbSettings.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDMSEndpointDynamoDbSettings.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDMSEndpointMongoDbSettings.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDMSEndpointMongoDbSettings.ps1 index f15ad65fa..31ce4ef4a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDMSEndpointMongoDbSettings.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDMSEndpointMongoDbSettings.ps1 @@ -204,7 +204,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDMSEndpointS3Settings.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDMSEndpointS3Settings.ps1 index 7cfb0eeb5..852a5107b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDMSEndpointS3Settings.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDMSEndpointS3Settings.ps1 @@ -142,7 +142,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelineField.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelineField.ps1 index ee108f283..88a05b723 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelineField.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelineField.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelineParameterAttribute.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelineParameterAttribute.ps1 index 862a49832..48f3f9841 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelineParameterAttribute.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelineParameterAttribute.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelineParameterObject.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelineParameterObject.ps1 index 78946cbf6..f2f16ff16 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelineParameterObject.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelineParameterObject.ps1 @@ -59,7 +59,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelineParameterValue.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelineParameterValue.ps1 index f22281cec..a2df2dd8f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelineParameterValue.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelineParameterValue.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelinePipelineObject.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelinePipelineObject.ps1 index 010ec2f5d..456ff5352 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelinePipelineObject.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelinePipelineObject.ps1 @@ -76,7 +76,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelinePipelineTag.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelinePipelineTag.ps1 index 62ed93594..9aa5c416e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelinePipelineTag.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDataPipelinePipelinePipelineTag.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDirectoryServiceMicrosoftADVpcSettings.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDirectoryServiceMicrosoftADVpcSettings.ps1 index baaa2c79d..48c678bd2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDirectoryServiceMicrosoftADVpcSettings.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDirectoryServiceMicrosoftADVpcSettings.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDirectoryServiceSimpleADVpcSettings.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDirectoryServiceSimpleADVpcSettings.ps1 index aecf34e17..4d3de7e86 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDirectoryServiceSimpleADVpcSettings.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDirectoryServiceSimpleADVpcSettings.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableAttributeDefinition.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableAttributeDefinition.ps1 index 81ab46d75..fb717cca9 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableAttributeDefinition.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableAttributeDefinition.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableGlobalSecondaryIndex.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableGlobalSecondaryIndex.ps1 index abf118804..ef3da4a77 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableGlobalSecondaryIndex.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableGlobalSecondaryIndex.ps1 @@ -75,7 +75,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableKeySchema.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableKeySchema.ps1 index 99b08e313..5ac3f4f2c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableKeySchema.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableKeySchema.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableLocalSecondaryIndex.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableLocalSecondaryIndex.ps1 index 9321c288a..3d7a3e646 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableLocalSecondaryIndex.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableLocalSecondaryIndex.ps1 @@ -67,7 +67,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTablePointInTimeRecoverySpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTablePointInTimeRecoverySpecification.ps1 index e007cf335..20c2022f6 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTablePointInTimeRecoverySpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTablePointInTimeRecoverySpecification.ps1 @@ -32,7 +32,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableProjection.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableProjection.ps1 index aca30d3fa..285d484fc 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableProjection.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableProjection.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableProvisionedThroughput.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableProvisionedThroughput.ps1 index 0778e15e7..349085ea9 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableProvisionedThroughput.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableProvisionedThroughput.ps1 @@ -39,7 +39,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableSSESpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableSSESpecification.ps1 index 671071d94..292cc2321 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableSSESpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableSSESpecification.ps1 @@ -32,7 +32,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableStreamSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableStreamSpecification.ps1 index 0c8fe8b9c..a3ae8673f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableStreamSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableStreamSpecification.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableTimeToLiveSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableTimeToLiveSpecification.ps1 index 04f86bd8d..33e198c61 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableTimeToLiveSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSDynamoDBTableTimeToLiveSpecification.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceAssociationParameter.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceAssociationParameter.ps1 index fa2653424..a364be948 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceAssociationParameter.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceAssociationParameter.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceBlockDeviceMapping.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceBlockDeviceMapping.ps1 index 7ee805c08..346bba228 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceBlockDeviceMapping.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceBlockDeviceMapping.ps1 @@ -73,7 +73,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceCreditSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceCreditSpecification.ps1 index cabc37c1f..1500d4aea 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceCreditSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceCreditSpecification.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceEbs.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceEbs.ps1 index f8d052f4c..e33a6ce1a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceEbs.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceEbs.ps1 @@ -93,7 +93,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceElasticGpuSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceElasticGpuSpecification.ps1 index 7bf085f99..6dda0dd00 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceElasticGpuSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceElasticGpuSpecification.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceInstanceIpv6Address.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceInstanceIpv6Address.ps1 index bcffae555..33a1f57a3 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceInstanceIpv6Address.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceInstanceIpv6Address.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceLaunchTemplateSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceLaunchTemplateSpecification.ps1 index be88eb3b0..c943bd0e0 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceLaunchTemplateSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceLaunchTemplateSpecification.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceNetworkInterface.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceNetworkInterface.ps1 index c42504632..764399a34 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceNetworkInterface.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceNetworkInterface.ps1 @@ -192,7 +192,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceNoDevice.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceNoDevice.ps1 index 61dfc4e75..f03ade35c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceNoDevice.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceNoDevice.ps1 @@ -23,7 +23,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2InstancePrivateIpAddressSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2InstancePrivateIpAddressSpecification.ps1 index d03fdd833..1539295f2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2InstancePrivateIpAddressSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2InstancePrivateIpAddressSpecification.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceSsmAssociation.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceSsmAssociation.ps1 index afaa5c74b..a2df10a3b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceSsmAssociation.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceSsmAssociation.ps1 @@ -59,7 +59,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceVolume.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceVolume.ps1 index 5ed61ffa8..de87899e1 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceVolume.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2InstanceVolume.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateBlockDeviceMapping.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateBlockDeviceMapping.ps1 index ebb63f6c1..534016ded 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateBlockDeviceMapping.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateBlockDeviceMapping.ps1 @@ -82,7 +82,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateCreditSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateCreditSpecification.ps1 index ca9eb369f..856996019 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateCreditSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateCreditSpecification.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateEbs.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateEbs.ps1 index 7c0e5e066..ef5aaab9c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateEbs.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateEbs.ps1 @@ -110,7 +110,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateElasticGpuSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateElasticGpuSpecification.ps1 index 228f566de..dd99f9a67 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateElasticGpuSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateElasticGpuSpecification.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateIamInstanceProfile.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateIamInstanceProfile.ps1 index 5230deaf4..f01d8133b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateIamInstanceProfile.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateIamInstanceProfile.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateInstanceMarketOptions.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateInstanceMarketOptions.ps1 index 78cd9981e..94b469b59 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateInstanceMarketOptions.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateInstanceMarketOptions.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateIpv6Add.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateIpv6Add.ps1 index 9a0962991..fe8d391a7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateIpv6Add.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateIpv6Add.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateLaunchTemplateData.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateLaunchTemplateData.ps1 index 393a3f4b7..415baef37 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateLaunchTemplateData.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateLaunchTemplateData.ps1 @@ -290,7 +290,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateMonitoring.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateMonitoring.ps1 index 8fae2fff9..561db35d7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateMonitoring.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateMonitoring.ps1 @@ -32,7 +32,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateNetworkInterface.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateNetworkInterface.ps1 index 7adc15ba7..6350f2e72 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateNetworkInterface.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateNetworkInterface.ps1 @@ -181,7 +181,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplatePlacement.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplatePlacement.ps1 index 98f8647d7..69cc83f02 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplatePlacement.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplatePlacement.ps1 @@ -108,7 +108,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplatePrivateIpAdd.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplatePrivateIpAdd.ps1 index 1ce344b55..b782db367 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplatePrivateIpAdd.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplatePrivateIpAdd.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateSpotOptions.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateSpotOptions.ps1 index 981585e26..471afef86 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateSpotOptions.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateSpotOptions.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateTagSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateTagSpecification.ps1 index 1b1dddf17..510a262ee 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateTagSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2LaunchTemplateTagSpecification.ps1 @@ -58,7 +58,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2NetworkAclEntryIcmp.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2NetworkAclEntryIcmp.ps1 index bce31b28f..1a9c14074 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2NetworkAclEntryIcmp.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2NetworkAclEntryIcmp.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2NetworkAclEntryPortRange.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2NetworkAclEntryPortRange.ps1 index 0c222469f..37428240e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2NetworkAclEntryPortRange.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2NetworkAclEntryPortRange.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2NetworkInterfaceInstanceIpv6Address.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2NetworkInterfaceInstanceIpv6Address.ps1 index 56b542331..ce42b31f4 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2NetworkInterfaceInstanceIpv6Address.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2NetworkInterfaceInstanceIpv6Address.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2NetworkInterfacePrivateIpAddressSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2NetworkInterfacePrivateIpAddressSpecification.ps1 index d654718b0..ebe062ebd 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2NetworkInterfacePrivateIpAddressSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2NetworkInterfacePrivateIpAddressSpecification.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2SecurityGroupEgress.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2SecurityGroupEgress.ps1 index 218020bc7..d055ee71d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2SecurityGroupEgress.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2SecurityGroupEgress.ps1 @@ -143,7 +143,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2SecurityGroupIngress.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2SecurityGroupIngress.ps1 index ab14050d2..780d7f746 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2SecurityGroupIngress.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2SecurityGroupIngress.ps1 @@ -160,7 +160,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetBlockDeviceMapping.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetBlockDeviceMapping.ps1 index 22f2bb5f2..ea3e921d4 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetBlockDeviceMapping.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetBlockDeviceMapping.ps1 @@ -82,7 +82,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetEbsBlockDevice.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetEbsBlockDevice.ps1 index decfd3927..434cde531 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetEbsBlockDevice.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetEbsBlockDevice.ps1 @@ -93,7 +93,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetGroupIdentifier.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetGroupIdentifier.ps1 index 0c3a18be5..70e23b770 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetGroupIdentifier.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetGroupIdentifier.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetIamInstanceProfileSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetIamInstanceProfileSpecification.ps1 index d95316ffb..f28dd6d36 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetIamInstanceProfileSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetIamInstanceProfileSpecification.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetInstanceIpv6Address.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetInstanceIpv6Address.ps1 index 1dcb0fac3..e725a9bf7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetInstanceIpv6Address.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetInstanceIpv6Address.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetInstanceNetworkInterfaceSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetInstanceNetworkInterfaceSpecification.ps1 index 5c9dd317d..ffd6438b6 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetInstanceNetworkInterfaceSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetInstanceNetworkInterfaceSpecification.ps1 @@ -167,7 +167,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetPrivateIpAddressSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetPrivateIpAddressSpecification.ps1 index 181ea0b3e..8184b1866 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetPrivateIpAddressSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetPrivateIpAddressSpecification.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetLaunchSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetLaunchSpecification.ps1 index 361ee4233..c4aef1286 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetLaunchSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetLaunchSpecification.ps1 @@ -277,7 +277,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetMonitoring.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetMonitoring.ps1 index b2a3cfcf0..38beb2f97 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetMonitoring.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetMonitoring.ps1 @@ -32,7 +32,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetRequestConfigData.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetRequestConfigData.ps1 index 2e1ac915c..057939ea8 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetRequestConfigData.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetRequestConfigData.ps1 @@ -188,7 +188,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetTagSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetTagSpecification.ps1 index ca82e758b..649b7697f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetTagSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetTagSpecification.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotPlacement.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotPlacement.ps1 index e8a5b3cf4..6f6c6a159 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotPlacement.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2SpotFleetSpotPlacement.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEC2VPNConnectionVpnTunnelOptionsSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEC2VPNConnectionVpnTunnelOptionsSpecification.ps1 index 271f9e30b..e65062c9f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEC2VPNConnectionVpnTunnelOptionsSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEC2VPNConnectionVpnTunnelOptionsSpecification.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECRRepositoryLifecyclePolicy.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECRRepositoryLifecyclePolicy.ps1 index 28b522564..5afc10f04 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECRRepositoryLifecyclePolicy.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECRRepositoryLifecyclePolicy.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSServiceAwsVpcConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSServiceAwsVpcConfiguration.ps1 index 407e653db..6205e598c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSServiceAwsVpcConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSServiceAwsVpcConfiguration.ps1 @@ -60,7 +60,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSServiceDeploymentConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSServiceDeploymentConfiguration.ps1 index 44ecf41b3..b5dd73da5 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSServiceDeploymentConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSServiceDeploymentConfiguration.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSServiceLoadBalancer.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSServiceLoadBalancer.ps1 index 3669c8855..83d629ea8 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSServiceLoadBalancer.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSServiceLoadBalancer.ps1 @@ -83,7 +83,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSServiceNetworkConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSServiceNetworkConfiguration.ps1 index a95898abc..689e6b89e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSServiceNetworkConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSServiceNetworkConfiguration.ps1 @@ -31,7 +31,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSServicePlacementConstraint.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSServicePlacementConstraint.ps1 index e3621cd81..8c0f23018 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSServicePlacementConstraint.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSServicePlacementConstraint.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSServicePlacementStrategy.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSServicePlacementStrategy.ps1 index 2e6728cbc..9646b4b4c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSServicePlacementStrategy.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSServicePlacementStrategy.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSServiceServiceRegistry.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSServiceServiceRegistry.ps1 index fe3d8d289..e19332873 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSServiceServiceRegistry.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSServiceServiceRegistry.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionContainerDefinition.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionContainerDefinition.ps1 index 226786f51..66c3b33c5 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionContainerDefinition.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionContainerDefinition.ps1 @@ -380,7 +380,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionDevice.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionDevice.ps1 index 4d7431923..5bbf9dd8c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionDevice.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionDevice.ps1 @@ -67,7 +67,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionHealthCheck.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionHealthCheck.ps1 index 98815c78d..280567c45 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionHealthCheck.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionHealthCheck.ps1 @@ -69,7 +69,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionHostEntry.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionHostEntry.ps1 index c979c0ada..23bc1c9cd 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionHostEntry.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionHostEntry.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionHostVolumeProperties.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionHostVolumeProperties.ps1 index c2672f1cc..350409cfd 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionHostVolumeProperties.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionHostVolumeProperties.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionKernelCapabilities.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionKernelCapabilities.ps1 index a8c74852c..e526324f1 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionKernelCapabilities.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionKernelCapabilities.ps1 @@ -43,7 +43,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionKeyValuePair.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionKeyValuePair.ps1 index 72d5570ee..0ed27736c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionKeyValuePair.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionKeyValuePair.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionLinuxParameters.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionLinuxParameters.ps1 index b1604cff8..cc0a2d4d5 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionLinuxParameters.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionLinuxParameters.ps1 @@ -59,7 +59,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionLogConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionLogConfiguration.ps1 index 8ebcdbd9c..38d7c37d0 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionLogConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionLogConfiguration.ps1 @@ -51,7 +51,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionMountPoint.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionMountPoint.ps1 index 6cd279339..0ccfabdc6 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionMountPoint.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionMountPoint.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionPortMapping.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionPortMapping.ps1 index 459739b72..f2996dab2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionPortMapping.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionPortMapping.ps1 @@ -58,7 +58,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionTaskDefinitionPlacementConstraint.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionTaskDefinitionPlacementConstraint.ps1 index 6b2a0a44f..cc5aafdab 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionTaskDefinitionPlacementConstraint.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionTaskDefinitionPlacementConstraint.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionUlimit.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionUlimit.ps1 index 9d72a5d84..4d46f4c10 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionUlimit.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionUlimit.ps1 @@ -58,7 +58,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionVolume.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionVolume.ps1 index 4a356da72..7453c6410 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionVolume.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionVolume.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionVolumeFrom.ps1 b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionVolumeFrom.ps1 index 5562e5e0f..ad9642bca 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionVolumeFrom.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSECSTaskDefinitionVolumeFrom.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEFSFileSystemElasticFileSystemTag.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEFSFileSystemElasticFileSystemTag.ps1 index 308010639..f63ca7470 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEFSFileSystemElasticFileSystemTag.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEFSFileSystemElasticFileSystemTag.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEKSClusterResourcesVpcConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEKSClusterResourcesVpcConfig.ps1 index 9cb638225..413165092 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEKSClusterResourcesVpcConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEKSClusterResourcesVpcConfig.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterApplication.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterApplication.ps1 index cb7e2f9be..2aeca7a26 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterApplication.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterApplication.ps1 @@ -78,7 +78,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterAutoScalingPolicy.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterAutoScalingPolicy.ps1 index 571fd5145..e76d9e3bb 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterAutoScalingPolicy.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterAutoScalingPolicy.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterBootstrapActionConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterBootstrapActionConfig.ps1 index 626aa47aa..2dd2fe046 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterBootstrapActionConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterBootstrapActionConfig.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterCloudWatchAlarmDefinition.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterCloudWatchAlarmDefinition.ps1 index f7f4e100d..27c8c34b2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterCloudWatchAlarmDefinition.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterCloudWatchAlarmDefinition.ps1 @@ -154,7 +154,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterConfiguration.ps1 index 05f12515d..e79ace6d5 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterConfiguration.ps1 @@ -70,7 +70,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterEbsBlockDeviceConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterEbsBlockDeviceConfig.ps1 index 4aae11f8f..bbc24db05 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterEbsBlockDeviceConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterEbsBlockDeviceConfig.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterEbsConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterEbsConfiguration.ps1 index 48a33d73c..38f58a30c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterEbsConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterEbsConfiguration.ps1 @@ -51,7 +51,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterInstanceFleetConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterInstanceFleetConfig.ps1 index 48c0efb3c..b0b8547e0 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterInstanceFleetConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterInstanceFleetConfig.ps1 @@ -85,7 +85,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterInstanceFleetProvisioningSpecifications.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterInstanceFleetProvisioningSpecifications.ps1 index 56c93026a..b3315c4e7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterInstanceFleetProvisioningSpecifications.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterInstanceFleetProvisioningSpecifications.ps1 @@ -31,7 +31,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterInstanceGroupConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterInstanceGroupConfig.ps1 index fc5d58600..06d717ed0 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterInstanceGroupConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterInstanceGroupConfig.ps1 @@ -135,7 +135,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterInstanceTypeConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterInstanceTypeConfig.ps1 index 9f12dc950..b4f551cb9 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterInstanceTypeConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterInstanceTypeConfig.ps1 @@ -102,7 +102,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterJobFlowInstancesConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterJobFlowInstancesConfig.ps1 index 76977f2c2..7b01e727e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterJobFlowInstancesConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterJobFlowInstancesConfig.ps1 @@ -194,7 +194,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterMetricDimension.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterMetricDimension.ps1 index 2ec199a92..c1c85cd7c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterMetricDimension.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterMetricDimension.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterPlacementType.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterPlacementType.ps1 index f83dd9c45..79889d2e3 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterPlacementType.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterPlacementType.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScalingAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScalingAction.ps1 index 61071b6f6..96cb32586 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScalingAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScalingAction.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScalingConstraints.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScalingConstraints.ps1 index e0d09a80f..42b4e91c2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScalingConstraints.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScalingConstraints.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScalingRule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScalingRule.ps1 index cfa431a31..85c44d1e0 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScalingRule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScalingRule.ps1 @@ -73,7 +73,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScalingTrigger.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScalingTrigger.ps1 index bce1bb072..65cf58c78 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScalingTrigger.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScalingTrigger.ps1 @@ -31,7 +31,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScriptBootstrapActionConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScriptBootstrapActionConfig.ps1 index b6f005488..5bed48fc2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScriptBootstrapActionConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterScriptBootstrapActionConfig.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterSimpleScalingPolicyConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterSimpleScalingPolicyConfiguration.ps1 index 3c7b86a8b..2fa3af9a0 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterSimpleScalingPolicyConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterSimpleScalingPolicyConfiguration.ps1 @@ -58,7 +58,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterSpotProvisioningSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterSpotProvisioningSpecification.ps1 index 11057d65d..98cfbbefb 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterSpotProvisioningSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterSpotProvisioningSpecification.ps1 @@ -58,7 +58,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterVolumeSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterVolumeSpecification.ps1 index 36079d54a..949930b72 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRClusterVolumeSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRClusterVolumeSpecification.ps1 @@ -58,7 +58,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigConfiguration.ps1 index f30bbb2dd..93691fe8f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigConfiguration.ps1 @@ -70,7 +70,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigEbsBlockDeviceConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigEbsBlockDeviceConfig.ps1 index ddb46292f..58a63385e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigEbsBlockDeviceConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigEbsBlockDeviceConfig.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigEbsConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigEbsConfiguration.ps1 index d9e731d10..5332a5566 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigEbsConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigEbsConfiguration.ps1 @@ -51,7 +51,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigInstanceFleetProvisioningSpecifications.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigInstanceFleetProvisioningSpecifications.ps1 index 8f0e6a9dd..02e39332e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigInstanceFleetProvisioningSpecifications.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigInstanceFleetProvisioningSpecifications.ps1 @@ -31,7 +31,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigInstanceTypeConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigInstanceTypeConfig.ps1 index 8bad94f61..158a7de40 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigInstanceTypeConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigInstanceTypeConfig.ps1 @@ -102,7 +102,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigSpotProvisioningSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigSpotProvisioningSpecification.ps1 index 83d7179ae..692859dec 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigSpotProvisioningSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigSpotProvisioningSpecification.ps1 @@ -58,7 +58,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigVolumeSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigVolumeSpecification.ps1 index e826d0717..ebad66709 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigVolumeSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceFleetConfigVolumeSpecification.ps1 @@ -58,7 +58,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigAutoScalingPolicy.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigAutoScalingPolicy.ps1 index 7f40d5274..9127e607f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigAutoScalingPolicy.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigAutoScalingPolicy.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigCloudWatchAlarmDefinition.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigCloudWatchAlarmDefinition.ps1 index 5c9a663dc..fec2c44dd 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigCloudWatchAlarmDefinition.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigCloudWatchAlarmDefinition.ps1 @@ -154,7 +154,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigConfiguration.ps1 index 765a8025b..beec01a39 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigConfiguration.ps1 @@ -70,7 +70,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigEbsBlockDeviceConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigEbsBlockDeviceConfig.ps1 index 6f652e815..2622514bd 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigEbsBlockDeviceConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigEbsBlockDeviceConfig.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigEbsConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigEbsConfiguration.ps1 index 7a838f043..49d71aaad 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigEbsConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigEbsConfiguration.ps1 @@ -51,7 +51,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigMetricDimension.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigMetricDimension.ps1 index e11b39c87..b5e374342 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigMetricDimension.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigMetricDimension.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingAction.ps1 index 7685b6c06..84598e43a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingAction.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingConstraints.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingConstraints.ps1 index 330881581..a6470c835 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingConstraints.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingConstraints.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingRule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingRule.ps1 index 4a8d67aaf..86588617d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingRule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingRule.ps1 @@ -73,7 +73,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingTrigger.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingTrigger.ps1 index 90d2a5fa2..6b232bbe2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingTrigger.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingTrigger.ps1 @@ -31,7 +31,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigSimpleScalingPolicyConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigSimpleScalingPolicyConfiguration.ps1 index d271f2153..bc6de7962 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigSimpleScalingPolicyConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigSimpleScalingPolicyConfiguration.ps1 @@ -58,7 +58,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigVolumeSpecification.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigVolumeSpecification.ps1 index dc56f9e97..f39d3b9af 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigVolumeSpecification.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigVolumeSpecification.ps1 @@ -58,7 +58,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRStepHadoopJarStepConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRStepHadoopJarStepConfig.ps1 index 1a4c90ca7..0f4331b37 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRStepHadoopJarStepConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRStepHadoopJarStepConfig.ps1 @@ -86,7 +86,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEMRStepKeyValue.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEMRStepKeyValue.ps1 index 8b20f4e39..3cd57f659 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEMRStepKeyValue.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEMRStepKeyValue.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElastiCacheReplicationGroupNodeGroupConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElastiCacheReplicationGroupNodeGroupConfiguration.ps1 index a8b0f6d63..2c55c1c5f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElastiCacheReplicationGroupNodeGroupConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElastiCacheReplicationGroupNodeGroupConfiguration.ps1 @@ -76,7 +76,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationApplicationResourceLifecycleConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationApplicationResourceLifecycleConfig.ps1 index ca7722881..8177dd8b5 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationApplicationResourceLifecycleConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationApplicationResourceLifecycleConfig.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationApplicationVersionLifecycleConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationApplicationVersionLifecycleConfig.ps1 index 02356e68c..be2acbd3d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationApplicationVersionLifecycleConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationApplicationVersionLifecycleConfig.ps1 @@ -39,7 +39,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationMaxAgeRule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationMaxAgeRule.ps1 index 1b3f76d62..52ab74ad8 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationMaxAgeRule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationMaxAgeRule.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationMaxCountRule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationMaxCountRule.ps1 index 9bbe65c83..b0da0f770 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationMaxCountRule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationMaxCountRule.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationVersionSourceBundle.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationVersionSourceBundle.ps1 index 9cefaea03..434bf3d04 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationVersionSourceBundle.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkApplicationVersionSourceBundle.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkConfigurationTemplateConfigurationOptionSetting.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkConfigurationTemplateConfigurationOptionSetting.ps1 index 6b6ea6b68..8df4466f1 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkConfigurationTemplateConfigurationOptionSetting.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkConfigurationTemplateConfigurationOptionSetting.ps1 @@ -91,7 +91,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkConfigurationTemplateSourceConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkConfigurationTemplateSourceConfiguration.ps1 index 3b6c73651..a13936d72 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkConfigurationTemplateSourceConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkConfigurationTemplateSourceConfiguration.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkEnvironmentOptionSetting.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkEnvironmentOptionSetting.ps1 index befd69f8e..fb83721e7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkEnvironmentOptionSetting.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkEnvironmentOptionSetting.ps1 @@ -91,7 +91,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkEnvironmentTier.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkEnvironmentTier.ps1 index 5c0e27792..f0a01b21c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkEnvironmentTier.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticBeanstalkEnvironmentTier.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerAccessLoggingPolicy.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerAccessLoggingPolicy.ps1 index aa7a2d7cf..00a9710fd 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerAccessLoggingPolicy.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerAccessLoggingPolicy.ps1 @@ -75,7 +75,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerAppCookieStickinessPolicy.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerAppCookieStickinessPolicy.ps1 index b344accd7..76a3e77a9 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerAppCookieStickinessPolicy.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerAppCookieStickinessPolicy.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerConnectionDrainingPolicy.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerConnectionDrainingPolicy.ps1 index 595686de4..ebe76aea7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerConnectionDrainingPolicy.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerConnectionDrainingPolicy.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerConnectionSettings.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerConnectionSettings.ps1 index 9ca179f7a..0f168392c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerConnectionSettings.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerConnectionSettings.ps1 @@ -32,7 +32,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerHealthCheck.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerHealthCheck.ps1 index a16b65fc7..1c58899f0 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerHealthCheck.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerHealthCheck.ps1 @@ -108,7 +108,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerLBCookieStickinessPolicy.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerLBCookieStickinessPolicy.ps1 index e8eca12e1..60859b8b6 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerLBCookieStickinessPolicy.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerLBCookieStickinessPolicy.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerListeners.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerListeners.ps1 index 882c79f7b..cc990a045 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerListeners.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerListeners.ps1 @@ -118,7 +118,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerPolicies.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerPolicies.ps1 index 42f85b055..44e9ab236 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerPolicies.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerPolicies.ps1 @@ -87,7 +87,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerAction.ps1 index 7cf1d1b03..4088568d4 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerAction.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerCertificate.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerCertificate.ps1 index 383129627..2a90bf61c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerCertificate.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerCertificate.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerCertificateCertificate.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerCertificateCertificate.ps1 index 77fa576f1..8f3a5c05b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerCertificateCertificate.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerCertificateCertificate.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerRuleAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerRuleAction.ps1 index ea3581019..e22c43e0b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerRuleAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerRuleAction.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerRuleRuleCondition.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerRuleRuleCondition.ps1 index f2c45a51c..4b4cd8348 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerRuleRuleCondition.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerRuleRuleCondition.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2LoadBalancerLoadBalancerAttribute.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2LoadBalancerLoadBalancerAttribute.ps1 index 7376641dd..5b461230a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2LoadBalancerLoadBalancerAttribute.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2LoadBalancerLoadBalancerAttribute.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2LoadBalancerSubnetMapping.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2LoadBalancerSubnetMapping.ps1 index 4b9cb7ba0..fb21aa326 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2LoadBalancerSubnetMapping.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2LoadBalancerSubnetMapping.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2TargetGroupMatcher.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2TargetGroupMatcher.ps1 index 597a93609..fdf616499 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2TargetGroupMatcher.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2TargetGroupMatcher.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2TargetGroupTargetDescription.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2TargetGroupTargetDescription.ps1 index 0b6691b4e..0b7c6a5c6 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2TargetGroupTargetDescription.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2TargetGroupTargetDescription.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2TargetGroupTargetGroupAttribute.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2TargetGroupTargetGroupAttribute.ps1 index 427fbd8e2..5fdd1d8fa 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2TargetGroupTargetGroupAttribute.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticLoadBalancingV2TargetGroupTargetGroupAttribute.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainEBSOptions.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainEBSOptions.ps1 index 0ea1dc3ab..cb0c5be71 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainEBSOptions.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainEBSOptions.ps1 @@ -67,7 +67,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainElasticsearchClusterConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainElasticsearchClusterConfig.ps1 index 44887df8e..e0aa51314 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainElasticsearchClusterConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainElasticsearchClusterConfig.ps1 @@ -93,7 +93,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainEncryptionAtRestOptions.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainEncryptionAtRestOptions.ps1 index 63a81e3b3..66fc50f11 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainEncryptionAtRestOptions.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainEncryptionAtRestOptions.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainSnapshotOptions.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainSnapshotOptions.ps1 index 5738ee06b..93018da9b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainSnapshotOptions.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainSnapshotOptions.ps1 @@ -32,7 +32,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainVPCOptions.ps1 b/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainVPCOptions.ps1 index a3779d6f5..6952bdf17 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainVPCOptions.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSElasticsearchDomainVPCOptions.ps1 @@ -43,7 +43,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEventsRuleEcsParameters.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEventsRuleEcsParameters.ps1 index 9b04940b9..19b82d7b7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEventsRuleEcsParameters.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEventsRuleEcsParameters.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEventsRuleInputTransformer.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEventsRuleInputTransformer.ps1 index 8d0b3eb8d..7cc5413fc 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEventsRuleInputTransformer.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEventsRuleInputTransformer.ps1 @@ -51,7 +51,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEventsRuleKinesisParameters.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEventsRuleKinesisParameters.ps1 index 87e460adf..2c17f0ed6 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEventsRuleKinesisParameters.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEventsRuleKinesisParameters.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEventsRuleRunCommandParameters.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEventsRuleRunCommandParameters.ps1 index 48ba1ea23..ffe6eecfe 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEventsRuleRunCommandParameters.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEventsRuleRunCommandParameters.ps1 @@ -42,7 +42,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEventsRuleRunCommandTarget.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEventsRuleRunCommandTarget.ps1 index b7c7528e4..51882d7e6 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEventsRuleRunCommandTarget.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEventsRuleRunCommandTarget.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSEventsRuleTarget.ps1 b/VaporShell/Public/Resource Property Types/Add-VSEventsRuleTarget.ps1 index 964a645df..97cb3f99e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSEventsRuleTarget.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSEventsRuleTarget.ps1 @@ -140,7 +140,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGameLiftAliasRoutingStrategy.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGameLiftAliasRoutingStrategy.ps1 index f635d58e8..9963384f2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGameLiftAliasRoutingStrategy.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGameLiftAliasRoutingStrategy.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGameLiftBuildS3Location.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGameLiftBuildS3Location.ps1 index 038643a3f..8b5a91ad8 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGameLiftBuildS3Location.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGameLiftBuildS3Location.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGameLiftFleetIpPermission.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGameLiftFleetIpPermission.ps1 index 08d6e705b..be4e18050 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGameLiftFleetIpPermission.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGameLiftFleetIpPermission.ps1 @@ -75,7 +75,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueClassifierGrokClassifier.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueClassifierGrokClassifier.ps1 index 6f17551e2..65ed67274 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueClassifierGrokClassifier.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueClassifierGrokClassifier.ps1 @@ -91,7 +91,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueConnectionConnectionInput.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueConnectionConnectionInput.ps1 index 868d2764f..def7dc5ba 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueConnectionConnectionInput.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueConnectionConnectionInput.ps1 @@ -108,7 +108,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + ConnectionProperties { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueConnectionPhysicalConnectionRequirements.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueConnectionPhysicalConnectionRequirements.ps1 index 57edb9de7..650ef526f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueConnectionPhysicalConnectionRequirements.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueConnectionPhysicalConnectionRequirements.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerJdbcTarget.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerJdbcTarget.ps1 index 80cf48154..22a620491 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerJdbcTarget.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerJdbcTarget.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerS3Target.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerS3Target.ps1 index 43294cd9f..224ae02f1 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerS3Target.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerS3Target.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerSchedule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerSchedule.ps1 index f140c6571..163819db8 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerSchedule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerSchedule.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerSchemaChangePolicy.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerSchemaChangePolicy.ps1 index 57c51d2bc..945211962 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerSchemaChangePolicy.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerSchemaChangePolicy.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerTargets.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerTargets.ps1 index 13ded803f..a23ad826d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerTargets.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueCrawlerTargets.ps1 @@ -59,7 +59,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueDatabaseDatabaseInput.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueDatabaseDatabaseInput.ps1 index 51205a578..435cc8ec7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueDatabaseDatabaseInput.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueDatabaseDatabaseInput.ps1 @@ -91,7 +91,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Parameters { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueJobConnectionsList.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueJobConnectionsList.ps1 index 30e49dafb..46aabb100 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueJobConnectionsList.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueJobConnectionsList.ps1 @@ -32,7 +32,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueJobExecutionProperty.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueJobExecutionProperty.ps1 index fc3cc5075..c281a66b0 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueJobExecutionProperty.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueJobExecutionProperty.ps1 @@ -32,7 +32,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueJobJobCommand.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueJobJobCommand.ps1 index a8454a86e..d4ba8c2e5 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueJobJobCommand.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueJobJobCommand.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGluePartitionColumn.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGluePartitionColumn.ps1 index 02b1b69f5..67cd785a4 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGluePartitionColumn.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGluePartitionColumn.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGluePartitionOrder.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGluePartitionOrder.ps1 index 7fe993bd8..e8b942b19 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGluePartitionOrder.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGluePartitionOrder.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGluePartitionPartitionInput.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGluePartitionPartitionInput.ps1 index cfc491ab8..e36d9d810 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGluePartitionPartitionInput.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGluePartitionPartitionInput.ps1 @@ -57,7 +57,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Parameters { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGluePartitionSerdeInfo.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGluePartitionSerdeInfo.ps1 index 33b6cd7c5..d088c2e17 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGluePartitionSerdeInfo.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGluePartitionSerdeInfo.ps1 @@ -74,7 +74,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Parameters { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGluePartitionSkewedInfo.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGluePartitionSkewedInfo.ps1 index 3007ec202..5597c0c11 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGluePartitionSkewedInfo.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGluePartitionSkewedInfo.ps1 @@ -58,7 +58,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + SkewedColumnValueLocationMaps { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGluePartitionStorageDescriptor.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGluePartitionStorageDescriptor.ps1 index b99b64c8a..10551e6a7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGluePartitionStorageDescriptor.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGluePartitionStorageDescriptor.ps1 @@ -179,7 +179,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Parameters { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueTableColumn.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueTableColumn.ps1 index 319a661c3..2870ec79f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueTableColumn.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueTableColumn.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueTableOrder.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueTableOrder.ps1 index d4c9d7e4c..76d10ac0b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueTableOrder.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueTableOrder.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueTableSerdeInfo.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueTableSerdeInfo.ps1 index 31769fa3f..90086de5a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueTableSerdeInfo.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueTableSerdeInfo.ps1 @@ -74,7 +74,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Parameters { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueTableSkewedInfo.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueTableSkewedInfo.ps1 index e6c6b75d0..e4dd9d05d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueTableSkewedInfo.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueTableSkewedInfo.ps1 @@ -58,7 +58,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + SkewedColumnValueLocationMaps { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueTableStorageDescriptor.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueTableStorageDescriptor.ps1 index b674f8cba..9b5340113 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueTableStorageDescriptor.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueTableStorageDescriptor.ps1 @@ -179,7 +179,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Parameters { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueTableTableInput.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueTableTableInput.ps1 index 5a594912e..00c2c998e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueTableTableInput.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueTableTableInput.ps1 @@ -177,7 +177,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Parameters { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueTriggerAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueTriggerAction.ps1 index 1a7b160e6..9ed014f68 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueTriggerAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueTriggerAction.ps1 @@ -57,7 +57,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Arguments { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueTriggerCondition.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueTriggerCondition.ps1 index 7620b6905..de509970b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueTriggerCondition.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueTriggerCondition.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGlueTriggerPredicate.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGlueTriggerPredicate.ps1 index dd3beddd1..896af30c9 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGlueTriggerPredicate.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGlueTriggerPredicate.ps1 @@ -58,7 +58,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGuardDutyFilterCondition.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGuardDutyFilterCondition.ps1 index 35396c6ca..ad67bdd93 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGuardDutyFilterCondition.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGuardDutyFilterCondition.ps1 @@ -68,7 +68,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSGuardDutyFilterFindingCriteria.ps1 b/VaporShell/Public/Resource Property Types/Add-VSGuardDutyFilterFindingCriteria.ps1 index 6f95549b1..6594e9c97 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSGuardDutyFilterFindingCriteria.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSGuardDutyFilterFindingCriteria.ps1 @@ -48,7 +48,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Criterion { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIAMGroupPolicy.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIAMGroupPolicy.ps1 index c7a786321..9a16be7e2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIAMGroupPolicy.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIAMGroupPolicy.ps1 @@ -57,7 +57,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + PolicyDocument { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIAMRolePolicy.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIAMRolePolicy.ps1 index 9f34df2a7..e10930b2c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIAMRolePolicy.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIAMRolePolicy.ps1 @@ -57,7 +57,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + PolicyDocument { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIAMUserLoginProfile.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIAMUserLoginProfile.ps1 index c22007c4b..ec8c5cf71 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIAMUserLoginProfile.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIAMUserLoginProfile.ps1 @@ -52,7 +52,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIAMUserPolicy.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIAMUserPolicy.ps1 index c8e8e73ca..57104017c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIAMUserPolicy.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIAMUserPolicy.ps1 @@ -57,7 +57,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + PolicyDocument { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIoTThingAttributePayload.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIoTThingAttributePayload.ps1 index a569a76f5..02fe7e851 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIoTThingAttributePayload.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIoTThingAttributePayload.ps1 @@ -34,7 +34,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleAction.ps1 index 62d4b35e2..79dfbe646 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleAction.ps1 @@ -119,7 +119,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleCloudwatchAlarmAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleCloudwatchAlarmAction.ps1 index a0696dc49..67f86ca23 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleCloudwatchAlarmAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleCloudwatchAlarmAction.ps1 @@ -91,7 +91,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleCloudwatchMetricAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleCloudwatchMetricAction.ps1 index 716d7f28c..9cd90692f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleCloudwatchMetricAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleCloudwatchMetricAction.ps1 @@ -125,7 +125,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleDynamoDBAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleDynamoDBAction.ps1 index d2ec5833a..1e5cd93e3 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleDynamoDBAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleDynamoDBAction.ps1 @@ -176,7 +176,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleDynamoDBv2Action.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleDynamoDBv2Action.ps1 index d36af884c..1474157a2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleDynamoDBv2Action.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleDynamoDBv2Action.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleElasticsearchAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleElasticsearchAction.ps1 index 476ce33bb..af0ce2e59 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleElasticsearchAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleElasticsearchAction.ps1 @@ -108,7 +108,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleFirehoseAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleFirehoseAction.ps1 index bef6ccf8c..97be652ad 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleFirehoseAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleFirehoseAction.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleKinesisAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleKinesisAction.ps1 index 13695ca3b..294c8b4df 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleKinesisAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleKinesisAction.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleLambdaAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleLambdaAction.ps1 index 94f004702..ea1804dba 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleLambdaAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleLambdaAction.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRulePutItemInput.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRulePutItemInput.ps1 index b924e1a6c..a70616cae 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRulePutItemInput.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRulePutItemInput.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleRepublishAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleRepublishAction.ps1 index 08dcaf1c9..e7ef96f3a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleRepublishAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleRepublishAction.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleS3Action.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleS3Action.ps1 index 92231e7d0..79efda7e8 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleS3Action.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleS3Action.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleSnsAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleSnsAction.ps1 index 3ce155865..7b89bc7b9 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleSnsAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleSnsAction.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleSqsAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleSqsAction.ps1 index d8dea8cf1..044187800 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleSqsAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleSqsAction.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleTopicRulePayload.ps1 b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleTopicRulePayload.ps1 index 4611b4cc8..8435bb7f8 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleTopicRulePayload.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSIoTTopicRuleTopicRulePayload.ps1 @@ -102,7 +102,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationCSVMappingParameters.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationCSVMappingParameters.ps1 index e06bf4542..bd80b5d32 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationCSVMappingParameters.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationCSVMappingParameters.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInput.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInput.ps1 index cfa47b49a..080333953 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInput.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInput.ps1 @@ -80,7 +80,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInputLambdaProcessor.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInputLambdaProcessor.ps1 index 45048c7e2..4eaae1595 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInputLambdaProcessor.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInputLambdaProcessor.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInputParallelism.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInputParallelism.ps1 index 55785d0e2..19ccab16e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInputParallelism.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInputParallelism.ps1 @@ -32,7 +32,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInputProcessingConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInputProcessingConfiguration.ps1 index 040e1a692..5be11cd95 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInputProcessingConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInputProcessingConfiguration.ps1 @@ -31,7 +31,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInputSchema.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInputSchema.ps1 index 670678a35..d09586ddd 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInputSchema.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationInputSchema.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationJSONMappingParameters.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationJSONMappingParameters.ps1 index d3f022787..cc72ba034 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationJSONMappingParameters.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationJSONMappingParameters.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationKinesisFirehoseInput.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationKinesisFirehoseInput.ps1 index c1ab91508..9f0914618 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationKinesisFirehoseInput.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationKinesisFirehoseInput.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationKinesisStreamsInput.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationKinesisStreamsInput.ps1 index fde921018..47e282443 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationKinesisStreamsInput.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationKinesisStreamsInput.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationMappingParameters.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationMappingParameters.ps1 index 3b0d0172d..710040f2b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationMappingParameters.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationMappingParameters.ps1 @@ -39,7 +39,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputDestinationSchema.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputDestinationSchema.ps1 index ab9e14647..f2739846a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputDestinationSchema.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputDestinationSchema.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputKinesisFirehoseOutput.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputKinesisFirehoseOutput.ps1 index 9f26595e7..1fccc5b4c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputKinesisFirehoseOutput.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputKinesisFirehoseOutput.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputKinesisStreamsOutput.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputKinesisStreamsOutput.ps1 index 7edd04c74..9c856ddbc 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputKinesisStreamsOutput.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputKinesisStreamsOutput.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputLambdaOutput.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputLambdaOutput.ps1 index a48ba0a8b..7332bf4f8 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputLambdaOutput.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputLambdaOutput.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputOutput.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputOutput.ps1 index 96368d5dd..8dd1de396 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputOutput.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationOutputOutput.ps1 @@ -72,7 +72,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationRecordColumn.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationRecordColumn.ps1 index b0a19c7ef..4042c9320 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationRecordColumn.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationRecordColumn.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationRecordFormat.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationRecordFormat.ps1 index a3e5f8a78..90b5b9b1c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationRecordFormat.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationRecordFormat.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceCSVMappingParameters.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceCSVMappingParameters.ps1 index 3345b3384..6ded6fbd2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceCSVMappingParameters.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceCSVMappingParameters.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceJSONMappingParameters.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceJSONMappingParameters.ps1 index 037ecf252..642092a0f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceJSONMappingParameters.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceJSONMappingParameters.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceMappingParameters.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceMappingParameters.ps1 index fba752b6c..976aa0130 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceMappingParameters.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceMappingParameters.ps1 @@ -39,7 +39,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceRecordColumn.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceRecordColumn.ps1 index cb9860afd..800e22e9a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceRecordColumn.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceRecordColumn.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceRecordFormat.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceRecordFormat.ps1 index 083a59c6b..43d173a7c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceRecordFormat.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceRecordFormat.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceReferenceDataSource.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceReferenceDataSource.ps1 index b87da226e..8e14faa6f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceReferenceDataSource.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceReferenceDataSource.ps1 @@ -56,7 +56,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceReferenceSchema.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceReferenceSchema.ps1 index b9152e68b..42ac62c65 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceReferenceSchema.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceReferenceSchema.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceS3ReferenceDataSource.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceS3ReferenceDataSource.ps1 index b2582f09c..3a32fb8e9 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceS3ReferenceDataSource.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisAnalyticsApplicationReferenceDataSourceS3ReferenceDataSource.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamBufferingHints.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamBufferingHints.ps1 index a27572e09..18120f013 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamBufferingHints.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamBufferingHints.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamCloudWatchLoggingOptions.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamCloudWatchLoggingOptions.ps1 index f0d8c8f3b..ea703d338 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamCloudWatchLoggingOptions.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamCloudWatchLoggingOptions.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamCopyCommand.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamCopyCommand.ps1 index 5efffd9bf..10347b569 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamCopyCommand.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamCopyCommand.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamElasticsearchBufferingHints.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamElasticsearchBufferingHints.ps1 index 6a37ec52c..1c2512019 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamElasticsearchBufferingHints.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamElasticsearchBufferingHints.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamElasticsearchDestinationConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamElasticsearchDestinationConfiguration.ps1 index e6608fc17..058d564f9 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamElasticsearchDestinationConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamElasticsearchDestinationConfiguration.ps1 @@ -165,7 +165,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamElasticsearchRetryOptions.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamElasticsearchRetryOptions.ps1 index 4ba4ff25c..a45c5525e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamElasticsearchRetryOptions.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamElasticsearchRetryOptions.ps1 @@ -32,7 +32,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamEncryptionConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamEncryptionConfiguration.ps1 index c525c45da..12fd4c81a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamEncryptionConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamEncryptionConfiguration.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamExtendedS3DestinationConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamExtendedS3DestinationConfiguration.ps1 index 598e97c21..b16100c0a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamExtendedS3DestinationConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamExtendedS3DestinationConfiguration.ps1 @@ -148,7 +148,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamKMSEncryptionConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamKMSEncryptionConfig.ps1 index 907574758..3c1cba063 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamKMSEncryptionConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamKMSEncryptionConfig.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamKinesisStreamSourceConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamKinesisStreamSourceConfiguration.ps1 index 069e5a048..11ef6097b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamKinesisStreamSourceConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamKinesisStreamSourceConfiguration.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamProcessingConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamProcessingConfiguration.ps1 index a4c07d68b..015e36a30 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamProcessingConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamProcessingConfiguration.ps1 @@ -51,7 +51,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamProcessor.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamProcessor.ps1 index b663efb65..f0fe9b016 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamProcessor.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamProcessor.ps1 @@ -59,7 +59,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamProcessorParameter.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamProcessorParameter.ps1 index 1f4204e3b..2fc84b6d4 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamProcessorParameter.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamProcessorParameter.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamRedshiftDestinationConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamRedshiftDestinationConfiguration.ps1 index 6c78b0efd..e64e75913 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamRedshiftDestinationConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamRedshiftDestinationConfiguration.ps1 @@ -125,7 +125,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamS3DestinationConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamS3DestinationConfiguration.ps1 index 7377514d8..79e41090b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamS3DestinationConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamS3DestinationConfiguration.ps1 @@ -115,7 +115,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamSplunkDestinationConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamSplunkDestinationConfiguration.ps1 index a6665f2f6..46ec9094b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamSplunkDestinationConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamSplunkDestinationConfiguration.ps1 @@ -132,7 +132,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamSplunkRetryOptions.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamSplunkRetryOptions.ps1 index be5c6c2e0..dc0e36271 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamSplunkRetryOptions.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamSplunkRetryOptions.ps1 @@ -32,7 +32,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSKinesisStreamStreamEncryption.ps1 b/VaporShell/Public/Resource Property Types/Add-VSKinesisStreamStreamEncryption.ps1 index 3606e61d8..faea9fb23 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSKinesisStreamStreamEncryption.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSKinesisStreamStreamEncryption.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSLambdaAliasAliasRoutingConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSLambdaAliasAliasRoutingConfiguration.ps1 index 5e03904e9..70604bef8 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSLambdaAliasAliasRoutingConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSLambdaAliasAliasRoutingConfiguration.ps1 @@ -42,7 +42,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSLambdaAliasVersionWeight.ps1 b/VaporShell/Public/Resource Property Types/Add-VSLambdaAliasVersionWeight.ps1 index 7ada9e1a2..22ee5d6c2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSLambdaAliasVersionWeight.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSLambdaAliasVersionWeight.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionCode.ps1 b/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionCode.ps1 index b7acac297..017e9533a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionCode.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionCode.ps1 @@ -91,7 +91,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionDeadLetterConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionDeadLetterConfig.ps1 index 141756239..4e068fa5a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionDeadLetterConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionDeadLetterConfig.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionEnvironment.ps1 b/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionEnvironment.ps1 index 67f3aeb28..9974dc41e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionEnvironment.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionEnvironment.ps1 @@ -34,7 +34,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionTracingConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionTracingConfig.ps1 index dd7f28de4..ec649893a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionTracingConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionTracingConfig.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionVpcConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionVpcConfig.ps1 index 15be19a3c..f191255ee 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionVpcConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSLambdaFunctionVpcConfig.ps1 @@ -43,7 +43,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSLogsMetricFilterMetricTransformation.ps1 b/VaporShell/Public/Resource Property Types/Add-VSLogsMetricFilterMetricTransformation.ps1 index dd7bce49b..57589acc3 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSLogsMetricFilterMetricTransformation.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSLogsMetricFilterMetricTransformation.ps1 @@ -83,7 +83,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksAppDataSource.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksAppDataSource.ps1 index e24f9b2c3..288d3183e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksAppDataSource.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksAppDataSource.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksAppEnvironmentVariable.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksAppEnvironmentVariable.ps1 index 5984cb790..34fe6ea4f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksAppEnvironmentVariable.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksAppEnvironmentVariable.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksAppSource.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksAppSource.ps1 index 0a214d156..6fe237b13 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksAppSource.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksAppSource.ps1 @@ -127,7 +127,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksAppSslConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksAppSslConfiguration.ps1 index 355bea163..e32e6b8d0 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksAppSslConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksAppSslConfiguration.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksInstanceBlockDeviceMapping.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksInstanceBlockDeviceMapping.ps1 index 45d955e4d..b776743a7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksInstanceBlockDeviceMapping.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksInstanceBlockDeviceMapping.ps1 @@ -82,7 +82,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksInstanceEbsBlockDevice.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksInstanceEbsBlockDevice.ps1 index eab41e3dc..8bd1ec91e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksInstanceEbsBlockDevice.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksInstanceEbsBlockDevice.ps1 @@ -84,7 +84,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksInstanceTimeBasedAutoScaling.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksInstanceTimeBasedAutoScaling.ps1 index 9003878b6..864dfc018 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksInstanceTimeBasedAutoScaling.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksInstanceTimeBasedAutoScaling.ps1 @@ -100,7 +100,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerAutoScalingThresholds.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerAutoScalingThresholds.ps1 index c7db823be..7a8e62d6c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerAutoScalingThresholds.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerAutoScalingThresholds.ps1 @@ -77,7 +77,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerLifecycleEventConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerLifecycleEventConfiguration.ps1 index b5ba5dfbd..2185d4139 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerLifecycleEventConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerLifecycleEventConfiguration.ps1 @@ -31,7 +31,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerLoadBasedAutoScaling.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerLoadBasedAutoScaling.ps1 index 82f319d63..9e40cd2f5 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerLoadBasedAutoScaling.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerLoadBasedAutoScaling.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerRecipes.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerRecipes.ps1 index 3111503cc..85d30951b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerRecipes.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerRecipes.ps1 @@ -73,7 +73,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerShutdownEventConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerShutdownEventConfiguration.ps1 index 9c421b8c6..2d41d0374 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerShutdownEventConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerShutdownEventConfiguration.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerVolumeConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerVolumeConfiguration.ps1 index ff9f427db..a56dac19a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerVolumeConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksLayerVolumeConfiguration.ps1 @@ -93,7 +93,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackChefConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackChefConfiguration.ps1 index cb785d7b2..e38a6295d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackChefConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackChefConfiguration.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackElasticIp.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackElasticIp.ps1 index 18671c860..3fea277a3 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackElasticIp.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackElasticIp.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackRdsDbInstance.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackRdsDbInstance.ps1 index 8d4ea8a44..eaec9007b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackRdsDbInstance.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackRdsDbInstance.ps1 @@ -76,7 +76,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackSource.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackSource.ps1 index fa2cd6910..0c83a5566 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackSource.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackSource.ps1 @@ -127,7 +127,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackStackConfigurationManager.ps1 b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackStackConfigurationManager.ps1 index 77e9ef087..2cdd95531 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackStackConfigurationManager.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSOpsWorksStackStackConfigurationManager.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSRDSDBSecurityGroupIngress.ps1 b/VaporShell/Public/Resource Property Types/Add-VSRDSDBSecurityGroupIngress.ps1 index e2ebbb4c5..6c3b9714d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSRDSDBSecurityGroupIngress.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSRDSDBSecurityGroupIngress.ps1 @@ -91,7 +91,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSRDSOptionGroupOptionConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSRDSOptionGroupOptionConfiguration.ps1 index 3d88411b4..e81d201cf 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSRDSOptionGroupOptionConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSRDSOptionGroupOptionConfiguration.ps1 @@ -94,7 +94,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSRDSOptionGroupOptionSetting.ps1 b/VaporShell/Public/Resource Property Types/Add-VSRDSOptionGroupOptionSetting.ps1 index 9623f537b..21db3ca71 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSRDSOptionGroupOptionSetting.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSRDSOptionGroupOptionSetting.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSRedshiftClusterLoggingProperties.ps1 b/VaporShell/Public/Resource Property Types/Add-VSRedshiftClusterLoggingProperties.ps1 index 5ec49db80..54b714fb3 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSRedshiftClusterLoggingProperties.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSRedshiftClusterLoggingProperties.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSRedshiftClusterParameterGroupParameter.ps1 b/VaporShell/Public/Resource Property Types/Add-VSRedshiftClusterParameterGroupParameter.ps1 index 77869182e..03577b778 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSRedshiftClusterParameterGroupParameter.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSRedshiftClusterParameterGroupParameter.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSRoute53HealthCheckAlarmIdentifier.ps1 b/VaporShell/Public/Resource Property Types/Add-VSRoute53HealthCheckAlarmIdentifier.ps1 index 430a3773e..5f2521e13 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSRoute53HealthCheckAlarmIdentifier.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSRoute53HealthCheckAlarmIdentifier.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSRoute53HealthCheckHealthCheckConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSRoute53HealthCheckHealthCheckConfig.ps1 index a118af31c..e53ca429d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSRoute53HealthCheckHealthCheckConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSRoute53HealthCheckHealthCheckConfig.ps1 @@ -216,7 +216,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSRoute53HealthCheckHealthCheckTag.ps1 b/VaporShell/Public/Resource Property Types/Add-VSRoute53HealthCheckHealthCheckTag.ps1 index b924af911..d00386ee8 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSRoute53HealthCheckHealthCheckTag.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSRoute53HealthCheckHealthCheckTag.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSRoute53HostedZoneHostedZoneConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSRoute53HostedZoneHostedZoneConfig.ps1 index ad9f82152..fab10ac26 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSRoute53HostedZoneHostedZoneConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSRoute53HostedZoneHostedZoneConfig.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSRoute53HostedZoneHostedZoneTag.ps1 b/VaporShell/Public/Resource Property Types/Add-VSRoute53HostedZoneHostedZoneTag.ps1 index 684987d22..9cf4dbc30 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSRoute53HostedZoneHostedZoneTag.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSRoute53HostedZoneHostedZoneTag.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSRoute53HostedZoneQueryLoggingConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSRoute53HostedZoneQueryLoggingConfig.ps1 index dcc00d637..67818e830 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSRoute53HostedZoneQueryLoggingConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSRoute53HostedZoneQueryLoggingConfig.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSRoute53HostedZoneVPC.ps1 b/VaporShell/Public/Resource Property Types/Add-VSRoute53HostedZoneVPC.ps1 index c90994957..9a4884ec7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSRoute53HostedZoneVPC.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSRoute53HostedZoneVPC.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetAliasTarget.ps1 b/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetAliasTarget.ps1 index 658e01d53..45b5198c6 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetAliasTarget.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetAliasTarget.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetGeoLocation.ps1 b/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetGeoLocation.ps1 index 1da21b989..492e9c0a9 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetGeoLocation.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetGeoLocation.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetGroupAliasTarget.ps1 b/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetGroupAliasTarget.ps1 index ab77aaf96..ff190d835 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetGroupAliasTarget.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetGroupAliasTarget.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetGroupGeoLocation.ps1 b/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetGroupGeoLocation.ps1 index fe0aa92bc..5bc77a5f8 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetGroupGeoLocation.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetGroupGeoLocation.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetGroupRecordSet.ps1 b/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetGroupRecordSet.ps1 index 10a25a723..22c87a701 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetGroupRecordSet.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSRoute53RecordSetGroupRecordSet.ps1 @@ -228,7 +228,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketAbortIncompleteMultipartUpload.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketAbortIncompleteMultipartUpload.ps1 index c4d001e40..b012f3267 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketAbortIncompleteMultipartUpload.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketAbortIncompleteMultipartUpload.ps1 @@ -32,7 +32,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketAccelerateConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketAccelerateConfiguration.ps1 index 45eab223b..5c045691b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketAccelerateConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketAccelerateConfiguration.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketAccessControlTranslation.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketAccessControlTranslation.ps1 index 99d7ffdb0..982630c3a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketAccessControlTranslation.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketAccessControlTranslation.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketAnalyticsConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketAnalyticsConfiguration.ps1 index 3b57b5473..95e1ff41e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketAnalyticsConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketAnalyticsConfiguration.ps1 @@ -84,7 +84,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketBucketEncryption.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketBucketEncryption.ps1 index 1b7f2ff0f..b94948291 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketBucketEncryption.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketBucketEncryption.ps1 @@ -42,7 +42,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketCorsConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketCorsConfiguration.ps1 index 76a632e2c..79c5e22bb 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketCorsConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketCorsConfiguration.ps1 @@ -42,7 +42,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketCorsRule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketCorsRule.ps1 index 05d73b21d..2c4ab0e8c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketCorsRule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketCorsRule.ps1 @@ -89,7 +89,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketDataExport.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketDataExport.ps1 index d89960d1a..90b5d04a2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketDataExport.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketDataExport.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketDestination.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketDestination.ps1 index b35af0d17..fbf77d734 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketDestination.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketDestination.ps1 @@ -91,7 +91,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketEncryptionConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketEncryptionConfiguration.ps1 index 38f85c003..40961ce5b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketEncryptionConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketEncryptionConfiguration.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketFilterRule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketFilterRule.ps1 index 94a42c713..8fda237b7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketFilterRule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketFilterRule.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketInventoryConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketInventoryConfiguration.ps1 index e9aedb049..cb5681c03 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketInventoryConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketInventoryConfiguration.ps1 @@ -118,7 +118,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketLambdaConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketLambdaConfiguration.ps1 index 146cc347b..75347b55e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketLambdaConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketLambdaConfiguration.ps1 @@ -65,7 +65,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketLifecycleConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketLifecycleConfiguration.ps1 index ffb4f943b..69579dfb2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketLifecycleConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketLifecycleConfiguration.ps1 @@ -42,7 +42,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketLoggingConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketLoggingConfiguration.ps1 index a82847686..fcfcdfa4e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketLoggingConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketLoggingConfiguration.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketMetricsConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketMetricsConfiguration.ps1 index 84bb7f68e..d6cef13d7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketMetricsConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketMetricsConfiguration.ps1 @@ -76,7 +76,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketNoncurrentVersionTransition.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketNoncurrentVersionTransition.ps1 index 16d44b249..00bcf8bbf 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketNoncurrentVersionTransition.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketNoncurrentVersionTransition.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketNotificationConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketNotificationConfiguration.ps1 index b1690e21a..36e1ba031 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketNotificationConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketNotificationConfiguration.ps1 @@ -80,7 +80,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketNotificationFilter.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketNotificationFilter.ps1 index 983890730..77900b121 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketNotificationFilter.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketNotificationFilter.ps1 @@ -31,7 +31,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketQueueConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketQueueConfiguration.ps1 index d390b4f9f..9d98b06d1 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketQueueConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketQueueConfiguration.ps1 @@ -65,7 +65,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketRedirectAllRequestsTo.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketRedirectAllRequestsTo.ps1 index 265f29962..8eacaf430 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketRedirectAllRequestsTo.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketRedirectAllRequestsTo.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketRedirectRule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketRedirectRule.ps1 index bd1578d5c..909f2276e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketRedirectRule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketRedirectRule.ps1 @@ -108,7 +108,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketReplicationConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketReplicationConfiguration.ps1 index 5ed5bd38c..6047dfa8e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketReplicationConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketReplicationConfiguration.ps1 @@ -59,7 +59,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketReplicationDestination.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketReplicationDestination.ps1 index 54e333c79..0b6ae3996 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketReplicationDestination.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketReplicationDestination.ps1 @@ -90,7 +90,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketReplicationRule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketReplicationRule.ps1 index cb1a57a4a..f5f0763e6 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketReplicationRule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketReplicationRule.ps1 @@ -90,7 +90,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketRoutingRule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketRoutingRule.ps1 index a9e724585..b2883b81d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketRoutingRule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketRoutingRule.ps1 @@ -39,7 +39,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketRoutingRuleCondition.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketRoutingRuleCondition.ps1 index 8d8c850f2..9980e9bf9 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketRoutingRuleCondition.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketRoutingRuleCondition.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketRule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketRule.ps1 index bc1e04235..716169421 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketRule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketRule.ps1 @@ -181,7 +181,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketS3KeyFilter.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketS3KeyFilter.ps1 index b725a4c91..d67d98862 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketS3KeyFilter.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketS3KeyFilter.ps1 @@ -42,7 +42,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketServerSideEncryptionByDefault.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketServerSideEncryptionByDefault.ps1 index 3ce883f69..c84d76361 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketServerSideEncryptionByDefault.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketServerSideEncryptionByDefault.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketServerSideEncryptionRule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketServerSideEncryptionRule.ps1 index fa3e9a2c0..23b4d83b8 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketServerSideEncryptionRule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketServerSideEncryptionRule.ps1 @@ -31,7 +31,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketSourceSelectionCriteria.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketSourceSelectionCriteria.ps1 index f5cc12ed1..e48008959 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketSourceSelectionCriteria.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketSourceSelectionCriteria.ps1 @@ -31,7 +31,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketSseKmsEncryptedObjects.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketSseKmsEncryptedObjects.ps1 index 696b0c003..763387444 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketSseKmsEncryptedObjects.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketSseKmsEncryptedObjects.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketStorageClassAnalysis.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketStorageClassAnalysis.ps1 index 4548f1bb3..cedb09bcc 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketStorageClassAnalysis.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketStorageClassAnalysis.ps1 @@ -31,7 +31,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketTagFilter.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketTagFilter.ps1 index 1ac75855a..cedf96179 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketTagFilter.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketTagFilter.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketTopicConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketTopicConfiguration.ps1 index df4c10bd5..2c1c10228 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketTopicConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketTopicConfiguration.ps1 @@ -65,7 +65,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketTransition.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketTransition.ps1 index 4bc2b773a..aa9f0d9fb 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketTransition.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketTransition.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketVersioningConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketVersioningConfiguration.ps1 index 20978697b..c7f1d6545 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketVersioningConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketVersioningConfiguration.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSS3BucketWebsiteConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSS3BucketWebsiteConfiguration.ps1 index 2b4604bbe..06554b4e4 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSS3BucketWebsiteConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSS3BucketWebsiteConfiguration.ps1 @@ -84,7 +84,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSESConfigurationSetEventDestinationCloudWatchDestination.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSESConfigurationSetEventDestinationCloudWatchDestination.ps1 index 0b89d35ab..ae46ab9b7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSESConfigurationSetEventDestinationCloudWatchDestination.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSESConfigurationSetEventDestinationCloudWatchDestination.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSESConfigurationSetEventDestinationDimensionConfiguration.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSESConfigurationSetEventDestinationDimensionConfiguration.ps1 index 9a8bcd1f1..8d6aaa3f0 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSESConfigurationSetEventDestinationDimensionConfiguration.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSESConfigurationSetEventDestinationDimensionConfiguration.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSESConfigurationSetEventDestinationEventDestination.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSESConfigurationSetEventDestinationEventDestination.ps1 index 863d78da6..a5cad8d62 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSESConfigurationSetEventDestinationEventDestination.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSESConfigurationSetEventDestinationEventDestination.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSESConfigurationSetEventDestinationKinesisFirehoseDestination.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSESConfigurationSetEventDestinationKinesisFirehoseDestination.ps1 index 726c03264..421568481 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSESConfigurationSetEventDestinationKinesisFirehoseDestination.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSESConfigurationSetEventDestinationKinesisFirehoseDestination.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptFilterFilter.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptFilterFilter.ps1 index c59d28d83..cd9285eac 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptFilterFilter.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptFilterFilter.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptFilterIpFilter.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptFilterIpFilter.ps1 index 9572a3169..9de1fa817 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptFilterIpFilter.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptFilterIpFilter.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleAction.ps1 index 8bed7c935..4457f28ea 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleAction.ps1 @@ -79,7 +79,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleAddHeaderAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleAddHeaderAction.ps1 index 46d9647ef..12f6d8f2c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleAddHeaderAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleAddHeaderAction.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleBounceAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleBounceAction.ps1 index 47aefecf1..ecc9118e1 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleBounceAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleBounceAction.ps1 @@ -108,7 +108,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleLambdaAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleLambdaAction.ps1 index 2f0b31733..34b045c93 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleLambdaAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleLambdaAction.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleRule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleRule.ps1 index b0ee4cc15..c7c65b29f 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleRule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleRule.ps1 @@ -102,7 +102,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleS3Action.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleS3Action.ps1 index 94bf937f7..a1d93a678 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleS3Action.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleS3Action.ps1 @@ -91,7 +91,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleSNSAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleSNSAction.ps1 index 1641dab81..cf10a06e8 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleSNSAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleSNSAction.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleStopAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleStopAction.ps1 index 3e30da9f3..5a514da4d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleStopAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleStopAction.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleWorkmailAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleWorkmailAction.ps1 index 7dce0b44b..a1077c65c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleWorkmailAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSESReceiptRuleWorkmailAction.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSESTemplateTemplate.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSESTemplateTemplate.ps1 index 8e41bfa8e..89cd3be19 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSESTemplateTemplate.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSESTemplateTemplate.ps1 @@ -91,7 +91,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSNSTopicSubscription.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSNSTopicSubscription.ps1 index 9b87883f0..51c4ec35a 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSNSTopicSubscription.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSNSTopicSubscription.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSSMAssociationInstanceAssociationOutputLocation.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSSMAssociationInstanceAssociationOutputLocation.ps1 index a1c4e220e..884bdcb62 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSSMAssociationInstanceAssociationOutputLocation.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSSMAssociationInstanceAssociationOutputLocation.ps1 @@ -31,7 +31,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSSMAssociationParameterValues.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSSMAssociationParameterValues.ps1 index 8b5d498d6..ac31d90d8 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSSMAssociationParameterValues.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSSMAssociationParameterValues.ps1 @@ -33,7 +33,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSSMAssociationS3OutputLocation.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSSMAssociationS3OutputLocation.ps1 index f7817cf29..542cb6b62 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSSMAssociationS3OutputLocation.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSSMAssociationS3OutputLocation.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSSMAssociationTarget.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSSMAssociationTarget.ps1 index 2b3f8d9cb..3ef42ec3b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSSMAssociationTarget.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSSMAssociationTarget.ps1 @@ -50,7 +50,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskLoggingInfo.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskLoggingInfo.ps1 index 44a2b10f0..a3de3726b 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskLoggingInfo.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskLoggingInfo.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskMaintenanceWindowAutomationParameters.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskMaintenanceWindowAutomationParameters.ps1 index 19083e2f5..4c70be8f0 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskMaintenanceWindowAutomationParameters.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskMaintenanceWindowAutomationParameters.ps1 @@ -57,7 +57,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Parameters { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskMaintenanceWindowLambdaParameters.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskMaintenanceWindowLambdaParameters.ps1 index 02ed2f7e1..b52c9550e 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskMaintenanceWindowLambdaParameters.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskMaintenanceWindowLambdaParameters.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskMaintenanceWindowRunCommandParameters.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskMaintenanceWindowRunCommandParameters.ps1 index ec49fc7dd..b749a54d1 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskMaintenanceWindowRunCommandParameters.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskMaintenanceWindowRunCommandParameters.ps1 @@ -159,7 +159,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Parameters { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskMaintenanceWindowStepFunctionsParameters.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskMaintenanceWindowStepFunctionsParameters.ps1 index 99f299ed7..de2e37ff5 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskMaintenanceWindowStepFunctionsParameters.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskMaintenanceWindowStepFunctionsParameters.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskNotificationConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskNotificationConfig.ps1 index 488803a9a..9ff9fb548 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskNotificationConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskNotificationConfig.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskTarget.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskTarget.ps1 index 0ce6b0b82..c1a4cfdcc 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskTarget.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskTarget.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskTaskInvocationParameters.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskTaskInvocationParameters.ps1 index 20fc0d9e7..7b107bde3 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskTaskInvocationParameters.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSSMMaintenanceWindowTaskTaskInvocationParameters.ps1 @@ -55,7 +55,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselinePatchFilter.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselinePatchFilter.ps1 index e64b0741c..156cec2be 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselinePatchFilter.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselinePatchFilter.ps1 @@ -49,7 +49,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselinePatchFilterGroup.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselinePatchFilterGroup.ps1 index 5838bedc1..841e3e962 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselinePatchFilterGroup.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselinePatchFilterGroup.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselinePatchSource.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselinePatchSource.ps1 index ab545dc8d..d20a47f67 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselinePatchSource.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselinePatchSource.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselineRule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselineRule.ps1 index 112c10007..fc078011c 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselineRule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselineRule.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselineRuleGroup.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselineRuleGroup.ps1 index 539e8b090..5b79621e9 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselineRuleGroup.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSSMPatchBaselineRuleGroup.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSageMakerEndpointConfigProductionVariant.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSageMakerEndpointConfigProductionVariant.ps1 index 65f623557..e6e16ebfc 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSageMakerEndpointConfigProductionVariant.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSageMakerEndpointConfigProductionVariant.ps1 @@ -92,7 +92,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSageMakerModelContainerDefinition.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSageMakerModelContainerDefinition.ps1 index e694a595e..be1007423 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSageMakerModelContainerDefinition.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSageMakerModelContainerDefinition.ps1 @@ -91,7 +91,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Environment { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSageMakerModelVpcConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSageMakerModelVpcConfig.ps1 index d214ebf98..85e341ca7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSageMakerModelVpcConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSageMakerModelVpcConfig.ps1 @@ -41,7 +41,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSSageMakerNotebookInstanceLifecycleConfigNotebookInstanceLifecycleHook.ps1 b/VaporShell/Public/Resource Property Types/Add-VSSageMakerNotebookInstanceLifecycleConfigNotebookInstanceLifecycleHook.ps1 index 3cc00fdea..8eaa38300 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSSageMakerNotebookInstanceLifecycleConfigNotebookInstanceLifecycleHook.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSSageMakerNotebookInstanceLifecycleConfigNotebookInstanceLifecycleHook.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSServiceCatalogCloudFormationProductProvisioningArtifactProperties.ps1 b/VaporShell/Public/Resource Property Types/Add-VSServiceCatalogCloudFormationProductProvisioningArtifactProperties.ps1 index 078d4a25b..aea59a994 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSServiceCatalogCloudFormationProductProvisioningArtifactProperties.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSServiceCatalogCloudFormationProductProvisioningArtifactProperties.ps1 @@ -74,7 +74,25 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Info { + if (($PSBoundParameters[$key]).PSObject.TypeNames -contains "System.String"){ + try { + $JSONObject = (ConvertFrom-Json -InputObject $PSBoundParameters[$key] -ErrorAction Stop) + } + catch { + $PSCmdlet.ThrowTerminatingError((New-VSError -String "Unable to convert parameter '$key' string value to PSObject! Please use a JSON string OR provide a Hashtable or PSCustomObject instead!")) + } + } + else { + $JSONObject = ([PSCustomObject]$PSBoundParameters[$key]) + } + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $JSONObject + } + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSServiceCatalogCloudFormationProvisionedProductProvisioningParameter.ps1 b/VaporShell/Public/Resource Property Types/Add-VSServiceCatalogCloudFormationProvisionedProductProvisioningParameter.ps1 index 6537f3a23..1bdc78903 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSServiceCatalogCloudFormationProvisionedProductProvisioningParameter.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSServiceCatalogCloudFormationProvisionedProductProvisioningParameter.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSServiceDiscoveryServiceDnsConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSServiceDiscoveryServiceDnsConfig.ps1 index 6983486c0..31f11cca2 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSServiceDiscoveryServiceDnsConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSServiceDiscoveryServiceDnsConfig.ps1 @@ -75,7 +75,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSServiceDiscoveryServiceDnsRecord.ps1 b/VaporShell/Public/Resource Property Types/Add-VSServiceDiscoveryServiceDnsRecord.ps1 index d58776e33..b30629dfb 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSServiceDiscoveryServiceDnsRecord.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSServiceDiscoveryServiceDnsRecord.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSServiceDiscoveryServiceHealthCheckConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSServiceDiscoveryServiceHealthCheckConfig.ps1 index f10447788..9962e42c7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSServiceDiscoveryServiceHealthCheckConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSServiceDiscoveryServiceHealthCheckConfig.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSServiceDiscoveryServiceHealthCheckCustomConfig.ps1 b/VaporShell/Public/Resource Property Types/Add-VSServiceDiscoveryServiceHealthCheckCustomConfig.ps1 index 730c19dc2..a4e736cb1 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSServiceDiscoveryServiceHealthCheckCustomConfig.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSServiceDiscoveryServiceHealthCheckCustomConfig.ps1 @@ -32,7 +32,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSTag.ps1 b/VaporShell/Public/Resource Property Types/Add-VSTag.ps1 index b0f625974..d0a7962ed 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSTag.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSTag.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFByteMatchSetByteMatchTuple.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFByteMatchSetByteMatchTuple.ps1 index cfbccd618..e44192e53 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFByteMatchSetByteMatchTuple.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFByteMatchSetByteMatchTuple.ps1 @@ -99,7 +99,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFByteMatchSetFieldToMatch.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFByteMatchSetFieldToMatch.ps1 index 951bd6968..dbea9f3f3 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFByteMatchSetFieldToMatch.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFByteMatchSetFieldToMatch.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFIPSetIPSetDescriptor.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFIPSetIPSetDescriptor.ps1 index 0abf69e00..8a7004846 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFIPSetIPSetDescriptor.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFIPSetIPSetDescriptor.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalByteMatchSetByteMatchTuple.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalByteMatchSetByteMatchTuple.ps1 index 577dafd30..bc47cbbab 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalByteMatchSetByteMatchTuple.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalByteMatchSetByteMatchTuple.ps1 @@ -99,7 +99,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalByteMatchSetFieldToMatch.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalByteMatchSetFieldToMatch.ps1 index 75775c94c..4d0ed83da 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalByteMatchSetFieldToMatch.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalByteMatchSetFieldToMatch.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalIPSetIPSetDescriptor.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalIPSetIPSetDescriptor.ps1 index 1bca33cd9..36e798862 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalIPSetIPSetDescriptor.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalIPSetIPSetDescriptor.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalRulePredicate.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalRulePredicate.ps1 index 1f7fe0fd2..69b4bd824 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalRulePredicate.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalRulePredicate.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalSizeConstraintSetFieldToMatch.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalSizeConstraintSetFieldToMatch.ps1 index aa8142704..ea54ebb86 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalSizeConstraintSetFieldToMatch.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalSizeConstraintSetFieldToMatch.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalSizeConstraintSetSizeConstraint.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalSizeConstraintSetSizeConstraint.ps1 index 0762e11ae..2a39b74f9 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalSizeConstraintSetSizeConstraint.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalSizeConstraintSetSizeConstraint.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalSqlInjectionMatchSetFieldToMatch.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalSqlInjectionMatchSetFieldToMatch.ps1 index 78554fdb4..20494ef93 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalSqlInjectionMatchSetFieldToMatch.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalSqlInjectionMatchSetFieldToMatch.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalSqlInjectionMatchSetSqlInjectionMatchTuple.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalSqlInjectionMatchSetSqlInjectionMatchTuple.ps1 index c59fe43e7..63ccad3f0 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalSqlInjectionMatchSetSqlInjectionMatchTuple.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalSqlInjectionMatchSetSqlInjectionMatchTuple.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalWebACLAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalWebACLAction.ps1 index fd66cfaac..3fbde2f67 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalWebACLAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalWebACLAction.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalWebACLRule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalWebACLRule.ps1 index 593e91dcd..1a146bbf7 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalWebACLRule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalWebACLRule.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalXssMatchSetFieldToMatch.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalXssMatchSetFieldToMatch.ps1 index 7c968c6ef..b543cdfd8 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalXssMatchSetFieldToMatch.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalXssMatchSetFieldToMatch.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalXssMatchSetXssMatchTuple.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalXssMatchSetXssMatchTuple.ps1 index f702e3dac..8cbc46144 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalXssMatchSetXssMatchTuple.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFRegionalXssMatchSetXssMatchTuple.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFRulePredicate.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFRulePredicate.ps1 index 76e3d8418..a5d95641d 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFRulePredicate.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFRulePredicate.ps1 @@ -66,7 +66,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFSizeConstraintSetFieldToMatch.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFSizeConstraintSetFieldToMatch.ps1 index f304315b2..1b08a2beb 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFSizeConstraintSetFieldToMatch.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFSizeConstraintSetFieldToMatch.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFSizeConstraintSetSizeConstraint.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFSizeConstraintSetSizeConstraint.ps1 index 99b564451..213cd6401 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFSizeConstraintSetSizeConstraint.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFSizeConstraintSetSizeConstraint.ps1 @@ -74,7 +74,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFSqlInjectionMatchSetFieldToMatch.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFSqlInjectionMatchSetFieldToMatch.ps1 index 3e5ee6f11..4f0259ada 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFSqlInjectionMatchSetFieldToMatch.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFSqlInjectionMatchSetFieldToMatch.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFSqlInjectionMatchSetSqlInjectionMatchTuple.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFSqlInjectionMatchSetSqlInjectionMatchTuple.ps1 index 4fb6a05bf..28ce40158 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFSqlInjectionMatchSetSqlInjectionMatchTuple.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFSqlInjectionMatchSetSqlInjectionMatchTuple.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFWebACLActivatedRule.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFWebACLActivatedRule.ps1 index d6226a38d..5915b78b3 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFWebACLActivatedRule.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFWebACLActivatedRule.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFWebACLWafAction.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFWebACLWafAction.ps1 index c483582fe..4f7cb36fe 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFWebACLWafAction.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFWebACLWafAction.ps1 @@ -40,7 +40,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFXssMatchSetFieldToMatch.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFXssMatchSetFieldToMatch.ps1 index 6b4719846..b21fb7dcb 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFXssMatchSetFieldToMatch.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFXssMatchSetFieldToMatch.ps1 @@ -57,7 +57,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End { diff --git a/VaporShell/Public/Resource Property Types/Add-VSWAFXssMatchSetXssMatchTuple.ps1 b/VaporShell/Public/Resource Property Types/Add-VSWAFXssMatchSetXssMatchTuple.ps1 index 50cc14311..2e555bcc9 100644 --- a/VaporShell/Public/Resource Property Types/Add-VSWAFXssMatchSetXssMatchTuple.ps1 +++ b/VaporShell/Public/Resource Property Types/Add-VSWAFXssMatchSetXssMatchTuple.ps1 @@ -48,7 +48,11 @@ } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { - $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + switch ($key) { + Default { + $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key + } + } } } End {