I'm trying to create a BAT file for installing .NET Framework on Windows Server 2012. I've created a code but I'm not having any luck. Here's the code I created:
cd /D %userprofile%
powershell -ImportSystemModules Add-WindowsFeature NET-Framework-Features
It looks like the last two commands are not being executed. Any reason why it's getting stuck?
September 16, 2013 4:28 PM