In this blog, we will copy last 24 hours files from local windows server to AWS S3. Let's start to achieve this: Note: For this script, we need to install AWS CLI on local Windows machine and we need configure IAM user credentials with S3 get and put object permission. Step 1: Create IAM user and download the access …
Read MoreIn this blog, Today we will create a script that will help us to copy latest files from FTP server and paste it to another server (FTP client server) using WinSCP Script. So, lets start the process. Step 1: For this, We first need to install WinSCP on our clinet server. To install WinSCP, Please click on the link. Step …
Read MoreIn this blog, we will create a Powershell script, which will copy latest files from AWS S3 to paste it in local. So, lets start the process. Note: For this script, we need to install AWS CLI on local Windows machine and we need configure IAM user credentials with S3 get and put object permission. Step 1: Create IAM …
Read MoreToday lets configured your powershell script in widows scheduler. Lets start the process: Step 1: Open "Task Scheduler" : Step 2: Click on "Create Task" : Step 3: In general, write "scheduler task Name" and enter "Administrator" user: Step 4: In trigger, enter timing in which you want to run the script: Step 5: In …
Read MoreToday we will create a Powershell Script, which will delete your old files. You can also configure a scheduler which can delete the files automatically. Let's start the scripting: Step 1: Create a variable to get the old date by getting current date and subtracting the retention days: 1$cutoffDate = …
Read MoreToday we will learn, How to extend your AWS EC2 EBS volume disk without Downtime. If you are using Linux you can click on this link and follow the steps. So, Once you increases the size of an EBS volume from the AWS console, use the Windows Disk Management utility to extend the disk size to the new size of the volume. …
Read MoreHello Everyone, Today I will show you how to install Google Chrome in Windows Server via Powershell. Lets start the steps: 1: Copy the below code and paste it in the notepad. 1$LocalTempDir = $env:TEMP; $ChromeInstaller = "ChromeInstaller.exe"; (new-object …
Read MoreMany time to secure our Windows server, we have to change the Default RDP port to some Custom port. Which is also a good practice to secure the servers. Today we will learn, how to change the Default RDP port (3389 port) to your Custom port. To change the RDP port, please follow the below steps: Connect to your Windows …
Read More