zipped and password protected


hi,

need zip , password protect folder/file.
example source folder c:\backup , destination c:\zipped

zipped folder by
$source = c:\backup
$destination = c:\zipped
add-type -assembly "system.io.compression.filesystem"
[io.compression.zipfile]::createfromdirectory($source, $destination)

don't know next passworded file :/

the net classes not support passwords.


\_(ツ)_/



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Edit Group Policy

Hyper-V VM not reaching OS 'Logon' screen

DNS question...