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.
I am attempting to create a Powershell Lambda, which runs this script to alert AD users of expiring passwords via SES:
#Requires –Modules ActiveDirectory
#Requires -Modules...
1
answers
0
votes
516
views
asked 2 years agolg...
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
457
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
428
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
1417
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
745
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
626
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
2381
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
1768
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
291
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
828
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
744
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
320
views
asked 2 years agolg...