Horje
if data is not available column header should print in output file in powershell Code Example
if data is not available column header should print in output file in powershell
if (-not $DataSet.Tables[0].Rows[0]) {
  ($DataSet.Tables[0].Columns | Select-Object -ExpandProperty ColumnName) -join ',' |
    Set-Content -Path "E:\Users\neerajd\Documents\tethystrader-public-dev-general\src\SQL\Misc\out.csv"
}




Shell

Related
bash if equal Code Example bash if equal Code Example
tr replace Code Example tr replace Code Example
oh my zsh icons not working vscode Code Example oh my zsh icons not working vscode Code Example
/dev/stdin execute remote script with passing args Code Example /dev/stdin execute remote script with passing args Code Example
bash read options from file Code Example bash read options from file Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12