What I'm trying to do is query all of our servers to see if FTP is an installed service. If it is, I want to have it report into a text file to give me the state of the service and its start mode, as ...
Stop retyping PowerShell commands, these 5 cmdlets do the work for you and will save you more time than you realize.