How glued2/public works
Project type and purpose
• This is not a single “application” but rather a toolbox of standalone administrative scripts.
• Purpose: Each script automates a different IT/admin task against external systems (Azure AD, Azure VM Scale Sets, SharePoint, Teams, Linux servers).
File structure
• Top‐level scripts:
• Last-Login-Query.ps1, aad-device-rename.ps1, assign-local-admin-master.ps1, azure-vmss-cmds.ps1, sharepoint-large-previous-versions.ps1, sharepoint-large-previous-version-archive.ps1
• linux-server-backup.sh
• Subfolder “teams/”: contains single-user-federation.ps1
• No “src/tests” separation or build/deployment config—each file is a self-contained utility.
README for additional insights
• Confirms these are “public scripts” for ad-hoc use.
• Highlights only the Teams “single-user-federation” script as an example.
a. Main components
• Script groups (each grouping)
• External services: Azure AD, Azure VMSS, SharePoint Online, Microsoft Teams, Linux Servers
• Admin user / operator
b. Relationships & interactions
• Operator invokes scripts → PowerShell or shell runtime
• Each script authenticates (e.g., via Az Module or SharePoint CSOM) → external service API
• Data flows: query, modify, archive, rename, backup
c. Architectural patterns
• “Utility client” pattern: small, single-responsibility clients talking to cloud services
• No central orchestrator—scripts run independently
d. Key technologies
• PowerShell Az modules, MSOnline module, PnP/CSOM for SharePoint, Teams PowerShell module, SSH/rsync or shell commands for Linux backup