IIS Virtual Directory Discovery Pattern 'nicename' information

DP_3105
Tera Contributor

Hi community can anyone help me with this step present in IIS Virtual Directory discovery pattern. Here in step 4 they are setting a parameter  as 'nicename' I am not able find where it is coming from?

 

 

Screenshot 2024-02-27 105418.png 

3 REPLIES 3

AJ-TechTrek
Giga Sage
Giga Sage

Hi @DP_3105 ,

 

As per the screenshot, As of now they are trying to put the Value in $nicename variable if above mentioned conditions are true.

 

That is coming from $parent.iis.websites_settings[1].ServerComment value.

 

Also this is just to validate the @$nicename variable should not be blank, if you see next steps for those only.

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thanks

AJ

Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/

ServiceNow Community Rising Star 2024

Hi @AJ-TechTrek 

 

please help me on following query:

i would want to extend following pattern"IIS Virtual Directory" to retrieve the all details of web application which hosted on azure plaftform  such as version,category  , some custom fields etc, for retrieve all details of  web application i have created "details "under extension , my queries what command to write retrieve all details   and operation i have choosen was " parse command output " and 1.Set Command Detailser field , i have entered following command " get-webapplication -name IncidentEntry.aspx" , i got error attached screenshot below , my queries which command would be used for get web application attributes which hosted on azure platform. please if anyone knew, please help me on this.

anitha0887_2-1714649731935.png

 

anitha0887_3-1714649741359.png

anitha0887_4-1714649763892.png

 

 

 

 

Hi folks,

if possible can you explain why we use IIS Virtual Directory discovery pattern.what is its purpose in service mapping