How can I add timestamp into my table when I use Write-DbaDbTableData?
1
vote
2
answers
283
views
I am trying to use one table to store the SQL server disk space checking data by dbatools:
$allservers_PRD | Get-DbaDiskSpace | Write-DbaDbTableData -SqlInstance MySQL2019 -Database SQL_DBA_TASK -Table SQL_DISK_SPACE -AutoCreateTable
How can I add timestamps (what is the checking time) into my table rows as addition column when I use it?
Many thanks,
Asked by DBALUKE HUANG
(439 rep)
Jul 29, 2020, 08:09 PM
Last activity: Sep 6, 2024, 01:07 AM
Last activity: Sep 6, 2024, 01:07 AM