You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Converts a DataRow object to a PSObject, Hashtable, or single value.
.INPUTS
System.Data.DataRow with fields to convert into an object with properties or
into a hash with key/value pairs.
.OUTPUTS
System.Management.Automation.PSObject
or System.Object[] if -AsValues is specified
or System.Collections.Specialized.OrderedDictionary if -AsDictionary is specified
.FUNCTIONALITY
Database
.EXAMPLE
Invoke-Sqlcmd "select top 3 ProductID, Name from Production.Product" -ServerInstance ServerName -Database AdventureWorks |ConvertFrom-DataRow.ps1 |ConvertTo-Html