Skip to content

Commit

Permalink
Prevent PowerShell console to close after the script finishes from ru…
Browse files Browse the repository at this point in the history
…nning
  • Loading branch information
alaanasser00 committed Oct 28, 2022
1 parent 0657b0d commit 0f41680
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cis-vsphere.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,6 @@ Ensure-VirtualDiskShrinkingIsDisabled
Ensure-VirtualDiskWipingIsDisabled
Ensure-TheNumberOfVMLogFilesIsConfiguredProperly
Ensure-HostInformationIsNotSentToGuests
Ensure-VMLogFileSizeIsLimited
Ensure-VMLogFileSizeIsLimited

Read-Host -Prompt "Press Enter to exit"

0 comments on commit 0f41680

Please sign in to comment.