You can also use this little helper function if you run scripts every day and want to make sure they don't do anything on weekends:
function is-Weekend { (Get-Date).DayOfWeek -gt 5 }
You can use it like this:
If (is-Weekend) { 'no service at weekends' } else { 'Heya, time to work' }