1 回答
- 最新
- 投票最多
- 评论最多
0
Found it eventually for Powershell:
Import-Module 'AWSPowerShell' $FSx = id of fsx $FsxSystem = Get-FSXFileSystem -FileSystemId $FSx $FSxDNSName = $FsxSystem.DNSName $FSxRemoteDNSName = $FsxSystem.WindowsConfiguration.RemoteAdministrationEndpoint Write-Host $FSxDNSName Write-Host $FSxRemoteDNSName
Note you need the role to be able to describe the filesystem e.g. by adding the permision AmazonFSxReadOnlyAccess to the role the server is running as.
已回答 1 年前
相关内容
- AWS 官方已更新 1 年前