Hello,
I see the old thread - googled by "RemoteApp script to REMOVE a connection.."
related to the topic, but it doesn't propose any solution for this.
So the sittuation is that we required for some reasons to REMOVE decomissioned Work Resources from Windows 7 clients in all organization - 400 Users.
May be someone already develop the automated solution for this.
Thanks to everyone who helped!