January 23rd, 2013

PowerTip: Use a PowerShell Function to Determine DirectAccess Connection Status

Doctor Scripto
Scripter

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.”

 

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.