From d1071c383bfbb78b0fef2a255951a7a15f852a63 Mon Sep 17 00:00:00 2001 From: lub Date: Wed, 18 Jan 2023 11:07:08 +0100 Subject: [PATCH] change default properties of Get-BADGroup --- profile.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profile.ps1 b/profile.ps1 index 8d0d4a2..1f94771 100644 --- a/profile.ps1 +++ b/profile.ps1 @@ -46,8 +46,8 @@ function Get-BADGroup { [string] $SearchTerm, - [string] - $Properties = 'Description', + [string[]] + $Properties = @('Description','ManagedBy'), [string] $Server = $env:USERDNSDOMAIN+':3268'