-
-
Notifications
You must be signed in to change notification settings - Fork 7
ConvertTo PackageObject
apobekiaris edited this page Sep 4, 2020
·
8 revisions
Converts nuget.exe commands output.
ConvertTo-PackageObject [[-item] <Object>] [<CommonParameters>]
Converts nuget.exe commands output to a c# object with Id, Name properties.
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
Convert the output of the nuget list command into well formed object.
The nuget.exe output .
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.