Closed Kannis-Wong closed 9 months ago
function chck27{ cmd /c if exist %programdata%\ET\chck27.lbool del %programdata%\ET\chck27.lbool # Disables several unnecessary components $counter++; Write-Host ' [Disable] Unnecessary components ' -F darkgray -B black $components = @('Printing-PrintToPDFServices-Features','Printing-XPSServices-Features','Xps-Foundation-Xps-Viewer') foreach ($a in $components) { disable-windowsoptionalfeature -online -featureName -NoRestart | Out-Null } engine;};
featureName is required $a
Done sorry for late update
featureName is required $a