In my previous post I was talking about Kinesis Agent for Windows, and why it is kind of better than CloudWatch Agent.I explained how to get the Agent installed on Windows OS. Now we came to a second part, and that is the configuration. I have mentioned that Kinesis Agent for Windows OS has appsettings.json … Read More →
Recently our client was concerned about the amount of Event Logs being sent from Windows EC2 instances to CloudWatch Log Groups. They asked us to try to figure out something to lower the costs by only a specific Event IDs are being sent to CloudWatch Log Group, thus excluding all other unnecessary Event IDs.In one … Read More →
Hello everyone. I had a task to create a solution which will perform task of backing up Windows SQL server both locally and on S3.We all know that if you use AWS RDS, you wouldn’t have to worry about backing up SQL databases. However, if you don’t want to pay any third party software which … Read More →
In order to configure Windows and Linux EC2 instances to send custom CloudWatch metrics by using SSM, we need to use the new Unified CloudWatch Agent. There is an old version of SSM Agent or EC2Config, but this was available only on Windows Instances. The new CloudWatch Agent, integrated with AWS Systems Manager (SSM) for … Read More →
Recently, I started playing with Docker. I must say that it is a really cool thing, and I liked it a lot. But first, lets talk a bit about containers. The use of containers helps not only with the efficiency, elasticity, and reusability of the hosted applications, but also with portability of the platform and applications. … Read More →
As you may already know, the GA version of Powershell Core is suppose to be released on 10th of January, with release Candidate version being available for some time already. Powershell will come with two versions: Windows Powershell Powershell Core Powershell Core is a version of PowerShell built on top of .NET Core. The official … Read More →
This is just a simple and easy script, which is retrieving disk info from either local or remote PC. I have defined a couple of parameters, some of them are mandatory, some of them not, with parameter options to validate set, which means that while you are writing the parameter, it will give you a … Read More →
Few days ago, I had a task to check if SQL Native Client version 11 was installed on some server in our environment. Of course, I could have logged in to all of my servers and check manually, but why I should do that if I could achieve the same thing with PowerShell. And it … Read More →
When you have an automation engine supported by PowerShell, it is a good idea to create a custom Event Log Type, where you would log all the messages sent by PowerShell. This is just one example where you could implement Custom Logging in Event Viewer, you could do this even with a single PowerShell script, … Read More →
Hello. In one of my previous posts, COMPARE TWO CSV FILES VIA POWERSHELL, I was comparing values from two CSV files, and saved output into CSV again. This is not bad, if you don’t care about formatting or coloring the cells etc. But what if you would need to do such a thing. What if … Read More →