Published: 2021.09.19
Category: PowerShell
Transfers
Project saves predefined transfers to the database.
Following documentation is not enough for running application.
- Print-AllTransfers – Displays all transfers it has switch $SaveToDatabase. Which additionally do the same as Save-AllTransfersToDB
- Save-AllTransfersToDB – Saves all transfers to Database.
Module depends on the MasterConfiguration 3 keys are neded:
"TransfersSqlInstance":".\\sql2019", "TransfersDatabse":"Transfers", "TransfersCategories":"Proxy,Accout"
In table unique constraint cosists of – Date – Category – Name
Before inserting data into the database, first rows according to unique constraint are removed.