Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8972095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:07:52+00:00 2026-06-15T18:07:52+00:00

wwwroot> $nsmgr.gettype() IsPublic IsSerial Name BaseType ——– ——– —- ——– True False XmlNamespaceManager System.Object

  • 0
wwwroot> $nsmgr.gettype()

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     False    XmlNamespaceManager                      System.Object

wwwroot> Get-Member -InputObject $nsmgr

   TypeName: System.Xml.XmlNamespaceManager

wwwroot> $nsmgr | Get-Member

   TypeName: System.String

It seems like Get-Member is type-converting to a String in first Get-Member call, but this seems to be very strange behavior for a Cmdlet like Get-Member.

I’ve read How to use PowerShell Get-Member cmdlet but I don’t believe that’s the same issue.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T18:07:54+00:00Added an answer on June 15, 2026 at 6:07 pm

    XmlNamespaceManager implements IEnumerable so PowerShell will output the items contained within the XmlNamespaceManager down the pipeline. To prevent that you can use the comma operator:

    ,$nsmgr | Get-Member
    

    This will create a simple array wrapper around the XmlNamespaceManager so that it gets propagated down the pipe instead of its contents.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This works: <cfdirectory action=list name=qry directory=C:\inetpub\wwwroot\Atlas\ > </cfdirectory> <cfdump var=#qry#> So I know that
How to get the path that usually looks like %SystemDrive%\inetpub\wwwroot ? I guess it's
If I run the command in powershell: C:\Get-Website it outputs Name ID State Physical
How can I get all (physical) wwwroot directories (home directories) of an IIS with
I have pasted my website's folder in wwwroot folder of IIS. now when I
I have this JSON (which validates according to JSONLint ): [ { "BugCount":"2", "BugTitle":"C:\\INETPUB\\WWWROOT\\CLUBREADY2\\TRAINERS\\../Connections/LTC.asp",
If the website's physical directory is not in C:\inetpub\wwwroot and is instead in C:\MyProjects\Project1
I have: 1. inetpub/wwwroot/ProjectName/Application.cfc 2. inetpub/wwwroot/ProjectName/Admin/Application.cfc I want #2 to extend #1 and override
On my Windows 7 computer, c:\inetpub\wwwroot is not updateable unless I turn off User
I have received this error Element CUSTOMERID is undefined in CLIENT. D:\Inetpub\wwwsitecom\wwwroot\rders.cfm:296 on a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.