Category: Active Directory

Cutover-migration from SFB Onpremises to Teams with Enterprise Voice.

Hi all, I known that this one has been on all of the bloggers concerning Enterprise Voice and hybrids, but. There is some findings that I discovered during my migrations and I want to point them out. First, when You…

Continue Reading Cutover-migration from SFB Onpremises to Teams with Enterprise Voice.

Script that assigns Office 365 licenses based on Group membership.

Hi, Again Johan the author at 365lab.net wrote a nice script. It will change user license based on AD Group Membership.

Continue Reading Script that assigns Office 365 licenses based on Group membership.

Assign Permissions to all mailboxes using Mail Enabled Security Group.

Hi, Add all users that need the following rights to a Mail Enabled Security Group. Then add permissions to calendars with this script: $allmailbox = Get-Mailbox -Resultsize Unlimited -Filter {RecipientTypeDetails -eq ‘usermailbox’} Foreach ($Mailbox in $allmailbox) {     $path =…

Continue Reading Assign Permissions to all mailboxes using Mail Enabled Security Group.

Find a User with certain SID.

Hi, Powershell is the way. Open powershell and type: import-module activedirectory  Then. $strSID=”Enter SID Here” $uSid = [ADSI]”LDAP://<SID=$strSID>” echo $uSid Have a nice one,

Continue Reading Find a User with certain SID.

How to find computers with a name starting with something and add them to a security group.

Dou, that was a long sentence 🙂 But here is how. $computers = get-adcomputer -ldapfilter “(name=name*)” $computers | foreach {Add-ADGroupMember -id name_of_the_group -MEMBERS $computers.samaccountname} Happy powershelling!

Continue Reading How to find computers with a name starting with something and add them to a security group.

Add a Forest Level Trust.

It has been a long time since I had to configure forest level trusts. But thank you Google. Here’s an excellent article: http://blogs.interfacett.com/how-to-configure-forest-level-trust-in-windows-server Cheers,

Continue Reading Add a Forest Level Trust.