File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change
1
+ #############################################################
2
+ #
3
+ # EBS Automatic Snapshot - Part #2: Intermeditary Script
4
+ # By Casey Labs Inc.
5
+ # Github repo: https://github.com/CaseyLabs/aws-ec2-ebs-automatic-snapshot-powershell
6
+ #
7
+ ############################################################
8
+
1
9
# Intermediary batch script - call ed by the Disk Shadow script.
2
10
#
3
- # Why do we also have this separate batch script to call the EBS snapshot script?
4
- # Because in Windows 2012, the Task Scheduler passes the Default User environment variables,
5
- # and therefore can't get the admin user's AWS credentials.
11
+ # NOTE: if you configured the AWS credentials under a Windows user other than the Administrator account,
12
+ # you will need to set the USERPROFILE below to match that Window user's profile directory.
6
13
7
- # NOTE: if you configured the AWS credentials under a user other than the Administrator account, you will need to set
8
- # the USERPROFILE below to match that user's home directory.
9
14
set USERPROFILE = C:\Users\Administrator\
10
-
11
15
powershell.exe -ExecutionPolicy Bypass -file " C:\aws\3-ebs-snapshot.ps1"
You can’t perform that action at this time.
0 commit comments