Question: 1 8 - 6 You wish to use a variable to return the number of guests at a banquet. You set the $guests variable to

18-6 You wish to use a variable to return the number of guests at a banquet. You set the $guests variable to 501 using $guests =501.
Which TWO of the following commands will correctly report the number of guests? (Select TWO)
Group of answer choices
Write-host Today there are $guests guests.
Write-host "Today there are $guests guests."
"Today there are `$guests guests"
Write-host 'Today there are $guests guests.'

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!