You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Name : dbatools
Path : C:\Program Files\WindowsPowerShell\Modules\dbatools\0.9.771\dbatools.psd1
Version : 0.9.771
Name : dbatools
Path : C:\Program Files\WindowsPowerShell\Modules\dbatools\0.9.757\dbatools.psd1
Version : 0.9.757
Environmental data
Windows Server 2016 on EC2 instance
Errors Received
WARNING: [11:04:30][Get-DbaComputerSystem] myEc2Instance was not found to be an EC2 instance. Verify http://169.254.169.254 is accessible on the computer.
Steps to Reproduce
Run Get-DbaComputerSystem with -IncludeAWS switch on an EC2 instance.
PowerShell version:
Name Value
PSVersion 5.1.17134.590
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17134.590
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
dbatools Module version:
Name : dbatools
Path : C:\Program Files\WindowsPowerShell\Modules\dbatools\0.9.771\dbatools.psd1
Version : 0.9.771
Name : dbatools
Path : C:\Program Files\WindowsPowerShell\Modules\dbatools\0.9.757\dbatools.psd1
Version : 0.9.757
Environmental data
Windows Server 2016 on EC2 instance
Errors Received
WARNING: [11:04:30][Get-DbaComputerSystem] myEc2Instance was not found to be an EC2 instance. Verify http://169.254.169.254 is accessible on the computer.
Steps to Reproduce
Run Get-DbaComputerSystem with -IncludeAWS switch on an EC2 instance.
Expected Behavior
I would expect to see AmiID, IamRoleArn, InstanceId, InstanceType, AvailabilityZone, PublicHostName when using the -IncludeAws switch
Actual Behavior
No AWS information is returned. It appears as if the Function Invoke-Command2 is no longer in dbatools version 0.9.771 as i couldn't find it.
The text was updated successfully, but these errors were encountered: