# xr71mk9/random-powershell-work architecture

> Architecture diagram of the GitHub repository xr71mk9/random-powershell-work, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/xr71mk9/random-powershell-work
- Repository: https://github.com/xr71mk9/random-powershell-work

## Overview

This repository is a collection of independent PowerShell scripts, not a single application with a shared user-to-result workflow. Its README describes a miscellany of scripts in varying states of development. The map highlights representative operational domains and integrations; no call relationships are inferred because source excerpts were not provided.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_identity["Identity and access"]
  node_ad_provision["AD user provisioning"]
  node_ad_bulk["Bulk user creation"]
  node_ad_inactive["Inactive user discovery"]
  node_local_access["Local group membership"]
end

subgraph group_cloud["Cloud and virtualization"]
  node_azure_snapshot["Azure VM snapshots"]
  node_azure_restore["Azure snapshot restore"]
  node_azure_vm["Azure VM creation"]
  node_aws_app["Elastic Beanstalk app"]
  node_hyperv_checkpoint["Hyper-V checkpoint"]
  node_vmware_backup["VMware backup<br/>[Backup-VM.ps1]"]
end

subgraph group_operations["Windows operations"]
  node_dhcp_leases["DHCP lease lookup<br/>[Get-DhcpLease.ps1]"]
  node_dns_test["DNS resolution test"]
  node_server_report["Server uptime report"]
  node_disk_cleanup["Windows disk cleanup"]
  node_sccm_deploy["SCCM deployment test"]
end

subgraph group_integrations["External integrations"]
  node_campfire["Campfire messaging"]
  node_twitter["Twitter API module<br/>[TwitAPI.psm1]"]
  node_ansible["Ansible module<br/>[Ansible.psm1]"]
  node_sharepoint_sync["Dell order sync<br/>[Sync-DellOrder.ps1]"]
end

subgraph group_data["Data and files"]
  node_sql_sync["CSV to SQL sync<br/>[Sync-CsvToSql.ps1]"]
  node_sftp["SFTP file retrieval"]
  node_invoice["Invoice generation<br/>[New-Invoice.ps1]"]
end

click node_ad_provision "https://github.com/xr71mk9/random-powershell-work/blob/master/ActiveDirectory/New-AdUserProvision.ps1"
click node_ad_bulk "https://github.com/xr71mk9/random-powershell-work/blob/master/ActiveDirectory/Bulk-AD-User-Creation.ps1"
click node_ad_inactive "https://github.com/xr71mk9/random-powershell-work/blob/master/ActiveDirectory/Get-Inactive-Ad-Users.ps1"
click node_local_access "https://github.com/xr71mk9/random-powershell-work/blob/master/Local%20Account%20Management/Add-UserToLocalGroup.ps1"
click node_azure_snapshot "https://github.com/xr71mk9/random-powershell-work/blob/master/Azure/Create-AzureVMSnapshot.ps1"
click node_azure_restore "https://github.com/xr71mk9/random-powershell-work/blob/master/Azure/Restore-AzureVMSnapshot.ps1"
click node_azure_vm "https://github.com/xr71mk9/random-powershell-work/blob/master/Azure/New-AzureRmDemoVm.ps1"
click node_aws_app "https://github.com/xr71mk9/random-powershell-work/blob/master/AWS/Elastic%20Beanstalk/New-AwsBeanstalkApp.ps1"
click node_hyperv_checkpoint "https://github.com/xr71mk9/random-powershell-work/blob/master/Hyper-V/Checkpoint-OnlineVM.ps1"
click node_vmware_backup "https://github.com/xr71mk9/random-powershell-work/blob/master/VMware/Backup-VM.ps1"
click node_dhcp_leases "https://github.com/xr71mk9/random-powershell-work/blob/master/DHCP/Get-DhcpLease.ps1"
click node_dns_test "https://github.com/xr71mk9/random-powershell-work/blob/master/DNS/Test-DnsNameResolution.ps1"
click node_server_report "https://github.com/xr71mk9/random-powershell-work/blob/master/Inventorying-Reporting%20Tools/Get-ServerUptimeReport.ps1"
click node_disk_cleanup "https://github.com/xr71mk9/random-powershell-work/blob/master/File-Folder%20Management/Invoke-WindowsDiskCleanup.ps1"
click node_sccm_deploy "https://github.com/xr71mk9/random-powershell-work/blob/master/SCCM/Start-CMApplicationDeploymentTest.ps1"
click node_campfire "https://github.com/xr71mk9/random-powershell-work/blob/master/APIs/PostMessageToCampfire.ps1"
click node_twitter "https://github.com/xr71mk9/random-powershell-work/blob/master/APIs/TwitAPI.psm1"
click node_ansible "https://github.com/xr71mk9/random-powershell-work/blob/master/Ansible/Ansible.psm1"
click node_sharepoint_sync "https://github.com/xr71mk9/random-powershell-work/blob/master/Sharepoint/Order%20Sync/Sync-DellOrder.ps1"
click node_sql_sync "https://github.com/xr71mk9/random-powershell-work/blob/master/Database-Datasets/Sync-CsvToSql.ps1"
click node_sftp "https://github.com/xr71mk9/random-powershell-work/blob/master/File-Folder%20Management/Get-FileViaSftp.ps1"
click node_invoice "https://github.com/xr71mk9/random-powershell-work/blob/master/Random%20Stuff/New-Invoice/New-Invoice.ps1"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_ad_provision,node_ad_bulk,node_ad_inactive,node_local_access toneBlue
class node_azure_snapshot,node_azure_restore,node_azure_vm,node_aws_app,node_hyperv_checkpoint,node_vmware_backup toneAmber
class node_dhcp_leases,node_dns_test,node_server_report,node_disk_cleanup,node_sccm_deploy toneMint
class node_campfire,node_twitter,node_ansible,node_sharepoint_sync toneRose
class node_sql_sync,node_sftp,node_invoice toneIndigo
```

## Components

### Identity and access

- [AD user provisioning](https://github.com/xr71mk9/random-powershell-work/blob/master/ActiveDirectory/New-AdUserProvision.ps1): `ActiveDirectory/New-AdUserProvision.ps1`
- [Bulk user creation](https://github.com/xr71mk9/random-powershell-work/blob/master/ActiveDirectory/Bulk-AD-User-Creation.ps1): `ActiveDirectory/Bulk-AD-User-Creation.ps1`
- [Inactive user discovery](https://github.com/xr71mk9/random-powershell-work/blob/master/ActiveDirectory/Get-Inactive-Ad-Users.ps1): `ActiveDirectory/Get-Inactive-Ad-Users.ps1`
- [Local group membership](https://github.com/xr71mk9/random-powershell-work/blob/master/Local%20Account%20Management/Add-UserToLocalGroup.ps1): `Local Account Management/Add-UserToLocalGroup.ps1`

### Cloud and virtualization

- [Azure VM snapshots](https://github.com/xr71mk9/random-powershell-work/blob/master/Azure/Create-AzureVMSnapshot.ps1): `Azure/Create-AzureVMSnapshot.ps1`
- [Azure snapshot restore](https://github.com/xr71mk9/random-powershell-work/blob/master/Azure/Restore-AzureVMSnapshot.ps1): `Azure/Restore-AzureVMSnapshot.ps1`
- [Azure VM creation](https://github.com/xr71mk9/random-powershell-work/blob/master/Azure/New-AzureRmDemoVm.ps1): `Azure/New-AzureRmDemoVm.ps1`
- [Elastic Beanstalk app](https://github.com/xr71mk9/random-powershell-work/blob/master/AWS/Elastic%20Beanstalk/New-AwsBeanstalkApp.ps1): `AWS/Elastic Beanstalk/New-AwsBeanstalkApp.ps1`
- [Hyper-V checkpoint](https://github.com/xr71mk9/random-powershell-work/blob/master/Hyper-V/Checkpoint-OnlineVM.ps1): `Hyper-V/Checkpoint-OnlineVM.ps1`
- [VMware backup](https://github.com/xr71mk9/random-powershell-work/blob/master/VMware/Backup-VM.ps1): `VMware/Backup-VM.ps1`

### Windows operations

- [DHCP lease lookup](https://github.com/xr71mk9/random-powershell-work/blob/master/DHCP/Get-DhcpLease.ps1): `DHCP/Get-DhcpLease.ps1`
- [DNS resolution test](https://github.com/xr71mk9/random-powershell-work/blob/master/DNS/Test-DnsNameResolution.ps1): `DNS/Test-DnsNameResolution.ps1`
- [Server uptime report](https://github.com/xr71mk9/random-powershell-work/blob/master/Inventorying-Reporting%20Tools/Get-ServerUptimeReport.ps1): `Inventorying-Reporting Tools/Get-ServerUptimeReport.ps1`
- [Windows disk cleanup](https://github.com/xr71mk9/random-powershell-work/blob/master/File-Folder%20Management/Invoke-WindowsDiskCleanup.ps1): `File-Folder Management/Invoke-WindowsDiskCleanup.ps1`
- [SCCM deployment test](https://github.com/xr71mk9/random-powershell-work/blob/master/SCCM/Start-CMApplicationDeploymentTest.ps1): `SCCM/Start-CMApplicationDeploymentTest.ps1`

### External integrations

- [Campfire messaging](https://github.com/xr71mk9/random-powershell-work/blob/master/APIs/PostMessageToCampfire.ps1): `APIs/PostMessageToCampfire.ps1`
- [Twitter API module](https://github.com/xr71mk9/random-powershell-work/blob/master/APIs/TwitAPI.psm1): `APIs/TwitAPI.psm1`
- [Ansible module](https://github.com/xr71mk9/random-powershell-work/blob/master/Ansible/Ansible.psm1): `Ansible/Ansible.psm1`
- [Dell order sync](https://github.com/xr71mk9/random-powershell-work/blob/master/Sharepoint/Order%20Sync/Sync-DellOrder.ps1): `Sharepoint/Order Sync/Sync-DellOrder.ps1`

### Data and files

- [CSV to SQL sync](https://github.com/xr71mk9/random-powershell-work/blob/master/Database-Datasets/Sync-CsvToSql.ps1): `Database-Datasets/Sync-CsvToSql.ps1`
- [SFTP file retrieval](https://github.com/xr71mk9/random-powershell-work/blob/master/File-Folder%20Management/Get-FileViaSftp.ps1): `File-Folder Management/Get-FileViaSftp.ps1`
- [Invoice generation](https://github.com/xr71mk9/random-powershell-work/blob/master/Random%20Stuff/New-Invoice/New-Invoice.ps1): `Random Stuff/New-Invoice/New-Invoice.ps1`
