This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function Invoke-DockerPester { | |
param( | |
$ContainerName = "DockerPester", | |
$Image, | |
$InputFolder, | |
$PathOnContainer = "/var", | |
$PathToTests | |
) | |
if(!($PathToTests)){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Array for Hashtables that are going to be passed to Invoke-DSCResource | |
$SplatParam = @() | |
#Defining Hashtables | |
$Param1 = @{} | |
$Properties1 = @{} | |
$Properties1.ValueName = "EnumerateAdministrators" | |
$Properties1.Key = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CredUI\EnumerateAdministrators" | |
$Properties1.ValueType = "Dword" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$SplatParam = @() | |
$Param1 = @{} | |
$Properties1 = @{} | |
$Properties1.ValueName = "EnumerateAdministrators" | |
$Properties1.Key = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CredUI\EnumerateAdministrators" | |
$Properties1.ValueType = "Dword" | |
$Properties1.ValueData = 0 |