I want to do whatever follows best practices and less typing. The reason I like to use the -ComputerName “ComputerList” is because I like to tell PowerShell to create and open up a blank ComputerList.txt file located within the user’s Temp dir and then they can fill it out, save and close it. Then they will just click on an “OK” button on some pop up box to proceed. Then PowerShell will begin processing the the ComputerList.txt file. I have done this in my other scripts, but I keep having to use redundant code and it’s getting really old. I want to start utilizing Advanced Functions more, but I new to them so this is a learning curve for me. Would it be possible to give me an example how I would go about doing what you mentioned above as in “rig your computer name parameter to accept pipeline input”?
Thanks Don