SHARE
TWEET

PowerShell : Script Extract File.

SilverTES Jul 21st, 2019 (edited) 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Chargement de la classe
  2.  
  3. [System.Reflection.Assembly]::LoadWithPartialName("System.IO.Compression.FileSystem") | Out-Null
  4.  
  5. $ZipFile = "P.Zip"
  6.  
  7. $DestFile = "P:\TestPS"
  8.  
  9. [System.IO.Compression.ZipFile]::ExtractToDirectory($ZipFile,$DestFile)
  10.  
  11. cd $DestFile
  12.  
  13. dir
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top