Prepare ms-private 0.0.1 release candidate
This commit is contained in:
1 parent
7aacc0b63f
commit
a515538438
75 files changed
+3957
-3484
No files matched your search
@@ -0,0 +1,5 @@
|
||||
#Requires -Version 5.1
|
||||
param([Parameter(Mandatory)][string]$Config)
|
||||
$ErrorActionPreference='Stop';Import-Module (Join-Path $PSScriptRoot 'src/Wind.Lock.psm1')
|
||||
$cfg=Get-Content -LiteralPath $Config -Raw|ConvertFrom-Json;if($cfg.Schema-ne 1){throw 'Invalid lock configuration.'}
|
||||
$report=Join-Path $PSScriptRoot ('last-event-'+(Get-Date -Format 'yyyyMMdd-HHmmss')+'.json');Invoke-WindLockEvent -VeraCryptVolume @($cfg.VeraCryptVolume) -VeraCryptPath ([string]$cfg.VeraCryptPath) -ReportPath $report|Out-Null
|
||||
Reference in new issue
Block a user