Skip to content

ConvertTo PackageObject

apobekiaris edited this page May 23, 2019 · 3 revisions

schema: 2.0.0

ConvertTo-PackageObject

SYNOPSIS

Converts nuget.exe commands output.

SYNTAX

ConvertTo-PackageObject [-item] <String> [<CommonParameters>]

DESCRIPTION

Converts nuget.exe commands output to a c# object with Id, Name properties.

EXAMPLES

Example 1

PS C:\> nuget list Xpand.XAF.Modules|ConvertTo-Object

Id                                     Version
--                                     -------
Xpand.XAF.Modules.AutoCommit           0.0.27
Xpand.XAF.Modules.CloneMemberValue     1.2.25

PARAMETERS

-item

The nuget.exe output .

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

OUTPUTS

System.Object

NOTES

RELATED LINKS

Star the project if you think it deserves it.

GitHub stars

Fork the project to extend and contribute.

GitHub forks

Clone this wiki locally
You can’t perform that action at this time.