Hi All,
I created a script tp look up error 10003 in in event viewer log name ‘Microsoft-Windows-Dhcp-Client/admin’ but when run the script i get back no information, below is the script.
I would appreciate any help
I don’t know if you introduced the syntax errors while pasting the code here but if not you must have had error messages …
Your loop variable is not a variable. It misses the dollar sign. Inside your loop you’re not using your loop variable you’re using the array with the computer names from your input file. And you’re using parenthesis for your loop script block instead of curly braces.