DRAG DROP
Your company manages several Azure Web Sites that are running in an existing webhosting plan named plan1.
You need to move one of the websites, named contoso, to a new web-hosting plan named plan2.
Which Azure PowerShell cmdlet should you use with each PowerShell command line? To
answer, drag the appropriate Azure PowerShell cmdlet to the correct location in the
PowerShell code. Each PowerShell cmdlet may be used once, more than once, or not at all.
You may need to drag the split bar between panes or scroll to view content.
Which Azure PowerShell cmdlet should you use with each PowerShell command line?
DRAG DROP
Your company manages several Azure Web Sites that are running in an existing webhosting plan named plan1.
You need to move one of the websites, named contoso, to a new web-hosting plan named plan2.
Which Azure PowerShell cmdlet should you use with each PowerShell command line? To
answer, drag the appropriate Azure PowerShell cmdlet to the correct location in the
PowerShell code. Each PowerShell cmdlet may be used once, more than once, or not at all.
You may need to drag the split bar between panes or scroll to view content.
shld be new-azureResources not set-azureResources
According to this Set-AzureResources
http://stackoverflow.com/questions/24892220/change-azure-website-web-hosting-plan-mode-using-powershell
Example:
The following command is actually a series of commands (delimited by semi-colons) that change the
values of the properties in the $p variable.
Windows PowerShell
PS C:\> $p.siteMode = “Basic”; $p.sku = “Basic”; $p.computeMode = “Dedicated”; $p.serverFarm =
“Default2”
The next command uses the Set-AzureResource cmdlet to change the change the properties of the
ContosoLabWeb2 web site. The value of the PropertyObject parameter is the $p variable that contains
the Properties object and the new values. The command saves the output (the updated resource) in the
$r2 variable.
Windows PowerShell
PS C:\> $r2 = Set-AzureResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG
-ResourceType “Microsoft.Web/sites” -ApiVersion 2004-04-01 -PropertyObject $p
isn’t it Set-AzureResource in box 2?
I think its set-azureresource in box 2
Yes its set-azureresource only
https://msdn.microsoft.com/en-us/library/dn654578.aspx
Every after inside a although we choose blogs that we read. Listed beneath are the latest web sites that we pick.
that is the end of this post. Right here you will obtain some internet sites that we assume you will appreciate, just click the hyperlinks over
here are some links to web-sites that we link to for the reason that we believe they may be really worth visiting
check below, are some absolutely unrelated websites to ours, nonetheless, they may be most trustworthy sources that we use
although websites we backlink to beneath are considerably not connected to ours, we really feel they’re basically worth a go by, so have a look
Sites of interest we have a link to
that could be the finish of this report. Here youll come across some sites that we feel youll value, just click the links over
Every after in a though we select blogs that we study. Listed below would be the most current internet sites that we decide on
that could be the finish of this report. Here you will uncover some web pages that we assume youll enjoy, just click the links over
Here are a number of the sites we advise for our visitors
here are some hyperlinks to sites that we link to due to the fact we assume they are really worth visiting
here are some links to web sites that we link to mainly because we feel they may be really worth visiting
Here are some of the web sites we recommend for our visitors
The information mentioned within the report are some of the most beneficial accessible
that is the finish of this report. Right here youll uncover some web-sites that we consider youll enjoy, just click the links over
the time to read or take a look at the subject material or web sites we have linked to below the
I gave exam in December, he question came on ARM model.
Question will be similar but powershell commands will be
PS C:\>$Resource = Get-AzureRmResource -ResourceType “microsoft.web/sites” -ResourceGroupName “ResourceGroup11” -ResourceName “ContosoSite”
PS C:\> $Resource.Properties.Enabled = “False”
PS C:\> $Resource | Set-AzureRmResource -Force