You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: intune/intune-service/fundamentals/intune-endpoints.md
+33-2Lines changed: 33 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -354,10 +354,41 @@ Before running the script, ensure you have:
354
354
355
355
### Usage
356
356
357
-
Run the script from an Intune-managed device to test connectivity to the Intune network endpoints using Azure Front Door.
357
+
Run the script from an Intune-managed device to test connectivity to the Intune network endpoints using Azure Front Door. The script can be run in the context of the logged-on user or as the Local System account (Device context).
358
358
359
-
Open **PowerShell** and use the following syntax:
359
+
#### Script Execution
360
360
361
+
**Option 1: Run as Current User**
362
+
363
+
Open **PowerShell** as the current user, navigate to the directory containing the script and run with the following command:
364
+
365
+
```powershell
366
+
.\Test-IntuneAFDConnectivity.ps1
367
+
```
368
+
369
+
**Option 2: Run as System (Device Context)**
370
+
371
+
To test connectivity as the device itself, use [PsExec](/sysinternals/downloads/psexec) from [Microsoft Sysinternals](/sysinternals/downloads/pstools).
0 commit comments