-
-
Notifications
You must be signed in to change notification settings - Fork 7
ConvertTo PackageObject
apobekiaris edited this page May 18, 2019
·
8 revisions
Converts nuget.exe commands output.
ConvertTo-PackageObject [-item] <String> [<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
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.