Question: #BuggyScript1.ps1 written on 10/27/14 #A script to debug in PowerShell ISE Initialization #Initializing variables $computers = DC1, W8-Client , W7-Client $choice = Y While ($choice

#BuggyScript1.ps1 written on 10/27/14 #A script to debug in PowerShell ISE Initialization #Initializing variables $computers = "DC1", "W8-Client , "W7-Client"" $choice = "Y" While ($choice = "Y") { foreach ($computer in $computers} { Get-CIMInstance Win32_ComputerSystem -ComputerName $computers } Write-Host "$computers" -ForegrundColor yellow -BackgroundColor DrkBlue $choices = Read-Host -Prompt "Shall we do that again (Y/N" }

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!