Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Installing .Net 4.5.1 on Azure VM with Powershell remote

$
0
0

Hello,

I am working on automating the creation an Azure Virtual Machine with powershell.

It is relatively easy, because of the good documentation there are on Azure, but I have run into a problem.

In order for this server to function I need .net 4.5.1 to run on it. Unfortunately this does NOT come as standard on Windows Server 2012, so I need to automate the installation.

My idea was to download the installation file and do a silent install, but I just cant get it to work.

I have tried executing commands with Invoke-Command, with a start process. I have tried making a script that runs perfectly if I execute it locally, then move the script to the VM and remotely execute it. This does not work either.

I am stuck here and every time I come up with something I end up banging my head into the wall in frustation.

Anyone out there who can help? I will very much appreciate it.

Regards

Magnus


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>