Set-ExecutionPolicy Unrestricted $scriptUrl = "https://raw.githubusercontent.com/HancomAC/InitCom/main/final.ps1" $destination = "c:\test.txt" $scriptName = "c:\test.ps1" Invoke-WebRequest $scriptUrl -OutFile $destination -Headers @{"Cache-Control"="no-cache"} # if the file was downloaded, delete the old script file and rename the new # file if(test-path $destination){ remove-item $scriptName Rename-Item $destination $scriptName } &$scriptName
This repository was archived by the owner on Jun 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
HancomAC/InitCom
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Latest commit | ||||
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published