This gist shows how to allow an Exchange on-prem user to send email as a distribution group, dynamic distribution group, or mail-enabled security group.
Example:
User: john.smith@contoso.com
Group: sales@contoso.com
| #requires -Version 5.1 | |
| #requires -RunAsAdministrator | |
| <# | |
| .SYNOPSIS | |
| Registers a Windows Scheduled Task for Update-ExchangeCertificate.ps1. | |
| .DESCRIPTION | |
| Run this once from an elevated Windows PowerShell prompt. You will be asked | |
| for the credential under which the task should run. Use a dedicated domain |
| #requires -Version 5.1 | |
| #requires -RunAsAdministrator | |
| <# | |
| .SYNOPSIS | |
| Automatically selects and applies the newest valid public certificate to | |
| Microsoft Exchange Server services and SMTP connectors. | |
| .DESCRIPTION | |
| This script: |
Zero-touch install / daily self-update via cron.
portainer/portainer-ce:latest imageportainer_dataThis small batch script applies a few Outlook/Exchange registry values that can help stop repeated credential prompts in on-premises Exchange environments.
It sets these values for the current user:
A tiny PowerShell snippet that removes the “blocked” Mark-of-the-Web (Zone.Identifier) flag from every file inside a folder tree—perfect after unzipping archives downloaded from the internet.
Get-ChildItem -Path "C:\Your\Path\Here" -Recurse -File | Unblock-FileOne-liner & script to stop (and remove) all Compose projects that live in sub-folders.
find . -type f \( -name "docker-compose.yml" -o -name "compose.yaml" \) \
-execdir sh -c 'echo "↓ Stopping in $(pwd)"; docker compose down' \;| // ==UserScript== | |
| // @name StoresAce Product Scraper — CSV Export with UI (parallel per-item) | |
| // @namespace https://supermarsx.github.io/userscripts | |
| // @version 1.1.0 | |
| // @description Scrape all product data and export a flattened CSV. Now requests per-item HTML, KPIs, composition (and optionally cardex) IN PARALLEL so each product is fetched “all at once”. Includes overlay UI with Start/Cancel, progress bar, retry/backoff, and failure list. | |
| // @author Supermarsx | |
| // @match https://COMPANYID.storesace.com/* | |
| // @run-at document-end | |
| // @grant none | |
| // ==/UserScript== |