Setting Azure Website General Settings through Powershell

Hi,
I am looking for information on how to set the website general settings through powershell cmdlets. When I create a new Website through gallery and choose Apache Tomcat 7 it default selects the .net framework. I would like to set those off and use Java version
Don't see any commands to set that default while creating a website. 
Also, how can I set an SSL certificate and traffic manager end point to my website using powershell cmdlets.
Thanks in Advance.
Trupt

Hi Trupt,
Based on my research, you can configure the Type to AzureWebsite when you use
Add-AzureTrafficManagerEndpoint or
Set-AzureTrafficManagerEndpoint cmdlets. Although the article below is for cloud service, you can change the type and follow it:
http://azure.microsoft.com/blog/2014/06/26/azure-traffic-manager-external-endpoints-and-weighted-round-robin-via-powershell/
In addition, based on my experience, you can create a SSL certificate via Azure PowerShell, however, there is no way to add it to a web site in Azure PowerShell.
Best regards,
Susie
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Similar Messages

  • Setting the custom master page through powershell is NOT working

    Hi,
     I am writing the below code to set the  custom master page through powershell.
    But its not working .when i went to site settings-->master page --> in the drodown , the  maste page set is seattle.master ONLY, though my current master page is available in the dropdown.
     Can anyone pls help, whether i am missing in the below :
          Add-PSSnapin Microsoft.SharePoint.Powershell
           $SiteURL = "http://srvr1:22307/sites/SPW5"
        $weburl= $SiteURL
        $Site= Get-SPSite $SiteURL
        $web =  $Site.OpenWeb()
    $web.CustomMasterUrl = "/_catalogs/masterpage/myMasterpage.master"
    $web.MasterUrl = "/_catalogs/masterpage/myMasterpage.master"
    $web.Update()
    Das

    Hi,
    Is it a publishing page? If yes can you try the PowerShell scripts corresponding to the following code snippet?
    var publishingWeb = PublishingWeb.GetPublishingWeb(web);
    publishingWeb.CustomMasterUrl.SetInherit(inheritFromParent, false);
    publishingWeb.CustomMasterUrl.SetValue(masterPageUrl, false);
    publishingWeb.MasterUrl.SetInherit(inheritFromParent, false);
    publishingWeb.MasterUrl.SetValue(masterPageUrl, false);
    I've noticed sometime (not sure though) that Master page doesn't get updated if the inherit property is not updated first.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • How to set the same General settings for all users

    Hi Experts,
    How can i set the same general settings for all users e.g. marking the checkbox "Display header" to true for all users? General settings are possible under User Settings Button.
    Regards,
    Arti.

    Hi Arti!
    You can default user settings in a PFCG role, in the "personalization" tab.
    If you have a PFCG role that is common to all your users, you can set the default values here.
    However it does not prevent them to change these settings later, except if you modify the "user settings" fields properties in cProjects application.
    Matthias

  • I do not fully understand how to use the "Feature Sets" of "General 1" through 5

    I recently upgraded and aparently the printer driver was included in this. When printing through Photoshop Elements 10 a new drop down menu appears for printing with my Epson Stylus Photo 1400. I now have "Printer Features" and when that is selected from a drop down menu "Feature Sets" appears with "General 1" through 5 as drop down menu items. I can not find a user manual for operating all the options I now have. No matter what combo I set up however, my prints have a band in them. The printer now prints an inch of the image, runs the printer heads over the paper 4 times and scoots the paper forward an inch to repeat. Its this part of the print that gets the band. Its as if I am printing on regular paper when in fact it happens with both the matt and glossy. I select the right paper options (you have to select it in 3 different places) and yet the banding continues. PLEASE HELP ME.

    I recently upgraded and aparently the printer driver was included in this. When printing through Photoshop Elements 10 a new drop down menu appears for printing with my Epson Stylus Photo 1400. I now have "Printer Features" and when that is selected from a drop down menu "Feature Sets" appears with "General 1" through 5 as drop down menu items. I can not find a user manual for operating all the options I now have. No matter what combo I set up however, my prints have a band in them. The printer now prints an inch of the image, runs the printer heads over the paper 4 times and scoots the paper forward an inch to repeat. Its this part of the print that gets the band. Its as if I am printing on regular paper when in fact it happens with both the matt and glossy. I select the right paper options (you have to select it in 3 different places) and yet the banding continues. PLEASE HELP ME.

  • I do not have 'Software Update' on my 'General' settings.  How do I get it please?

    I am trying to update an app.  However, I have no 'Software Update' setting on my 'General' settings.  How do I get it please?

    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.1.3. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
    Tip 2 - If you're updating via wifi, place your iPad close to your router to preclude getting a corrupted download.
     Cheers, Tom

  • HT201320 I have just set up my email accounts, calendars etc on my new iphone5s, but seem to be stuck in 'Mail, contacts and calendar' section. How do I get back to the general settings page?

    I have just set up my email accounts, calendars etc on my new iphone5s, but seem to be stuck in 'Mail, contacts and calendar' section. How do I get back to the general settings page?

    Solved! Turn it off and on again!

  • SAP Netweaver/General settings/Set Countries/Set Country-Specific Checks

    Hi All,
    following the customizing navigation:
    SAP Netweaver/General settings/Set Countries/Set Country-Specific Checks
    By the flag "Other data", I can activate the check of tax numbers.
    So, SAP gives me an error message if a tax number filled in master data of customers or vendors is wrong.
    I'd like to change the message in warning...
    I've tried to do it, but without unsuccessfully.
    Could anyone help me?
    Thanks

    Hello,
    This is a cross client activity which is not directly available in the system in OBA5.
    The error message that is AR191
    You need to go to transaction code OBMSG and enter the message number in application area.
    In case if you get a warning message at this time stating that: "Changes to Repository or cross-client Customizing are not permitted". In that case you need to check with your basis administration to allow the cross client settings in SCC4. Until you make necessary changes in SCC4, your OBMSG transaction code is in ONLY DISPLAY mode.
    Application Area: AR
    Message No.191
    Allowed: W
    Standard: E
    Save your entries.
    Now this is available in OBA5 and give the application area AR and enter the message number.
    In Online and batch put the message number to W.
    Save your entries.
    Hope this solve your issue.
    Regards,
    Ravi

  • NET WEAVER GENERAL SETTINGS CURRENCY SET DECIMAL values

    sir,
    PO was created with currency japanese YEN using Tcode ME21N . The net price was showing 142502300 (in JPY).
    My problem is when checked in EKPO table , it saved with a value 1425023.00 So this is decimal value error. what can be done to correct this.
    But In in SPRO>> NET WEAVER >> GENERAL SETTINGS >> CURRENCY>> SET DECIMAL values FOR CURRENCY CODES is showing 0 decimals against JPY (Japanese YEN)
    I want to know where else the Decimal values could have been set to 2 decimal places.
    Regards,
    Srinivasa Murthy

    check the following posting :
    Re: $ USD shows no decimal place values
    hope this helps

  • SPRO NET WEAVER GENERAL SETTINGS CURRENCY SET DECIMAL VALUES

    sir,
    PO was created with currency japanese YEN using Tcode ME21N . The net price was showing 142502300 (in JPY).
    My problem is when checked in EKPO table , it saved with a value 1425023.00 So this is decimal value error. what can be done to correct this.
    But In in SPRO>> NET WEAVER >> GENERAL SETTINGS >> CURRENCY>> SET DECIMAL VALUES  FOR CURRENCIES  is showing 0 decimals against JPY (Japanese YEN). How can it have saved to EKPO like that.
    I want to know where else the Decimal values could have been set to 2 decimal places.
    Regards,
    Srinivasa Murthy

    Check
    Re: JPY  Currency With Decimal upto 2,3 Decimal

  • My iphone keeps freezing, especially in the mail setting.  The support center indicates i should go to settings, then general settings, and  then to update software, but there is no "update software" selection under general settings.  can anyone help?

    My iphone keeps freezing, especially in the mail setting.  The support center indicates i should go to settings, then general settings, and  then to update software, but there is no "update software" selection under general settings.  can anyone help?  Thanks!
    PS  i think I have an iphone4, but not sure

    You may connect it to iTunes and update it from there.

  • HT204053 I do not have a software category under my general settings in order to set up iCloud on my iPad. I have the original iPad. Is it capable of downloading iOS 5?

    I do not have a "software" category under my general settings in order to set up iCloud. I have the original iPad. Is it capable of downloading iOs 5?
    I was discussing this with Austin but was unable to reply to his last comment to set up iCloud.

    The original iPad can upgrade iOS 5.1.1. See below for instructions.
    http://support.apple.com/kb/HT4972

  • TS1702 I could not find the software update in general settings to update my iphone 4.in the dir ections it was shown in guide under the about setting

    I could not find the software update in general settings to update my iphone 4.in the directions under the ABOUT setting but not on my phone.so I cant add some apps without this update .Can you advise me how to fix this problem

    See the chart below to determine whether you can upgrade your device and what you can upgrade to. If you do not have a Software Update option present on your iDevice, then you are trying to upgrade to iOS 5 or higher. You will have to connect your device to your computer and open iTunes in order to upgrade.
    IPhone, iPod Touch, and iPad iOS Compatibility Chart
         Device                                       iOS Verson
    iPhone 1                                      iOS 3.1.3
    iPhone 3G                                   iOS 4.2.1
    iPhone 3GS                                 iOS 6.1.x
    iPhone 4                                      iOS 6.1.x
    iPhone 4S                                    iOS 6.1.x
    iPhone 5                                      iOS 6.1.x
    iPod Touch 1                               iOS 3.1.3
    iPod Touch 2                               iOS 4.2.1
    iPod Touch 3                               iOS 5.1.1
    iPod Touch 4                               iOS 6.1.x
    iPod Touch 5                               iOS 6.1.x
    iPad 1                                          iOS 5.1.1
    iPad 2                                          iOS 6.1.x
    iPad 3                                          iOS 6.1.x
    iPad 4                                          iOS 6.1.x
    iPad Mini                                     iOS 6.1.x
    =====================================
    Select the method most appropriate for your situation.
    Upgrading iOS
       1. How to update your iPhone, iPad, or iPod Touch
       2. iPhone Support
       3. iPod Touch Support
       4. iPad Support
         a. Updating Your iOS to Version 6.0.x from iOS 5
              Tap Settings > General > Software Update
         If an update is available there will be an active Update button. If you are current,
         then you will see a gray screen with a message saying your are up to date.
         b. If you are still using iOS 4 — Updating your device to iOS 5 or later.
         c. Resolving update problems
            1. iOS - Unable to update or restore
            2. iOS- Resolving update and restore alert messages

  • HT4539 I need to update my iso but in my setting on my iPad I don't have a software update button in my general settings. Can you please help

    Need to update iso but I don't have a soft wear update in my general setting

    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.1.3. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
    Tip 2 - If you're updating via wifi, place your iPad close to your router to preclude getting a corrupted download.
     Cheers, Tom

  • Best practice to use the Slot on Azure Website

    Hi Team,
    I want to understand the website slot feature little deeper. Can anyone suggest that How should we plan while we have testing, staging & production environment on Azure? (Development might be from Visual Studio Azure Emulator)
    Take an example, we have ToDoApp. How should we use Azure Website & Slot feature to make it available for Testing, Staging & Production?
    Q1) Should we create two different site (1 for Testing and Staging while 2 for Production) or should we use all in one with 3 slot?
    Q2) If we create two different site like as I said in Q1 How should we move the package from Staging to Production once it done with staging?
    Q3) If we have one single site instead of two, Can we have role based feature like, Whoever is swapping the slot from testing to staging would do upto that level only. while from staging to production except Product Admin no-one can do?
    Q4) If none of the above is recommended then what would it be & How should we use swapping feature there for move package on production?
    Regards, Brijesh Shah

    Hi Brij,
    Deployment slots were developed with whole development lifecycle in mind. A good practice is to have a source control branch for stage of the environment so you know what are the changes. There are generally two types of development:
    One branch - always fix forward and goes to production at least once per day. The build might get deployed to staging environment (slot) to run full functional validation before taking live traffic and then deployed to Production. With Azure Websites this
    could be as simple as swap staging to Production slot. After swap (new) staging is ready to take next build and run another set of validation. So one site with many slots here
    Multiple branches - when deploying to Prod is slower you need multiple branches and slots, and stabilization phase. This means you can have Dev branch where is vNext - vNext slot (you can setup continuous deployment here so every check in is deployed),
    Main branch where only selected changes are integrated or when is time for a major Release or hotfix - points on Stage slot, Release branch pointing to PreRelease slot which later to be swapped with Production after deployment to avoid
    cold start. Better to stay with one site and may slots as well but current limitation is 5 slots.
    Thus said swap is the easiest way to move code thru stages :). There are many features there that can be used:
    during swap some settings stay at slot while others are moved with the code (this is available only in PowerShell and SDK at the moment)
    Auto swap - to avoid cold start you can deploy to PreRelease slot and auto swap with Production slot right after it finishes the deployment (this is available only in PowerShell and SDK at the moment)
    TiP - redirect only small % of the traffic to PreRelease slot (vNext or your choice) to expose let's say 1 % of customers to new code base.
    Video
    on Q3: RBAC(role based access control) allows you to do exactly this. only admin can have access to Production slot and separate groups can have access to other slots. Thus only admin can swap with production
    Hope that helps,
    Galin Iliev [MCSD.NET, MCPD], http://www.galcho.com

  • Error while updating a custom Windows Azure Diagnostics configuration xml from powershell. "Invalid update to extension reference for role"

    I am attempting to upload a manually edited WADConfig xml to my VM. The WAD service is functioning correctly, I needed to add some custom WinEventLogs. The prescribed steps result in an error.
    What am I overlooking?
    I am following these instructions:
    Step 5: Remotely install Diagnostics on your Azure Virtual Machine
    azure.microsoft.com/en-in/documentation/articles/cloud-services-dotnet-diagnostics/#virtual-machine
    $storage_name = "wadexamplevm"
    $key = "<StorageAccountKey>"
    $config_path="c:\users\<user>\documents\visual studio 2013\Projects\WadExampleVM\WadExampleVM\WadExample.xml"
    $service_name="wadexamplevm"
    $vm_name="WadExample"
    $storageContext = New-AzureStorageContext
    -StorageAccountName $storage_name -StorageAccountKey $key
    $VM1 = Get-AzureVM
    -ServiceName $service_name -Name $vm_name
    $VM2 = Set-AzureVMDiagnosticsExtension
    -DiagnosticsConfigurationPath $config_path
    -Version "1.*"
    -VM $VM1 -StorageContext $storageContext
    $VM3 = Update-AzureVM
    -ServiceName $service_name -Name $vm_name
    -VM $VM2.VM
    Unfortunately, I am receiving this error:
    Update-AzureVM : BadRequest: Invalid update to extension reference for role: XXXXXX and reference: IaaSDiagnostics.
    What's missing from the above script?

    Hi,
    Since Azure SDK 2.5 uses the extension model the diagnostics extension, the configuration and the connection string to the diagnostic storage are no longer part of the deployment package and cscfg. All the diagnostics configuration is contained within the
    wadcfgx. The advantage with this approach is that diagnostics agent and settings are decoupled from the project and can be dynamically enabled and updated even after your application is deployed. 
    Due to this change some existing workflows need to be rethought – instead of configuring the diagnostics as part of the application that gets deployed to each environment you can first deploy the application to the environment and then apply the diagnostics
    configuration for it.  When you publish the application from Visual Studio this process is done automatically for you. However if you were deploying your application outside of VS using PowerShell then you have to install the extension separately through
    PowerShell.
    There PowerShell cmdlets for managing the diagnostics extensions on a Cloud Service are -
    Set-AzureServiceDiagnosticsExtension
    Get-AzureServiceDiagnosticsExtension
    Remove-AzureServiceDiagnosticsExtension
    You can use the Set-AzureServiceDiagnosticsExtension method to enable diagnostics extension on a cloud service. One of the parameters on this cmdlet is the XML configuration file. This file is slightly different from the diagnostics.wadcfgx file. You can
    create this file from scratch by either following the article that you are referring to or  you can modify the wadcfgx file and pass in the modified file as a parameter to the powershell cmdlet.
    To modify the wadcfgx file –
    Make a copy the .wadcfgx.
    Remove the following elements from the Copy:
    <DiagnosticsConfiguration xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
       <PrivateConfig xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
         <StorageAccount name=" " endpoint="https://core.windows.net/" />
       </PrivateConfig>
       <IsEnabled>false</IsEnabled>
    </DiagnosticsConfiguration>
    Make sure the top of the file still has xml version and encoding –
       <?xml version="1.0" encoding="utf-8"?>
    Effectively you are stripping down the Wadcfgx to only contain the <PublicConfig> section and the <?xml> header. You can then call the PowerShell cmdlet along with the appropriate parameters for the staging slots and roles:
    $storage_name = ‘
    <storagename>’
    $key= ‘<key>’
    $service_name = '<servicename>'
    $public_config = '<thepublicconfigfrom_diagnostics.wadcfgx>'
    $storageContext = New-AzureStorageContext –StorageAccountName $storage_name –StorageAccountKey $key
    Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -DiagnosticsConfigurationPath $public_config –ServiceName $service_name -Slot ‘Staging’ -Role ‘WebRole1’
    Hope this helps !
    Regards,
    Sowmya

Maybe you are looking for

  • Formatted Search query for Vacation Accrued

    Hi Experts, I have a Client who needs to keep tract on the Vacation Accrued on the Employee Master Data. I have created this UDF on the Master Data, but I could not get the query for the Formatted Search right. This Formatted search on the UDF ( must

  • Specific site files causes crash

    We have a crash when opening html files from a specific site. The cache was deleted The files where refreshed from those on the web server Other sites on the hard drive have no problem opening files Vista 64 bit I'm stumped.................. Problem

  • Range question

    Hello, I have a WRT54G router. I have a WRE54 range extender towards the edge of my signal. I need to extend the signal a little further. What are my options?

  • HT2305 update time capsule

    time capsule running slow, not deleting older backups

  • Get an employee company address

    How to get employee company address? Table ADRC  has company address but it has keyfield addrnumber. How to get 'addrnumber' value for that employee?