https://github.com/vtfk/tqm-user-export
https://github.com/vtfk/tqm-user-export
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vtfk/tqm-user-export
- Owner: vtfk
- Created: 2021-02-19T13:37:06.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-15T11:13:01.000Z (9 months ago)
- Last Synced: 2025-01-23T12:31:52.895Z (4 months ago)
- Language: PowerShell
- Size: 66.4 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TQM User export
## Setup
1. Create a `envs.ps1`
1. Fill it with:
```PowerShell
$papertrailConfig = @{ # Optional
Server = ""
Port =
HostName = ""
Level = "ERROR" # papertrail logging will be activated from this log level and up
}$sftp = @{
HostName = "sftp.server.no"
UserName = "username"
Password = "password"
SshHostKeyFingerprint = "ssh-rsa 4096 ssh-fingerprint"
}$tqmConfig = @{
Firmakode = "firmakoden din"
TeamsWebhook = "https://vtfk.webhook.office.com/webhookb2/blablabla" # Sends teams webhook on logger error level
}
```## Usage
1. From a PowerShell prompt
1. `.\Start-UserExport.ps1`## Start-ScriptFile.ps1
This will file be launched by a scheduled task. ~~Only when there's one or more file(s) at the `$folder` location, `Start-UserExport.ps1` will be launched.~~ Whenever you set it to run (TQM likes around midnight)