I have created a powershell script to get Inactive users from AD with high cpu usage, but now I want to end the session of those Inactive users without disabling the account. I'm unable to get session Id of inactive users
Can anyone help me to end this inactive user sessions?