AWS Workspaces – Clean up orphaned Managed AD objects

If you manage a large number of AWS workspaces, chances are you will end up with orphaned computer AD objects cluttering up your domain. This script pulls a list of workspaces, compares it to the list of machines in AWS managed AD and removes any AD computer object without a corresponding workspace. This script requires …

Read more

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 Star Shower Garden Art Light …

Read more