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
| #Requires -RunAsAdministrator | |
| $ErrorActionPreference = "Stop" | |
| Write-Output "Starting aggressive Australian language and regional configuration..." | |
| # --- SYSTEM LEVEL --- | |
| Write-Output "Setting system locale to English (Australia)..." | |
| Set-WinSystemLocale -SystemLocale en-AU | |
| Write-Output "System locale set to en-AU (reboot required)." |
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
| #Requires -RunAsAdministrator | |
| <# | |
| Purpose: | |
| Standardise Windows regional behaviour to English (Australia) with minimal impact. | |
| Key Commands | |
| Set-WinSystemLocale -SystemLocale en-AU | |
| Set-Culture -CultureInfo en-AU | |
| Set-WinHomeLocation -GeoId 12 |
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
| ################################################################################ | |
| # MIT License | |
| # | |
| # Copyright (c) 2024 Microsoft and Contributors | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software 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
| ################################################################################ | |
| # MIT License | |
| # | |
| # Copyright (c) 2024 Microsoft and Contributors | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software 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
| <# | |
| =============================================================== | |
| Wi-Fi Profile Manager Script (Windows, PowerShell) | |
| =============================================================== | |
| WHAT THIS SCRIPT DOES: | |
| 1. Lists all saved Wi-Fi profiles on the system. | |
| 2. Prompts the user (y/n) to delete each one individually. | |
| 3. Displays a list of the remaining profiles. |
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 | |
| Applies Adobe Acrobat DC FeatureLockdown registry keys via Intune. | |
| .DESCRIPTION | |
| This script configures specific FeatureLockdown registry settings to optimise Adobe Acrobat DC | |
| for enterprise deployment using the Universal Installer. | |
| It: | |
| - Enforces Enhanced Security (Reduced Mode) |
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 | |
| This script manages DNS records for specified domains on Cloudflare. | |
| .DESCRIPTION | |
| The script performs the following tasks: | |
| - Retrieves the Zone ID for each domain using Cloudflare’s API. | |
| - Deletes all existing DNS records for each domain. | |
| - Adds a predefined set of DNS records (A, TXT, and DKIM) to each domain. |
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
| # Restart-ComputerWithTimeCheck.ps1 | |
| # Description: This script will restart the computer using the /g option, | |
| # but only if the current system time is between 1:00 AM and 3:00 AM. | |
| # List of Logged-in Users and Sessions | |
| Write-Host "======================================" -ForegroundColor Yellow | |
| Write-Host "Logged-in Users:" -ForegroundColor White | |
| Write-Host "--------------------------------------" -ForegroundColor Yellow | |
| query user |
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
| # This script syncs a device with intune using powershell. | |
| # This can be pushed with RMM and avoids the dreaded "remote wipe" and "remote sync" buttons being mixed up. | |
| # Source: https://oofhours.com/2024/03/30/when-does-a-windows-client-sync-with-intune/ | |
| [Windows.Management.MdmSessionManager,Windows.Management,ContentType=WindowsRuntime] | |
| $session = [Windows.Management.MdmSessionManager]::TryCreateSession() | |
| $session.StartAsync() |
NewerOlder