Sample-Module.psm1
function Get-Info { $sampleObj = New-Object -TypeName psobject $sampleObj | Add-Member -MemberType NoteProperty -Name cloudProvider -Value 'Azure' return $sampleObj } Export-ModuleMember -Function Get-Info $LASTEXITCODE = 0 |