could somebody make an automated cmd/powershell script for the step 4-6?