PowerTip: Use a PowerShell Function to Determine DirectAccess Connection Status

Doctor Scripto

Summary: Use a Windows PowerShell function on Windows 8 to determine DirectAccess connection status.

Hey, Scripting Guy! Question How can I use Windows PowerShell on my computer running Windows 8 to determine the status of my DirectAccess connection back to work?

Hey, Scripting Guy! Answer Open the Windows PowerShell console and use the Get-DAConnectionStatus function, as shown here.

Get-DAConnectionStatus

Note   This function does NOT require admin rights. A regular user can run it. If DirectAccess is working properly, the function returns Status: ConnectedRemotely. If DirectAccess is not configured, an error appears. The error is: “Network Connectivity Assistant service is stopped or not responding.”

 

0 comments

Discussion is closed.

Feedback usabilla icon