From a5d447b28cf035d6207e6d5786750c2815127031 Mon Sep 17 00:00:00 2001 From: Przemyslaw Klys Date: Mon, 16 Aug 2021 12:01:39 +0200 Subject: [PATCH] Improvements to exclusions --- Private/Invoke.GPOZaurrBlockedInheritance.ps1 | 3 +-- Private/Invoke.GPOZaurrList.ps1 | 3 +-- Private/Invoke.GPOZaurrOrganizationalUnit.ps1 | 3 +-- Private/Invoke.GPOZaurrOwners.ps1 | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Private/Invoke.GPOZaurrBlockedInheritance.ps1 b/Private/Invoke.GPOZaurrBlockedInheritance.ps1 index 71f33d9..99f5837 100644 --- a/Private/Invoke.GPOZaurrBlockedInheritance.ps1 +++ b/Private/Invoke.GPOZaurrBlockedInheritance.ps1 @@ -116,9 +116,8 @@ New-HTMLText -Text @( "While preparing this report following exclusions were defined. " "Please make sure that when you execute your steps to include those exclusions to prevent any issues. " - ) -FontSize 10pt + ) -FontSize 10pt -FontWeight bold, normal -Color Red, None - New-HTMLText -LineBreak New-HTMLText -Text "Code to use: " -LineBreak -FontSize 10pt -FontWeight bold $Code = New-GPOZaurrExclusions -ExclusionsArray $Script:Reporting['GPOBlockedInheritance']['Exclusions'] diff --git a/Private/Invoke.GPOZaurrList.ps1 b/Private/Invoke.GPOZaurrList.ps1 index c70a5b4..19aabdc 100644 --- a/Private/Invoke.GPOZaurrList.ps1 +++ b/Private/Invoke.GPOZaurrList.ps1 @@ -304,9 +304,8 @@ New-HTMLText -Text @( "While preparing this report following exclusions were defined. " "Please make sure that when you execute your steps to include those exclusions to prevent any issues. " - ) -FontSize 10pt + ) -FontSize 10pt -FontWeight bold, normal -Color Red, None - New-HTMLText -LineBreak New-HTMLText -Text "Code to use: " -LineBreak -FontSize 10pt -FontWeight bold $Code = New-GPOZaurrExclusions -ExclusionsArray $Script:Reporting['GPOList']['Exclusions'] diff --git a/Private/Invoke.GPOZaurrOrganizationalUnit.ps1 b/Private/Invoke.GPOZaurrOrganizationalUnit.ps1 index f3f76f8..d5866e4 100644 --- a/Private/Invoke.GPOZaurrOrganizationalUnit.ps1 +++ b/Private/Invoke.GPOZaurrOrganizationalUnit.ps1 @@ -105,9 +105,8 @@ New-HTMLText -Text @( "While preparing this report following exclusions were defined. " "Please make sure that when you execute your steps to include those exclusions to prevent any issues. " - ) -FontSize 10pt + ) -FontSize 10pt -FontWeight bold, normal -Color Red, None - New-HTMLText -LineBreak New-HTMLText -Text "Code to use: " -LineBreak -FontSize 10pt -FontWeight bold $Code = New-GPOZaurrExclusions -ExclusionsArray $Script:Reporting['GPOOrganizationalUnit']['Exclusions'] diff --git a/Private/Invoke.GPOZaurrOwners.ps1 b/Private/Invoke.GPOZaurrOwners.ps1 index a9e1d7c..f883149 100644 --- a/Private/Invoke.GPOZaurrOwners.ps1 +++ b/Private/Invoke.GPOZaurrOwners.ps1 @@ -146,9 +146,8 @@ New-HTMLText -Text @( "While preparing this report following exclusions were defined. " "Please make sure that when you execute your steps to include those exclusions to prevent any issues. " - ) -FontSize 10pt + ) -FontSize 10pt -FontWeight bold, normal -Color Red, None - New-HTMLText -LineBreak New-HTMLText -Text "Code to use: " -LineBreak -FontSize 10pt -FontWeight bold $Code = New-GPOZaurrExclusions -ExclusionsArray $Script:Reporting['GPOOwners']['Exclusions']