****
*
*
*
*







*
*
                                      
*
*
Windows Server



    

Techniques to detect the installed roles on a 2008 server    

*
*

*
*

Techniques to detect the installed roles on a 2008 server


Categories:


Tags:


Dec
27



 
 
  

First:

If you execute the following command:

> servermanagercmd.exe -query roles.xml

An XML file of all the roles and features installed will be created.  You could then parse that file to determine what roles and features are installed.

 
 
 
 

Second:

We can utilize WMI for the same information:

Win32_ServerFeature Class

The Win32_ServerFeature class represents the features installed on a computer running the Windows Server 2008 or later server operating system. This class can be used by developers and administrators who need to automate the process of determining the features installed on a set of server computers. Instances of this class are not available on client computers.

http://msdn.microsoft.com/en-us/library/cc280268(VS.85).aspx

 
 
 



No TrackBacks

TrackBack URL: http://www.skar.us/site/mt-tb.cgi/2772

Leave a comment








*
*

administrator
Author Bio          ★★★★★

Author Name:         administrator
Author Location:    India
Author Rank:          Writer
Author Status:        
The Green leave stands!!


*
*
*
*
****



*****



    Desktop
  • eBooks
  • Games
  • Softwares
  • Tools
  • Tweaks
  • Wallpapers
  • Warez
    PDA
  • Games
  • Tools
  • Wallpapers
    System Administration
  • dll Center
  • Scripts
  • Tools
  • .extensions database
  • Write-up
    more...
  • Download Database
  • Jobs
  • Lists
  • Polls
  • Glossary

01000011 01110010 01100001 01100011 01101011 01111010 01101000 01100001 01100011 01101011