From 9343b687a73f829001f9fe5cf7c4cbd75e7e22ea Mon Sep 17 00:00:00 2001 From: rogier Date: Tue, 21 Jan 2025 00:30:42 +0100 Subject: [PATCH] Update enable-bitlocker.ps1 --- enable-bitlocker.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enable-bitlocker.ps1 b/enable-bitlocker.ps1 index 58fc3f5..d4c6faa 100644 --- a/enable-bitlocker.ps1 +++ b/enable-bitlocker.ps1 @@ -15,7 +15,7 @@ if ($bitlockerStatus.ProtectionStatus -eq "On") { $saveDialog = New-Object System.Windows.Forms.SaveFileDialog $saveDialog.Filter = "Text Files (*.txt)|*.txt" $saveDialog.Title = "Select location to save BitLocker recovery key" -$saveDialog.FileName = "BitLocker-$env:COMPUTERNAME-$(Get-Date -Format 'yyyy-MM-dd').txt" +$saveDialog.FileName = "BitLocker-$(Get-Date -Format 'yyyy-MM-dd').txt" if ($saveDialog.ShowDialog() -eq 'OK') { $keyPath = $saveDialog.FileName