Taylohtio/_Scripts/SecurePdfFiles/SecurePdfFilesNoParams.ps1

7 lines
395 B
PowerShell

$base = [System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::Desktop)
$source = [System.IO.Path]::Combine($base, "PDF")
$target = [System.IO.Path]::Combine($base, "PDF_Encrypted")
Write-Host "Source path:" $source -foregroundcolor green
Write-Host "Target path:" $target -foregroundcolor green
.\SecurePdfFiles.ps1 -sourcePath $source -targetPath $target -password mobimus