-
This commit is contained in:
parent
e933781b0e
commit
06f38e5766
1 changed files with 8 additions and 1 deletions
|
|
@ -2,9 +2,16 @@ $ScriptTitle = "Cleanup Script"
|
||||||
$WebhookURL = "https://n8n.questcomputers.be/webhook-test/8fde21e2-937f-4142-b983-6e1606e29335"
|
$WebhookURL = "https://n8n.questcomputers.be/webhook-test/8fde21e2-937f-4142-b983-6e1606e29335"
|
||||||
$RemoteScriptURL = "https://git.questcomputers.be/quest-scripts/scripts/raw/branch/main/cleanup.ps1"
|
$RemoteScriptURL = "https://git.questcomputers.be/quest-scripts/scripts/raw/branch/main/cleanup.ps1"
|
||||||
|
|
||||||
Add-Type -AssemblyName System.Windows.Forms
|
$LogDirectory = "C:\Quest"
|
||||||
|
|
||||||
|
# Check if C:\Quest exists...
|
||||||
|
if (-not (Test-Path $LogDirectory)) {
|
||||||
|
New-Item -Path $LogDirectory -ItemType Directory -Force | Out-Null
|
||||||
|
}
|
||||||
|
|
||||||
# Form
|
# Form
|
||||||
|
Add-Type -AssemblyName System.Windows.Forms
|
||||||
|
|
||||||
$form = New-Object System.Windows.Forms.Form
|
$form = New-Object System.Windows.Forms.Form
|
||||||
$form.Text = $ScriptTitle
|
$form.Text = $ScriptTitle
|
||||||
$form.Size = New-Object System.Drawing.Size(320, 160)
|
$form.Size = New-Object System.Drawing.Size(320, 160)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue