Glacier file restore

Copper Contributor
Hi,
 
Looking for some help on trying to restore objects from AWS Glacier using PowerShell. I keep getting the assignment error below, yet the "--restore-request.." segment was ripped from the AWS site.
 
Any assistance much appreciated. I have to restore about 1200 specific objects that I imported using the Import-Excel cmdlet.
 
$S3List3[0...10] | ForEach-Object {
    aws s3api restore-object --bucket $_.Bucket --key $_.PreFix --restore-request Days=7,GlacierJobParameters= {"Tier"="Standard"}
 
The assignment expression is not valid. The input to an assignment operator must be an object that is able to accept assignments, such as a variable or a property
0 Replies