Upload files to "Utility Scripts"
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<#
|
||||
Author: Gabe Kerntke
|
||||
Date: 04-29-2025
|
||||
|
||||
.Synopsis
|
||||
Script disables bitlocker if enabled and forces a restart of the computer
|
||||
|
||||
.Modified
|
||||
2025-04-29 (GabeK) - Original script created
|
||||
|
||||
#>
|
||||
|
||||
$BLinfo = Get-Bitlockervolume
|
||||
If ($blinfo.ProtectionStatus -eq 'On' -and $blinfo.EncryptionPercentage -eq '100') {
|
||||
Manage-bde -Protectors -Disable C: -RebootCount 1
|
||||
}
|
||||
Restart-Computer -Force
|
||||
Reference in New Issue
Block a user