atualizacao scripts
This commit is contained in:
@@ -134,6 +134,14 @@ function Install-Pilot {
|
||||
} else {
|
||||
Write-Log "Could not retrieve MAC address.`n"
|
||||
}
|
||||
|
||||
Write-Log "`nSetting main connectio as PRIVATE..."
|
||||
Get-NetConnectionProfile | Where-Object {$_.InterfaceAlias -like "*Ethernet*"} | Set-NetConnectionProfile -NetworkCategory Private
|
||||
|
||||
|
||||
Write-Log "`nAdjusting System Time..."
|
||||
w32tm /resync /force
|
||||
|
||||
|
||||
Write-Log "Stopping PilotGameAgent service..."
|
||||
Stop-Service -Name "PilotGameAgent" -Force -ErrorAction SilentlyContinue
|
||||
|
||||
Reference in New Issue
Block a user