Getting and changing site admins in SharePoint Online with PowerShell

In the SharePoint Online admin portal we can specify the primary admin and the list of other admins in the properties menu of the site.

Let’s look at how we can do it in PowerShell.

Continue reading

Advertisements

sthArgumentCompleter – a PowerShell module that allows you to manage argument completers registered by Register-ArgumentCompleter cmdlet

Register-ArgumentCompleter cmdlet allows you to register argument completers, both custom and native, but there are no integrated ways to get argument completers registered in the current session or to remove some of them.

sthArgumentCompleter – is a module that allows you to manage argument completers registered by Register-ArgumentCompleter cmdlet.

Continue reading

sthAdminSDHolder – a module for work with Active Directory groups and user accounts, protected by AdminSDHolder container

When you add user to one of the protected groups, like ‘Account Operators’, ‘Administrators’, ‘Backup Operators’, ‘Domain Admins’, ‘Domain Controllers’, ‘Enterprise Admins’, ‘Print Operators’, ‘Read-only Domain Controllers’, ‘Replicator’, ‘Schema Admins’ or ‘Server Operators’, it becomes protected too.

Continue reading