Skip to content

Commit

Permalink
add provider install command in scan.ps1 (#385)
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Münch <[email protected]>
  • Loading branch information
atomic111 authored Nov 3, 2023
1 parent 28b9cb8 commit 51f4896
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mdm-scripts/windows/scan.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ If (![string]::IsNullOrEmpty($DownloadPath)) {
$program = "$ExecutionPath\$Product.exe"
# Check if cnspec downloaded successfully
If (Test-Path -Path "$($program )") {
& $program providers install os
success " * $Product was downloaded successfully!"
} Else {
fail "Cnspec is not available at $program"
Expand Down

0 comments on commit 51f4896

Please sign in to comment.