Loading...
Loading...
Run ACB (Anypoint Code Builder) system diagnostics to check if the machine meets minimum specifications and apply Windows optimizations if needed
npx skill4agent add mulesoft/mulesoft-dx run-system-diagnosticspowershell.exe -Command "Get-ComputerInfo | Select-Object CsProcessors, CsTotalPhysicalMemory, OsArchitecture"powershell.exe -Command "(Get-WmiObject -Class Win32_Processor).NumberOfLogicalProcessors"powershell.exe -Command "Get-PhysicalDisk | Select-Object MediaType, BusType, Size, FriendlyName"powershell.exe -Command "Get-PSDrive C | Select-Object Used, Free"powershell.exe -Command "Get-NetAdapter | Select-Object Name, Status, LinkSpeed"sysctl -n hw.physicalcpu && sysctl -n hw.logicalcpusysctl -n hw.memsizedf -h /system_profiler SPNVMeDataTypenetworksetup -listallhardwareportsifconfig en0 | grep 'status:' && networksetup -getinfo Wi-Fisystem_profiler SPAirPortDataType | grep -A 10 "Current Network Information" | grep -E "Link Speed|PHY Mode"{skill_base_directory}/assets/DiskSpd/amd64/diskspd.exe{skill_base_directory}/assets/DiskSpd/arm64/diskspd.exe{skill_base_directory}/assets/DiskSpd/x86/diskspd.exehttps://github.com/microsoft/diskspd/releases/download/v2.2/DiskSpd.ZIP{skill_base_directory}/assets/DiskSpd/$target = "{skill_base_directory}/assets/DiskSpd"
$zip = Join-Path $env:TEMP "DiskSpd.ZIP"
New-Item -ItemType Directory -Force -Path $target | Out-Null
Invoke-WebRequest -Uri "https://github.com/microsoft/diskspd/releases/download/v2.2/DiskSpd.ZIP" -OutFile $zip -UseBasicParsing
Expand-Archive -Path $zip -DestinationPath $target -Force
Remove-Item $zip -Forcediskspd.exeamd64arm64x86diskspd.exe -c1G testfile.datdiskspd.exe -b4K -d30 -o32 -t4 -r -w0 -Sh testfile.datdiskspd.exe -b4K -d30 -o32 -t4 -r -w100 -Sh testfile.datGet-MpPreference | Select-Object -ExpandProperty ExclusionProcessGet-MpPreference | Select-Object -ExpandProperty ExclusionPathjava.exejavaw.exenode.exeCode.exeC:\Users\<USERNAME>\AnypointCodeBuilderC:\Users\<USERNAME>\.vscodeC:\Users\<USERNAME>\.m2C:\Users\<USERNAME>\AppData\Local\TempAdd-MpPreference -ExclusionProcessAdd-MpPreference -ExclusionPathpowershell.exe -Command "powercfg /getactivescheme"powercfg /setactive SCHEME_MIN