Read-Host enables you to prompt for input for your functions and scripts. For instance I see a lot of examples of this sort of code:
$group = Read-Host -Prompt 'Group Name'
Get-ADGroupMember -Identity $group
You should only use Read-Host as a last… Read the full text.