Skip to content

Commit

Permalink
Eliminate duplicate $ProductNames in scuba config
Browse files Browse the repository at this point in the history
  • Loading branch information
Thom Neale committed Jan 9, 2024
1 parent d4a801f commit bb1eeb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PowerShell/ScubaGear/Modules/ScubaConfig/ScubaConfig.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ScubaConfig {
$this.Configuration.ProductNames = "teams", "exo", "defender", "aad", "sharepoint", "powerplatform" | Sort-Object
}
else{
$this.Configuration.ProductNames = $this.Configuration.ProductNames | Sort-Object
$this.Configuration.ProductNames = $this.Configuration.ProductNames | Sort-Object -Unique
}

if (-Not $this.Configuration.M365Environment){
Expand Down

0 comments on commit bb1eeb1

Please sign in to comment.