GetFullname.psm1
$FirstName= Read-Host "Please provide your First name" $LastName = Read-Host "Please provide your last name" $Age = Read-Host "What is your Age" $Address= Read-Host "What is your Address" [int]$Contact = Read-Host "What is your Contact number" Function Get-Detail { $Fullname = $FirstName+$LastName Write-Host "Your full name is $Fullname and your age is $Age" } Function Get-Address { Write-Host "Your full Address is $Address and your age is $Contact" } Function Get-FullDetail { Write-Host "Your Name is : $Fullname ,Your Age and Address is $Age and $Address.Your Contavt detail is $Contact" } Function Get-Token { Write-Host "Hope you have enjoyed, This is PSGALLERY Module 2.2.6.6" } |