SOLVED

Install ps 1 file for do net install

Iron Contributor

I am packaging the .NET 4.8.1 file for pushing it through the Intune. I need a powershell script called install.ps1 that will call this .NET 4.8.1 to be installed. How do I go about writing that powershell script

2 Replies
best response confirmed by oryxway (Iron Contributor)
Solution
If you have the package in a .intunewin file, "ndp481-x86-x64-allos-enu.exe /q /norestart" should work as the install command and "ndp481-x86-x64-allos-enu.exe /uninstall /q /norestart" as the uninstall command. No need to create a .ps1 for it

@Harm_Veenstra Thank you, works for me!

1 best response

Accepted Solutions
best response confirmed by oryxway (Iron Contributor)
Solution
If you have the package in a .intunewin file, "ndp481-x86-x64-allos-enu.exe /q /norestart" should work as the install command and "ndp481-x86-x64-allos-enu.exe /uninstall /q /norestart" as the uninstall command. No need to create a .ps1 for it

View solution in original post