mirror of
https://git.steelants.cz/JonatanRek/INT_PKG_BUILDER.git
synced 2026-10-11 13:45:32 +00:00
Progress
This commit is contained in:
1 parent
01137f3cb8
commit
8da045562c
65 files changed
+13163
-12
No files matched your search
@@ -0,0 +1,19 @@
|
||||
$PathIntune = "$Env:Programfiles\itego\intune"
|
||||
|
||||
Start-Transcript -Path "$PathIntune\Log\FortigateVPN-install.log" -Force
|
||||
|
||||
$installerPath = ('./bin/' + $installerName)
|
||||
$installArgs = "/install","/quiet","/norestart"
|
||||
Start-Process -FilePath $installerPath -ArgumentList "$installArgs" -Wait
|
||||
Write-Host ("Fortigate VPN Installed versions installed: " + $installerName)
|
||||
|
||||
$process = Start-Process -Path reg.exe -ArgumentList @("Import", ("{0}\config\vpnProfiles.reg" -f $PSScriptRoot)) -Wait -passthru
|
||||
If($process.ExitCode)
|
||||
{
|
||||
Write-Host "Profiles Imported"
|
||||
}
|
||||
0
|
||||
|
||||
Stop-Transcript
|
||||
|
||||
|
||||
Reference in new issue
Block a user