SQL – Check with statements that are blocked
You can check which statements are blocked by running this
You can check which statements are blocked by running this
If you add the Office 365 Teams trail to you tenant, and you will like to give that license to all users, this is the command you can run:
If you have problems with accessing a drive, with the error message: f:\ is not accessible. Access is denied It can happen, if the drive doesn’t have this permission:Everyone (This…
Thanks for the script to John Eisbrener – Check for new version here: https://dbaeyes.wordpress.com/2013/04/19/fully-script-out-a-mssql-database-role/
After installation of these update, you can have problem booting you server. with this warning: The digital signature for this file couldn’t be verified. file:\windows\system32\winload.efi status 0xc0000428 You can fix…
I have this problems, that if a schedule inside a Agent job, have not been started for some reason, there will be no errors about this problem. So Í have…
The function I use fn_hadr_group_is_primary from this post is a UDF (User Defined Function) that we create in the master database. The function gets an Availability Group name as an…
Here are a script, that you can include in yours script, to add Exchange management shell, to “normal” powershell scripts.
I need to find a way to see if the backup chain where broken. On my search I found this could script, created by “hot2use”I have found this script on…
import-module msonline(install-module msonline) $O365CREDS = Get-Credential$ONPREMCREDS = Get-Credential #used UPN Username $SESSION = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $O365CREDS -Authentication Basic -AllowRedirection Import-PSSession $SESSIONConnect-MsolService -Credential $O365CREDS #You can run…