Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 457 Bytes

File metadata and controls

19 lines (13 loc) · 457 Bytes

PowerShell

Howto convert csv to JSON

    $items = import-csv .\items.csv | ConvertTo-Json > items.json

Count the numbers of lines in a C# codebase

    (gci -include *.cs,*.xaml -recurse | select-string .).Count

Export data from a table from (LocalDb)\MSSQLLocalDB to a file

 bcp GrawSkyDevDb.dbo.InitSondeTable out "C:\CTemp\InitSondeTable.csv" -c -t -S "(localdb)\MSSQLLocalDB" -T