Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Update WS1-ReEnroll.ps1 #253

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ elseif ($Arch -eq 'amd64')

#Checking connection to target server before doing anything else
Write-Log "Verifying connection to the target UEM server: $server"
$connectionStatus = Test-Connection -ComputerName $server -Quiet
$connectionStatus = Test-NetConnection -ComputerName $server -Port 443 -InformationLevel Quiet
if($connectionStatus)
{
Write-Log "Test connection passed."
Expand Down