June 17, 2018

Copy (scp) file from remote server to Mac using ssh tunnel

Reading Time : 1 minuteGenerally, when we work in a secure environment we do have bastion host to connect application/DB server. So when using Windows we can copy the file to […]
April 5, 2018

Using PowerShell to join the computer to domain and troubleshooting tricks

Reading Time : 3 minutesWe can add the computer to AD domain by using PowerShell which is very important while doing automation in a windows environment. The Add-Computer cmdlet used to add […]
March 26, 2018

How to test if the user is present in Active Directory via PowerShell

Reading Time : 1 minuteWhen we create the new Active Directory we add the user to it, right? No brainer. So, when we want to achieve this via automation say […]
March 26, 2018

How to run `make` command from another directory

Reading Time : 1 minuteSometimes while doing some automation we need to run the make command from another directory i.e. from where the Makefile is not present. So what option […]
March 26, 2018

SetMaxDop value for MS SQL database using PowerShell

Reading Time : 2 minutesWhen an instance of SQL Server runs on a computer that has more than one microprocessor or CPU, it detects the best degree of parallelism, that […]