File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Modules/CIPPCore/Public/Standards Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- function Invoke-CIPPStandardExConnector {
1+ function Invoke-CIPPStandardExchangeConnectorTemplate {
22 <#
33 . FUNCTIONALITY
44 Internal
@@ -12,15 +12,15 @@ function Invoke-CIPPStandardExConnector {
1212 } # we're done.
1313 # #$Rerun -Type Standard -Tenant $Tenant -Settings $Settings 'ExConnector'
1414
15- If ($Settings.remediate -eq $true ) {
15+ if ($Settings.remediate -eq $true ) {
1616
1717 foreach ($Template in $Settings.TemplateList ) {
1818 try {
1919 $Table = Get-CippTable - tablename ' templates'
2020 $Filter = " PartitionKey eq 'ExConnectorTemplate' and RowKey eq '$ ( $Template.value ) '"
2121 $connectorType = (Get-AzDataTableEntity @Table - Filter $Filter ).direction
2222 $RequestParams = (Get-AzDataTableEntity @Table - Filter $Filter ).JSON | ConvertFrom-Json
23- if ($RequestParams.comment ) { $RequestParams.comment = Get-CIPPTextReplacement - Text $RequestParams.comment - TenantFilter $Tenant } else { $RequestParams | Add-Member - NotePropertyValue " no comment" - NotePropertyName comment - Force }
23+ if ($RequestParams.comment ) { $RequestParams.comment = Get-CIPPTextReplacement - Text $RequestParams.comment - TenantFilter $Tenant } else { $RequestParams | Add-Member - NotePropertyValue ' no comment' - NotePropertyName comment - Force }
2424 $Existing = New-ExoRequest - ErrorAction SilentlyContinue - tenantid $Tenant - cmdlet " Get-$ ( $ConnectorType ) connector" | Where-Object - Property Identity -EQ $RequestParams.name
2525 if ($Existing ) {
2626 $RequestParams | Add-Member - NotePropertyValue $Existing.Identity - NotePropertyName Identity - Force
You can’t perform that action at this time.
0 commit comments