mirror of
https://github.com/helpsystems/EFTScriptSamples.git
synced 2025-07-01 05:11:52 -05:00
created folder structure
This commit is contained in:
1
sqllite/export last connected time and home folders.txt
Normal file
1
sqllite/export last connected time and home folders.txt
Normal file
@ -0,0 +1 @@
|
||||
SELECT name, NameLowered, json_extract(GeneralTab, '$.HomeFolder'), datetime(json_extract(Stats, '$.LastConnectedTime'), 'unixepoch', 'localtime')FROM Client;
|
10
sqllite/inject local admin.txt
Normal file
10
sqllite/inject local admin.txt
Normal file
@ -0,0 +1,10 @@
|
||||
INSERT INTO "main"."Admin" ("id", "Name", "NameLowered", "Type", "LastActiveTime", "PasswordHash", "PasswordIsTemporary", "PasswordChangedTime", "PasswordHistory", "UnlockTime", "InvalidLoginAttempts", "Permissions") VALUES (X'b76a1d7bc3ad5ac4863606ce71ba3af3', 'Local computer\Administrators', 'local computer\administrators', '2', '1608331504', '', '1', '1608331504', '[]', '0', '[]', '{
|
||||
"ACLs": [],
|
||||
"Level": "Server",
|
||||
"ManageCom": true,
|
||||
"ManagePersonalData": true,
|
||||
"ManageReporting": true,
|
||||
"RestAccess": true,
|
||||
"RestAdminRole": "server_full_access",
|
||||
"SettingsTemplates": []
|
||||
}');
|
1
sqllite/updateawelogpaths.txt
Normal file
1
sqllite/updateawelogpaths.txt
Normal file
@ -0,0 +1 @@
|
||||
UPDATE AdvancedWorkflow set settings = json_set(AdvancedWorkflow.Settings, '$.LogDir', '\\file.core.windows.net\gsbslogs\AWE\')
|
Reference in New Issue
Block a user