Skip to content

Commit 95a14e8

Browse files
committed
Add missing param
1 parent 32407c7 commit 95a14e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AD-GROUP-Get-ParentGroup/AD-GROUP-Get-ParentGroup.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function Get-ParentGroup {
2929
TRY {
3030
if (-not(Get-Module Activedirectory -ErrorAction Stop)) {
3131
Write-Verbose -Message "[BEGIN] Loading ActiveDirectory Module"
32-
Import-Module ActiveDirectory -ErrorAction Stop
32+
Import-Module -Name ActiveDirectory -ErrorAction Stop
3333
}
3434
}
3535
CATCH {

0 commit comments

Comments
 (0)