File tree Expand file tree Collapse file tree
DSCResources/MSFT_xScheduledTask Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,8 +14,17 @@ namespace xScheduledTask
1414}
1515'@
1616
17- Import-Module - Name (Join-Path - Path (Split-Path - Path $PSScriptRoot - Parent) `
18- - ChildPath ' CommonResourceHelper.psm1' )
17+ $modulePath = Join-Path - Path (Split-Path - Path (Split-Path - Path $PSScriptRoot - Parent) - Parent) - ChildPath ' Modules'
18+
19+ # Import the ComputerManagementDsc Common Modules
20+ Import-Module - Name (Join-Path - Path $modulePath `
21+ - ChildPath (Join-Path - Path ' ComputerManagementDsc.Common' `
22+ - ChildPath ' ComputerManagementDsc.Common.psm1' ))
23+
24+ # Import the ComputerManagementDsc Resource Helper Module
25+ Import-Module - Name (Join-Path - Path $modulePath `
26+ - ChildPath (Join-Path - Path ' ComputerManagementDsc.ResourceHelper' `
27+ - ChildPath ' ComputerManagementDsc.ResourceHelper.psm1' ))
1928
2029<#
2130 . SYNOPSIS
You can’t perform that action at this time.
0 commit comments