private/write/Write-ConnectionProfile.ps1
function Write-ConnectionProfile { [CmdletBinding(PositionalBinding = $true)] param( [Parameter(Mandatory = $true)] [psobject] $AwsProfile ) Write-Host "Account : $($AwsProfile.Account)" Write-Host "Region : $($AwsProfile.Region)" Write-Host "User : $($AwsProfile.UserArn)" } |