Don't log file copies

This commit is contained in:
Audrey Aaliyah Jensen 2023-08-25 11:33:25 -05:00
parent 217053000f
commit 19ddde9eb3

View File

@ -4,7 +4,7 @@
#Copy items to desktop
Copy-Item './extract.py' '..';
Get-ChildItem | Where-Object { $_.name -match '\.zip'} | ForEach-Object {Write-Output $_.name; Copy-Item -Path $_.name -Destination '..' }
Get-ChildItem | Where-Object { $_.name -match '\.zip'} | ForEach-Object {Copy-Item -Path $_.name -Destination '..' }
#Capture zip password from filename
$pwPattern = [regex] "[A-z 0-9 \-]{1,251}\((?<PW>[A-z0-9]{1,251})\)\.zip";