Fix Vivaldi browser start up issue

Nortn AV can block vivadi browser from starting on machines - sometimes with company laptops. As a work around create a shortcut of Vivaldi with flag --no-sandbox

SendGrid SMTP using Powershell and REST API

Sendgrid stopped accepting account username and password. I was using powershell cmdlet send-mailmessage to run some of auditing scripts from VM’s and it all broken due to this. Final solution with out much modification our script is done by setting username as apikey and password as APIKEYVALUE. Details of the...

Linux Log Rotate and archive rotated file.

I was checking an article on how to upload archived logs to azure blob. As initial set up I’ve updated logrotate.conf(/etc/logrotate.conf) with below settings. file to edit: /etc/logrotate.conf Then updated syslog rotate config to test on how messages files can be archived. Make sure the destination path is created. In...

Grant SQL Server account access to Lock Pages in Memory using PowerShell DSC.

Lock Pages in Memory is a setting that can be set on 64-bit operating systems that essentially tell Windows not to swap out SQL Server memory to disk. I was implementing SQL server hardening via PowerShell DSC and one of the requirement was to have Lock Pages In Memory enabled...