locked
IIS 8.5 Web Management Service Management Service Menu RRS feed

  • Question

  • User2123433127 posted

    Using PowerShell, How to I retrieve (Get) all the Menu configuration settings.  For Example:

    1) If the Enable remote connections is enable (Checked)

    2 ) If the 'IP Address Restrictions <Access for unspecified clients:> is Allow or Deny? If Allow

    pulling out the Mode and Requestor (IPAddr & SubnetMask)?

    Any help using powershell to get this information is greatly appreciated.

    Thanks in advanced.

    Larry

    Wednesday, October 7, 2020 6:50 PM

All replies

  • User1771714573 posted

    Hi lpsunaz@cox.net,

    According to what you described, it is more difficult to make powershell output like that.

    Since the management service is different from other modules, the relevant section cannot be found in the applicationHost after setting through the GUI. It cannot be read through the Get-IISConfig command of powershell. The only thing related to it is <management>, and this section is only in the administration.config file. 

    So I provide you with another method, it does not fully meet your requirements, but is the best method I can think of.

    To check the remote connection is start.

    Get-Service "WMSVC"


    To see the allow ip

    Get-WebConfiguration system.webServer/security/*

    Best regards,

    Brucz

    Thursday, October 8, 2020 8:11 AM