Skip to content

Commit

Permalink
Update SetupOrg.ps1
Browse files Browse the repository at this point in the history
linux policy changed options
  • Loading branch information
jworkmanjc authored Nov 6, 2024
1 parent 0c38792 commit c063eb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PowerShell/JumpCloud Module/Tests/SetupOrg.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Try {
# Generate required policies
foreach ( $policyName in $PesterParamsHash_Common.MultiplePolicyList ) {
If (-not (Get-JCPolicy -Name $policyName)) {
New-JCPolicy -TemplateName linux_Disable_USB_Storage -Name $policyName
New-JCPolicy -TemplateName linux_Disable_USB_Storage -Name $policyName -disable_mtp $true -disable_afc $false -disable_mmc $false
}
}
Write-Host "[Status] Finished Generating Policies: $($stopwatch.Elapsed)"
Expand Down Expand Up @@ -211,4 +211,4 @@ $r1.value | % { $_.psobject.properties.remove('httpMetaData') }
$r2.value | % { $_.psobject.properties.remove('httpMetaData') }

write-Host "[Status] Exporting $($variableArray.count) variables from setupOrg"
Return $variableArray
Return $variableArray

0 comments on commit c063eb6

Please sign in to comment.