Skip to content

according to get-help, no parameters of new-object take pipeline input, all versions #6306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jszabo98 opened this issue Jul 19, 2020 · 1 comment
Assignees
Labels
area-ops-issue Area - OPS build & rendering issues

Comments

@jszabo98
Copy link

jszabo98 commented Jul 19, 2020

Website shows:

Accept pipeline input: True

get-help new-object -full

NAME
    New-Object

SYNTAX
    New-Object [-TypeName] <string> [[-ArgumentList] <Object[]>] [-Property <IDictionary>] [<CommonParameters>]

    New-Object [-ComObject] <string> [-Strict] [-Property <IDictionary>] [<CommonParameters>]


PARAMETERS
    -ArgumentList <Object[]>

        Required?                    false
        Position?                    1
        Accept pipeline input?       false
        Parameter set name           Net
        Aliases                      Args
        Dynamic?                     false

    -ComObject <string>

        Required?                    true
        Position?                    0
        Accept pipeline input?       false
        Parameter set name           Com
        Aliases                      None
        Dynamic?                     false

    -Property <IDictionary>

        Required?                    false
        Position?                    Named
        Accept pipeline input?       false
        Parameter set name           (All)
        Aliases                      None
        Dynamic?                     false

    -Strict

        Required?                    false
        Position?                    Named
        Accept pipeline input?       false
        Parameter set name           Com
        Aliases                      None
        Dynamic?                     false

    -TypeName <string>

        Required?                    true
        Position?                    0
        Accept pipeline input?       false
        Parameter set name           Net
        Aliases                      None
        Dynamic?                     false

    <CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see
        about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).


INPUTS
    None


OUTPUTS
    System.Object

ALIASES
    None


REMARKS
    Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.
        -- To download and install Help files for the module that includes this cmdlet, use Update-Help.
        -- To view the Help topic for this cmdlet online, type: "Get-Help New-Object -Online" or
           go to https://go.microsoft.com/fwlink/?LinkID=2096620.

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@sdwheeler
Copy link
Contributor

@jszabo98 Thanks for pointing this out. The source markdown files are correct but there is a problem when rendered to the website. We will investigate this.

@sdwheeler sdwheeler self-assigned this Jul 19, 2020
@sdwheeler sdwheeler added the area-ops-issue Area - OPS build & rendering issues label Jul 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-ops-issue Area - OPS build & rendering issues
Projects
None yet
Development

No branches or pull requests

2 participants