PowerShell - Scripting Best Practices
You want to sign multiple scripts in a folder using the same certificate. Which PowerShell snippet correctly signs all
.ps1 files?.ps1 files?Get-ChildItem -Filter '*.ps1' lists all script files in the folder.ForEach-Object to call Set-AuthenticodeSignature on each file with the certificate is correct.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions