I present the Content of "get-rdusersession" via out-gridview.
No Problem if the queried User has an active session.
If not the queried Content will be null and out-gridview does not work.
The worst thing is that any old Content (of succesfull query)will still be visible in the form after an unsuccesfully query.