Powershell Script To Update IIS Website Content

Powershell Script To Update IIS Website Content

The following script does several jobs : Backup IIS Website Files To be upgraded Stop IIS Website  Application Pool Copy Newest Website Files Start IIS Website Application Pool Also can download this script from Microsoft Technet Gallery. # Clean Up Folder Backup...

Enable IP Forwarding On Azure VM

You can enable IP Forwarding on an Azure VM (ASM), with the following command. $vmname = "MyVM" $servicename = "MyCloudService" $vm = Get-AzureVM -ServiceName $servicename -Name $vmname Set-AzureIPForwarding -ServiceName $ServiceName -VM $VM -Enable   Enable IP...

Remote PowerShell To Windows Azure VM

Firstly, to be able to run Remote PowerShell commands you will need to create rules on Azure and Windows Firewall that allow access to RM port. Secondly, you must download and install powershell And final, execute the following command, Enter-PSSession -ComputerName...