Если ($ServicePlanSettings.Organization.TransportRuleLimit) { int $TransportRuleLimit = $ServicePlanSettings.Organization.TransportRuleLimit; ...

Если ($ServicePlanSettings.Organization.TransportRuleLimit)          {              [int] $TransportRuleLimit = $ServicePlanSettings.Organization.TransportRuleLimit;              SET-Transportconfig - TransportRuleLimit $TransportRuleLimit-удостоверения: $RoleTenantName;          }