While working with the community scripts, I noticed two of them have invalid GUIDs. These are 1 character longer than regular GUIDs. Since changing the GUID will cause the script to disappear for anyone using it, maybe add the scripts with valid GUIDs and rename the existing scripts with a warning.
{
"guid": "5a60c13b-1882-4a92-bdfb-6dd1f6a11dd14",
"filename": "Win_Windows_Update_RevertToDefault.ps1",
"submittedBy": "https://github.com/silversword411",
"name": "Windows Update - Re-enable Microsoft managed Windows Update",
"description": "TRMM agent will set registry key to disable Windows Auto Updates. This will re-enable Windows standard update settings",
"shell": "powershell",
"category": "TRMM (Win):Updates",
"supported_platforms": [
"windows"
],
"default_timeout": "90"
}
{
"guid": "6e27d5341-88fa-4c2f-9c91-c3aeb1740e85",
"filename": "Win_User_EnableDisable.ps1",
"submittedBy": "https://github.com/silversword411",
"name": "User - Enable or disable a user",
"description": "Used to enable or disable local user",
"syntax": "-Name <string>\n-Enabled { yes | no }",
"shell": "powershell",
"supported_platforms": [
"windows"
],
"category": "TRMM (Win):User Management"
}
As a side note, the kernel can provide a random GUID.
$ cat /proc/sys/kernel/random/uuid
While working with the community scripts, I noticed two of them have invalid GUIDs. These are 1 character longer than regular GUIDs. Since changing the GUID will cause the script to disappear for anyone using it, maybe add the scripts with valid GUIDs and rename the existing scripts with a warning.
{ "guid": "5a60c13b-1882-4a92-bdfb-6dd1f6a11dd14", "filename": "Win_Windows_Update_RevertToDefault.ps1", "submittedBy": "https://github.com/silversword411", "name": "Windows Update - Re-enable Microsoft managed Windows Update", "description": "TRMM agent will set registry key to disable Windows Auto Updates. This will re-enable Windows standard update settings", "shell": "powershell", "category": "TRMM (Win):Updates", "supported_platforms": [ "windows" ], "default_timeout": "90" }{ "guid": "6e27d5341-88fa-4c2f-9c91-c3aeb1740e85", "filename": "Win_User_EnableDisable.ps1", "submittedBy": "https://github.com/silversword411", "name": "User - Enable or disable a user", "description": "Used to enable or disable local user", "syntax": "-Name <string>\n-Enabled { yes | no }", "shell": "powershell", "supported_platforms": [ "windows" ], "category": "TRMM (Win):User Management" }As a side note, the kernel can provide a random GUID.