Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

HancomAC/InitCom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

InitCom

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published