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, 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 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 More