Questions tagged with AWS Tools for Windows PowerShell
Content language: English
Filter questions
Select tags to filter
Sort by
Sort by most recent
Browse through the questions and answers listed below or filter and sort to narrow down your results.
68 results
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 pow...
1
answers
0
votes
1.3K
views
asked 4 years ago
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 modu...
4
answers
1
votes
2.3K
views
asked 4 years ago
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
1.2K
views
asked 4 years ago
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 d...
1
answers
0
votes
2.8K
views
asked 4 years ago
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 er...
2
answers
0
votes
2.5K
views
asked 4 years ago
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 = "<IPAddr>/32...
1
answers
0
votes
497
views
asked 4 years ago
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 Sig...
1
answers
0
votes
1.5K
views
asked 4 years ago
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 i...
1
answers
0
votes
1K
views
asked 4 years ago
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 "TerminateInstances"}
`
{"ev...
1
answers
0
votes
547
views
asked 4 years ago
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> Install-AWSTool...
1
answers
0
votes
1.3K
views
asked 4 years ago
I want to return the resource/instance ID of a specific instance matching two tags:
`$awsEx = (Get-EC2Tag -Filter @{name='tag:Status';values=""},@{name='tag:Site';values="SITENAME"}).ResourceId`
`$a...
1
answers
0
votes
1.5K
views
asked 4 years ago
Hello,
I am working on a class for cloud security and I am trying to get a Windows Server 2016 EC2 up and running. I have no issues getting the instance built, but I am unable to log in via RDP. When...
1
answers
0
votes
882
views
asked 4 years ago