Link to home
Start Free TrialLog in
Avatar of Craig Paulsen
Craig PaulsenFlag for New Zealand

asked on

Disable Skype for Business enabled accounts on 1000 users.

Guys, I've been tasked with cleaning up/disabling skype for business enabled accounts,
Most of the accounts that have the "msRTCSIP-UserEnabled attribute set to True" are in the disabled accounts OU, there are a couple of active administrative accounts that has this attribute set to true which doesn't require skype for business,
Can you please provide some guidance as to what would be the easiest way to set this attribute to false (assuming that's what I need to do disable skype for business) on 1000 odd accounts?
Avatar of Mohammed Hamada
Mohammed Hamada
Flag of Portugal image

Do you have skype for business server there? if so you can easily disable them using the "Disable-csuser" cmdlet from Skype for Business Management Shell

it would be like

Get-CsUser -OU "ou=Finance,ou=North America,dc=litwareinc,dc=com } | disable-csuser "
Avatar of Craig Paulsen

ASKER

No Skype for business server, it's the AD attribute I need to remove from all these accounts
ASKER CERTIFIED SOLUTION
Avatar of Mohammed Hamada
Mohammed Hamada
Flag of Portugal image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thank you very much Mohammed, think im on the right tract here, however if I run the scripts against a single user, it's not clearing the attribute, the script is not throwing out an error as well, so I'm still stuck
Can you please post your script here ? how are you running the script against one user.
thank you