AWS Workspaces – Count of machine state

Just a quick 1 liner of powershell to work this one out: get-wksworkspace | Group-Object state | Select-Object name,count | Sort state -Descending Which will give you something like: Name Count —- —– AVAILABLE     279 UNHEALTHY  30 PENDING       72 REBOOTING 2 ERROR          3 Amazon Auto Links: No products …

Read more

Always on VPN – RAS service hangs with no errors in Event log

We hit a new issue this week, we were getting failed connections on our Always-on VPN RAS servers, and on checking the servers, it appeared the ras service had hung. No errors in the logs, existing clients dropped off and we couldn’t restart the service, a reboot was the only option. We tracked this down …

Read more

Removing Always On VPN Tunnels

Recently, we were in a situation where we needed to remove some left over Always-on VPN user tunnels from a lot of Windows 10 machines. (We had duplicate profiles, and this was a tidy up exercise) The following scripts address this issue, it gets a list of all the VPN connections and then removes all …

Read more