8 years ago
PropertySource - Windows Services
WARNING - This propertysource pulls a list of all Windows services installed. This does not filter the services to only show running or auto-starting services. Useful for auditing, auto-grouping,...
This will be something I will be implementing across the board, but it won't be listing all services. Instead, the output will only display relevant services to automatically detect the type of server. For example - using an if statement to decide that the server must be a Domain Controller because it is running Active Directory Domain Services, Active Directory Web Services, and DFS Replication. The output would then be something like "Server.Role=Domain Controller" or "Server.Role=[Application] Web Server".