examplescripts/onboarding.ps1

Param (
    [parameter(Mandatory)][string] $FirstName,
    [parameter(Mandatory)][string] $LastName,
    [parameter(Mandatory)][string] $DisplayName

    )

Write-Progress -Activity "Staring Onboarding Process" -PercentComplete 5
Write-Host "Creating User $DisplayName..."
Start-Sleep -Seconds 5

Write-Progress -Activity "Active Directory Configuration" -PercentComplete 50
Write-Host "Doing Active Directory Stuff..."
Start-Sleep -Seconds 60

Write-Progress -Activity "Exchange Configuration" -PercentComplete 75
Write-Host "Setting Up Exchange Mailbox..."
Start-Sleep -Seconds 60

Write-Progress -Activity "File Share Permissions" -PercentComplete 75
Write-Host "Populating File Share Folders/Permissions..."
Start-Sleep -Seconds 5

Write-Progress -Activity "Notifications" -PercentComplete 75
Write-Host "Sending final Notifications"
Start-Sleep -Seconds 5