Open notepad. Paste the commands into the window. Save the file as Something.ps1. From the Windows start menu search for powershell. Select "run as administrator". CD to the folder where you saved the file. Use the "dot slash" notation to execute the script, ",\Something.ps1" .
If you are executing a .bat file that contains the commands to install maui, then add a line to call Powershell.
powershell.exe -file C:\WhereverYouPutIt\Something.ps1"
Be sure to launch the bat file with "run as administrator".
If you can't save a file, you can do it in one line by separating cmdlet's with the ";" character.
powershell.exe -command "Add-AppxProvisionedPackage -Online -PackagePath C:\AutomationManager\DependenciesServer2019\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle -LicensePath C:\AutomationManager\DependenciesServer2019\a941c144deac426082dc9f208f729138_License1.xml -Verbose; Add-AppxPackage -Path C:\AutomationManager\DependenciesServer2019\Microsoft.VCLibs.x64.14.00.Desktop.appx; Add-AppxPackage -Path C:\AutomationManager\DependenciesServer2019\Microsoft.VCLibs.x86.14.00.Desktop.appx"