Questions tagged with AWS Tools for Windows PowerShell
Content language: English
Select up to 5 tags to filter
Sort by most recent
Browse through the questions and answers listed below or filter and sort to narrow down your results.
Below is the AWS CLI that needs to be converted to PowerShell
$export_AWS = aws configservice select-aggregate-resource-config --expression "SELECT accountId,awsRegion,arn,resourceId WHERE...
1
answers
0
votes
437
views
asked 2 years agolg...
Hi Everone,
I'm trying to get all EC2 instances across all accounts using powershell. I would appreciate your assistance in resolving this issue.
It may be that I am not familiar with the use of...
1
answers
0
votes
411
views
asked 2 years agolg...
We are trying to see if it is possible to run powershell scripts inside of Lambdas functions that are able to create users and groups and update passwords. Is it possible to import Microsoft's AD...
4
answers
1
votes
1388
views
asked 2 years agolg...
Hi everyone,
currently we are doing some testing regarding S3 buckets.
We have an on-premise environment with some windows servers and we want to exchange files between on-premise and our S3 buckets...
Accepted AnswerAWS Tools for Windows PowerShell
3
answers
0
votes
727
views
asked 2 years agolg...
I am trying to use a variable inside my command list like this
$Commands = @(
'$DiskNumber = (Get-Partition -DriveLetter $driveletter).DiskNumber',
'Update-Disk -Number "$DiskNumber"',
...
2
answers
1
votes
587
views
asked 2 years agolg...
How To Copy Files From On-Prem To Amazon S3 With PowerShell Scripts with over 60 days
is there any way to filter the data from on-prem to copy files to S3 which are over 60 days old from the current...
1
answers
0
votes
2325
views
asked 2 years agolg...
I am attempting to use PowerShell Tools (aws.tools) module version 4.1.42 and PowerShell core 7.2.5 to send a RunCommand to EC2 instance to install the AmazonCloudWatchAgent to an EC2 instance. The...
2
answers
0
votes
1718
views
asked 2 years agolg...
I'm using powershell to create inbound IP rules for an EC2 Instance sec group.
I'm running the following code.
`
$IpRange = New-Object -TypeName Amazon.EC2.Model.IpRange
$IpRange.CidrIp =...
1
answers
0
votes
278
views
asked 2 years agolg...
Hi
I've currently experiencing a bit of a road block with using SSM Documents using powershell.
- We Define the policy though a GPO on the user/computer level
- We have a CA which we use for Code...
1
answers
0
votes
805
views
asked 2 years agolg...
Can we set to Password never expires With EC Instance Windows Server 2016 using puppet script?
As per AWS documentation, came to know that With Windows Server 2016 and later, Password never expires...
1
answers
0
votes
719
views
asked 2 years agolg...
I am trying to pull instance Id and other parameters from cloudtrail using ps like so
$results = Find-CTEvent -StartTime (Get-Date).AddMinutes(-30) | ? {$_.EventName -eq...
1
answers
0
votes
305
views
asked 2 years agolg...
Hi,
I try Install-AWSToolsModule AWS.Tools.EC2 has issue.
I have rebuild OS but cant solved
"
PS C:\Windows\System32> Install-Module -Name AWS.Tools.Installer
PS C:\Windows\System32>...
1
answers
0
votes
717
views
asked 2 years agolg...