Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It appears that EC2Config on the Amazon-provided AMIs now supports "User Data Scripts" as of <a href="https://aws.amazon.com/amis/microsoft-windows-server-2008-r2-base" rel="noreferrer">the 11-April-2012 updates</a>.</p> <p>The documentation has not yet been updated, so it's hard to tell if it supports PowerShell or just cmd.exe scripts. I've <a href="https://forums.aws.amazon.com/message.jspa?messageID=337593" rel="noreferrer">posted a question on the AWS forums</a> to try and get some more detail, and will update here when I learn more.</p> <p><strong>UPDATE:</strong> It looks like cmd.exe batch syntax is supported, which can in turn invoke PowerShell. There's a new version of the EC2Config documentation included on the AMI. Quoting from it:</p> <blockquote> <p>[EC2Config] will read in the user data specified for the instance and then check if it contain the tags <code>&lt;script&gt;</code> and <code>&lt;/script&gt;</code>. If it finds both then it will take the information between those two tags and save it to a batch file located in the Settings folder of this application. It will then execute the batch file during the start of an instance.</p> <p>The batch file will only be created and executed on the first launch of an instance after a sysprep. If you want to have the batch file created and executed again set the Ec2HandleUserdata plugin state to Enabled.</p> </blockquote> <p><strong>UPDATE 2:</strong> My interpretation <a href="https://forums.aws.amazon.com/message.jspa?messageID=337545#337545" rel="noreferrer">is confirmed</a> by <a href="https://forums.aws.amazon.com/profile.jspa?userID=191080" rel="noreferrer">Shon from the AWS Team</a></p> <p><strong>UPDATE 3:</strong> And as of the May-2012 AMIs, PowerShell is supported using the <code>&lt;powershell/&gt;</code> tag.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload