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 | |
# Ubuntu 24.04 LTS Post-Installation Configuration Script | |
# This script configures additional security features and software | |
# for Ubuntu 24.04 LTS laptops using LUKS password-based encryption | |
# ANSI color codes for better readability | |
GREEN='\033[0;32m' | |
BLUE='\033[0;34m' | |
RED='\033[0;31m' |
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 | |
# --------------------------------------------------------------------------- | |
# Device Rename & Hostname Harmoniser for Microsoft Intune | |
# | |
# PURPOSE | |
# Generate a hostname <PREFIX>-<SERIAL> and write it to: | |
# ComputerName | LocalHostName | HostName | NetBIOSName | |
# | |
# SAFEGUARDS | |
# * Pure 7-bit ASCII; no back-slash line continuations. |
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
{ | |
"@odata.context": "https://graph.microsoft.com/beta/$metadata#deviceManagement/deviceConfigurations(assignments())/$entity", | |
"@odata.type": "#microsoft.graph.macOSCustomConfiguration", | |
"@odata.id": "deviceManagement/deviceConfigurations(\u0027cebe527c-54b8-4ff9-be77-c733c0bb1a82\u0027)", | |
"@odata.editLink": "deviceManagement/deviceConfigurations(\u0027cebe527c-54b8-4ff9-be77-c733c0bb1a82\u0027)/microsoft.graph.macOSCustomConfiguration", | |
"id": "cebe527c-54b8-4ff9-be77-c733c0bb1a82", | |
"lastModifiedDateTime@odata.type": "#DateTimeOffset", | |
"lastModifiedDateTime": "2025-06-13T08:10:54.0221755Z", | |
"roleScopeTagIds@odata.type": "#Collection(String)", | |
"roleScopeTagIds": [ |
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
# Script: Export-EntraMailboxesAndGroups.ps1 | |
# Description: This script exports information about shared mailboxes, distribution lists, | |
# Microsoft 365 Groups, and Teams to a CSV file, with individual rows for each member. | |
# It includes handling for ambiguous group names and deduplicates M365 Groups and Teams. | |
# The intent is to process or analyse the resulting CSV in Excel using Pivot Tables. | |
# Author: Jonathan Bourke | |
# Date: 2024-09-24 | |
# Version: 1.8 | |
# Function to check if a module is installed and import it |
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
{ | |
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"functionAppName": { | |
"type": "string", | |
"defaultValue": "[format('func-{0}', uniqueString(resourceGroup().id))]", | |
"metadata": { | |
"description": "The name of the Azure Function app which will connect to Salesforce." | |
} |