File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,8 @@ function Get-TargetResource
165165 $UsedSpaceOnly
166166 )
167167
168- # Load helper module Import-Module "$((Get-Item -LiteralPath "$($PSScriptRoot)").Parent.Parent.FullName)\Misc\xBitlockerCommon.psm1" -Verbose:0
168+ # Load helper module
169+ Import-Module " $ ( (Get-Item - LiteralPath " $ ( $PSScriptRoot ) " ).Parent.Parent.FullName) \Misc\xBitlockerCommon.psm1" - Verbose:0
169170
170171 Assert-HasPrereqsForBitlocker
171172
@@ -342,7 +343,8 @@ function Set-TargetResource
342343 $UsedSpaceOnly
343344 )
344345
345- # Load helper module Import-Module "$((Get-Item -LiteralPath "$($PSScriptRoot)").Parent.Parent.FullName)\Misc\xBitlockerCommon.psm1" -Verbose:0
346+ # Load helper module
347+ Import-Module " $ ( (Get-Item - LiteralPath " $ ( $PSScriptRoot ) " ).Parent.Parent.FullName) \Misc\xBitlockerCommon.psm1" - Verbose:0
346348
347349 Assert-HasPrereqsForBitlocker
348350
@@ -517,7 +519,8 @@ function Test-TargetResource
517519 $UsedSpaceOnly
518520 )
519521
520- # Load helper module Import-Module "$((Get-Item -LiteralPath "$($PSScriptRoot)").Parent.Parent.FullName)\Misc\xBitlockerCommon.psm1" -Verbose:0
522+ # Load helper module
523+ Import-Module " $ ( (Get-Item - LiteralPath " $ ( $PSScriptRoot ) " ).Parent.Parent.FullName) \Misc\xBitlockerCommon.psm1" - Verbose:0
521524
522525 Assert-HasPrereqsForBitlocker
523526
Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ function Get-TargetResource
4242 $AllowImmediateReboot = $false
4343 )
4444
45- # Load helper module Import-Module "$((Get-Item -LiteralPath "$($PSScriptRoot)").Parent.Parent.FullName)\Misc\xBitlockerCommon.psm1" -Verbose:0
45+ # Load helper module
46+ Import-Module " $ ( (Get-Item - LiteralPath " $ ( $PSScriptRoot ) " ).Parent.Parent.FullName) \Misc\xBitlockerCommon.psm1" - Verbose:0
4647
4748 Assert-HasPrereqsForBitlocker
4849
@@ -108,7 +109,8 @@ function Set-TargetResource
108109 $AllowImmediateReboot = $false
109110 )
110111
111- # Load helper module Import-Module "$((Get-Item -LiteralPath "$($PSScriptRoot)").Parent.Parent.FullName)\Misc\xBitlockerCommon.psm1" -Verbose:0
112+ # Load helper module
113+ Import-Module " $ ( (Get-Item - LiteralPath " $ ( $PSScriptRoot ) " ).Parent.Parent.FullName) \Misc\xBitlockerCommon.psm1" - Verbose:0
112114
113115 Assert-HasPrereqsForBitlocker
114116
@@ -183,7 +185,8 @@ function Test-TargetResource
183185 $AllowImmediateReboot = $false
184186 )
185187
186- # Load helper module Import-Module "$((Get-Item -LiteralPath "$($PSScriptRoot)").Parent.Parent.FullName)\Misc\xBitlockerCommon.psm1" -Verbose:0
188+ # Load helper module
189+ Import-Module " $ ( (Get-Item - LiteralPath " $ ( $PSScriptRoot ) " ).Parent.Parent.FullName) \Misc\xBitlockerCommon.psm1" - Verbose:0
187190
188191 Assert-HasPrereqsForBitlocker
189192
Original file line number Diff line number Diff line change @@ -952,7 +952,7 @@ function Remove-FromPSBoundParametersUsingHashtable
952952 [System.String []]
953953 $ParamsToKeep ,
954954
955- [Parameter (Mandatory = $true , ParameterSetName = ' Remove-FromPSBoundParametersUsingHashtable ' )]
955+ [Parameter (Mandatory = $true , ParameterSetName = ' RemoveParameters ' )]
956956 [System.String []]
957957 $ParamsToRemove
958958 )
You can’t perform that action at this time.
0 commit comments