Software Installed on windows servers

Greetings Professionals,

our infrastructure has both linux and windows but i have a requirement to pull the information of IIS services running on windows servers only. is there any command to pull that information and copy it to csv file

Thanks
Prash