Question: Create a PowerShell function named Invoke-TargetHost that allows user to perform the following tasks: create a file named networkInformation.txt. Invoke the 'Test-Connection' cmdlet for target
Create a PowerShell function named Invoke-TargetHost that allows user to perform the following tasks: create a file named networkInformation.txt. Invoke the 'Test-Connection' cmdlet for target names including www.bing.com, www.google.com, www.jhu.edu, www.cbs.com and output the result into networkInformation.txt file. (10 pts)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
