configuration.psd1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@{
    FancyCompleters = @{
      user = @{
        ToolTip = (ScriptBlock '
                        $n = $_.displayname
                        $a = $_.samaccountname
                        $e = if ($_.enabled) { " " } else { "*" }
                        "{0}{1} ({2})" -f $e,$n,$a
                    '
)
        ListText = (ScriptBlock '
                        $n = $_.displayname
                        $a = $_.samaccountname
                        $e = if ($_.enabled) { " " } else { "*" }
                        "{0}{1} ({2})" -f $e,$n,$a
                    '
)
      }
      group = @{
        ToolTip = (ScriptBlock '
                        $n = $_.displayname
                        $a = $_.samaccountname
                        $t = $_.groupCategory.toString()[0]
                        $s = $_.groupScope.toString()[0]
                        "{0} ({1}) [{2}|{3}]" -f $n, $a, $t, $s
                    '
)
        ListText = (ScriptBlock '
                        $n = $_.displayname
                        $a = $_.samaccountname
                        $t = $_.groupCategory.toString()[0]
                        $s = $_.groupScope.toString()[0]
                        "{0} ({1}) [{2}|{3}]" -f $n, $a, $t, $s
                    '
)
      }
    }
    ShowDisabled = $True
    UseFancyCompleters = $False
  }