⚙️dayone-deploy.cs×
📦projects.json
srcprojectsdayone-deploy.cs
Enterprise Automation
In [1]:
// Initialize DayOne Deploy Suite
const deployer = new DeploymentEngine({
  os: "Windows 11 Enterprise",
  target: "Zero-Touch Provisioning",
  framework: ".NET 10",
  observability: "Spectre.Console"
});

await deployer.StartAsync();
Out [1]:
⚙️ Intern Project DayOne

DayOne Deploy

Robust C# (.NET 10) automation suite simulating zero-touch laptop provisioning. Features offline network staging, resilient orchestration via RunOnce, and real-time observability with Spectre.Console.

💎C# 13 🚀.NET 10 🪟Windows Forms 📺Spectre.Console ⚙️WMI 🐚PowerShell
In [2]:
// Deployment Layer Configuration
const provisioningLayers = [
  "NetworkStaging",
  "DomainJoin",
  "SoftwareInstallation",
  "StateManagement"
];
Out [2]:
📡

Offline Network Staging

Automates staging of 6GB+ software payload from network share to local SSD to prevent network-drop failures.

🔄

Resilient Orchestration

Uses Windows RunOnce registry keys to survive forced system reboots and maintain deployment state.

📊

Interactive Observability

Real-time metrics, live progress spinners, and automated Toast notifications for deployment tracking.

🔐

Security & Credentialing

Dynamic isolation of sensitive credentials locally via DotNetEnv and enforced UAC Administrator privileges.

In [3]:
// RunOnce State Machine Flow
while (deployment.IsInProgress()) {
  await deployment.ProceedToNextLayer();
  if (rebootRequired) system.ScheduleReboot();
}
Out [3]:

Provisioning State Machine

📡
Network Staging Local SSD Payload Staging
🌐
Domain Join WMI/PowerShell Automation
📦
Software Install Idempotent Layered Execution
💾
State Persistence RunOnce Registry Keys
📺
Observability Spectre.Console + DWM API