---
title: Dotnet
privilege: TrustedInstaller
actions:
  - !writeStatus: {status: 'Installing Chocolatey'}
    # Install Chocolatey
  - !powerShell:
    command: 'Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString(''https://community.chocolatey.org/install.ps1''))'
    weight: 30
  - !writeStatus: {status: 'Installing .NET 3.5'}
    # Install .NET Framework 3.5
#  - !cmd:
#    command: '"%ProgramData%\chocolatey\bin\choco.exe" install -y --force --allow-empty-checksums dotnet3.5'
#    weight: 150

  - !writeStatus: {status: 'Converting users'}
  - !run:
    exeDir: true
    exe: "CONVERT.bat"
    weight: 10