Skip to main content

Posts

Showing posts from 2022

Bulk Update Managers of the Azure AD Users using powershell script

In Azure AD we do not have an option to update the Manager of multiple users. Followig PowerShell script can help us to overcome this repetitive task.  First we need to create a 'csv' file with following columns User Manager User column contains the list of User Emails. Manager column will contain the Manager's Email of the respective User. Update the 'csv' file path & run the PowerShell script as Administrator.

Restore SQL Server backup into Docker Container

sql1 is the SQL Server instance name   These commands will copy the ".bak" file into "/var/opt/mssql/backup" directory. You can use the "Restore Database" option in the SQL Server Management Studio to restore the database