From 0d73dc114ed5782fb6ec9413c57199a2859ac6c5 Mon Sep 17 00:00:00 2001 From: David Paulson Date: Tue, 12 Mar 2024 11:27:16 -0500 Subject: [PATCH] Remove multi server support for now --- .../ConfigureFipFsTextExtractionOverrides.ps1 | 8 -------- .../ConfigureFipFsTextExtractionOverrides.md | 14 -------------- 2 files changed, 22 deletions(-) diff --git a/Security/src/ConfigureFipFsTextExtractionOverrides/ConfigureFipFsTextExtractionOverrides.ps1 b/Security/src/ConfigureFipFsTextExtractionOverrides/ConfigureFipFsTextExtractionOverrides.ps1 index d50592bf96..4e13651d72 100644 --- a/Security/src/ConfigureFipFsTextExtractionOverrides/ConfigureFipFsTextExtractionOverrides.ps1 +++ b/Security/src/ConfigureFipFsTextExtractionOverrides/ConfigureFipFsTextExtractionOverrides.ps1 @@ -55,14 +55,6 @@ [CmdletBinding(DefaultParameterSetName = "ConfigureOverride", SupportsShouldProcess = $true, ConfirmImpact = 'High')] param( - [Parameter(Mandatory = $false, ValueFromPipeline, ParameterSetName = "ConfigureOverride")] - [Parameter(Mandatory = $false, ValueFromPipeline, ParameterSetName = "Rollback")] - [string[]]$ExchangeServerNames, - - [Parameter(Mandatory = $false, ParameterSetName = "ConfigureOverride")] - [Parameter(Mandatory = $false, ParameterSetName = "Rollback")] - [string[]]$SkipExchangeServerNames, - [Parameter(Mandatory = $true, ParameterSetName = "ConfigureOverride")] [ValidateSet("OutsideInModule", "XlsbOfficePackage", "XlsmOfficePackage", "XlsxOfficePackage", "ExcelStorage" , "DocmOfficePackage", "DocxOfficePackage", "PptmOfficePackage", "PptxOfficePackage", "WordStorage", "PowerPointStorage", "VisioStorage", "Rtf", diff --git a/docs/Security/ConfigureFipFsTextExtractionOverrides.md b/docs/Security/ConfigureFipFsTextExtractionOverrides.md index f8fa71ed7c..ccd1d3715f 100644 --- a/docs/Security/ConfigureFipFsTextExtractionOverrides.md +++ b/docs/Security/ConfigureFipFsTextExtractionOverrides.md @@ -35,24 +35,12 @@ This syntax enables processing of `Jpeg` and `AutoCad` file types by the help of .\ConfigureFipFsTextExtractionOverrides.ps1 -ConfigureOverride "Jpeg", "AutoCad" -Action "Allow" ``` -This syntax disables processing of `Jpeg` and `AutoCad` file types by the help of the `OutsideInModule` on the server `ExchangeSrv01` and `ExchangeSrv02`. - -```powershell -.\ConfigureFipFsTextExtractionOverrides.ps1 -ExchangeServerNames ExchangeSrv01, ExchangeSrv02 -ConfigureOverride "Jpeg", "AutoCad" -Action "Block" -``` - This syntax causes Exchange Server to use the previous version of the `OutsideInModule`. The override will be enabled on the system on which the script was executed. Note that this can make your system vulnerable to known vulnerabilities in the previous version and should not be used unless explicitly advised by Microsoft. ```powershell .\ConfigureFipFsTextExtractionOverrides.ps1 -ConfigureOverride "OutsideInModule" -Action "Allow" ``` -This syntax disables the override of the version of the `OutsideInModule` module on the server `ExchangeSrv01` and `ExchangeSrv02`. - -```powershell -.\ConfigureFipFsTextExtractionOverrides.ps1 -ExchangeServerNames ExchangeSrv01, ExchangeSrv02 -ConfigureOverride "OutsideInModule" -Action "Block" -``` - This syntax restores the `configuration.xml` from the backup that was created by a previous run of the script on the Exchange server where the script was executed. ```powershell @@ -63,8 +51,6 @@ This syntax restores the `configuration.xml` from the backup that was created by Parameter | Description ----------|------------ -ExchangeServerNames | A list of Exchange servers that you want to run the script against. -SkipExchangeServerNames | A list of Exchange servers that you don't want to execute the configuration action. ConfigureOverride | A list of file types that should be allowed to be processed by the `OutsideInModule`. The following input can be used: `XlsbOfficePackage`, `XlsmOfficePackage`, `XlsxOfficePackage`, `ExcelStorage`, `DocmOfficePackage`, `DocxOfficePackage`, `PptmOfficePackage`, `PptxOfficePackage`, `WordStorage`, `PowerPointStorage`, `VisioStorage`, `Rtf`, `Xml`, `OdfTextDocument`, `OdfSpreadsheet`, `OdfPresentation`, `OneNote`, `Pdf`, `Html`, `AutoCad`, `Jpeg`, `Tiff`.

If you want to enable the previous version of the `OutsideInModule` (`8.5.3`) to process file types, you must specify `OutsideInModule` as file type. Note that the `OutsideInModule` value cannot be used together with other file type values.

The input is case-sensitive. Action | String parameter to define the action that should be performed. Input can be `Allow` or `Block`. The default value is: `Block` Rollback | Switch parameter to restore the `configuration.xml` that was backed-up during a previous run of the script.