R

Ram Sharma • 193.86K Points
Coach

Q. Which of the following code list all the log files in Window?

  • (A) snippet Clear-Host $Directory = "C:\Windows\"` -ErrorAction SilentlyContinue
  • (B) snippet Clear-Host $Files = Get-Childitem $Directory -recurse -Include *.log ` -ErrorAction SilentlyContinue
  • (C) snippet Clear-Host $Directory = "C:\Windows\" $Files = Get-Childitem $Directory -recurse -Include *.log ` -ErrorAction SilentlyContinue
  • (D) All of the mentioned

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.