This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| <Overview of script> | |
| .DESCRIPTION | |
| <Brief description of script> | |
| .NOTES | |
| Version: 0.1 | |
| Author: qcomer (https://github.com/qcomer) | |
| Last Modified: Thu Jun 20 2024 | |
| Modified By: qcomer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| <Overview of script> | |
| .DESCRIPTION | |
| <Brief description of script> | |
| .NOTES | |
| Version: 0.1 | |
| Author: qcomer (https://github.com/qcomer) | |
| Last Modified: Tue Oct 03 2023 | |
| Modified By: qcomer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| <Overview of script> | |
| .DESCRIPTION | |
| <Brief description of script> | |
| .NOTES | |
| Version: 0.1 | |
| Author: qcomer (https://github.com/qcomer) | |
| Last Modified: Thu Jul 13 2023 | |
| Modified By: qcomer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| <Overview of script> | |
| .DESCRIPTION | |
| <Brief description of script> | |
| .NOTES | |
| Version: 0.1 | |
| Author: qcomer (https://github.com/qcomer) | |
| Last Modified: Wed Jul 05 2023 | |
| Modified By: qcomer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| list=() | |
| # generate user list of users with UID greater than 500 | |
| for username in $(dscl . list /Users UniqueID | awk '$2 > 500 { print $1 }'); do | |
| # Checks to see which usernames are reported as being admins. The | |
| # check is running dsmemberutil's check membership and listing the | |
| # accounts that are being reported as admin users. Actual check is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Set Variables | |
| APIFingerprint="$APIFingerprint" | |
| APIOrganizationID="$APIOrganizationID" | |
| APIUserID="$APIUserID=" | |
| InstallMenubar="$InstallMenubar" | |
| #### Do Not Change these variables #### | |
| LogFileTimeStamp=$(date +"%Y-%m-%d_T%H%M%Z") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [[ "$Install" != "true" ]]; then | |
| echo "Installation of Backup Manager Declined. Exiting Script..." | |
| exit 1 | |
| else | |
| echo "Installation is set to true. Proceeding..." | |
| fi | |
| if [[ -z "$DNSFilter_SiteKey" ]]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Getting the current Device Type from the Model | |
| deviceType=$(sysctl -n hw.model) | |
| # Getting the Serial Number (last 7 characters) | |
| serialNumber=$(system_profiler SPHardwareDataType | awk '/Serial/ {print $4}' | rev | cut -c -7 | rev) | |
| CURRENTNAME=$(defaults read /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName) | |
| # Checking to see if the CS_PROFILE_NAME is being set by Datto RMM | |
| if [[ -z "$CS_PROFILE_NAME" ]]; then | |
| # If Variable is not provided, assign a static value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $Package = '@AppName@' | |
| $Params = '@params@' | |
| if ($Package -like '@AppName*') { | |
| Write-Output 'ERROR: No App Name Set.' | |
| Exit 1 | |
| } else { | |
| $script:logname = "$Package" | |
| } | |
| $LogFileSuffix = "$((Get-Date).ToString('yyyyMMdd_HHmmssz')).log" | |
| function Write-log { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Tests to see if the Threatlocker Service is installed and Running | |
| .DESCRIPTION | |
| Tests to see if the Threatlocker Service is installed and running. | |
| If not, creates a DRMM Alert. | |
| .NOTES | |
| Version: 0.1 | |
| Author: qcomer (https://github.com/qcomer) | |
| Last Modified: Mon Mar 27 2023 |