Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

#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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Explain How and Why a Standard Cost Is Developed? P897

Answered: 1 week ago

Question

A theory-based prediction is called a(n) .

Answered: 1 week ago