How to get Windows Azure Powershell on a HDInsight VM?

I've already searched MSDN and Bing and didn't find an answer to my question below -> So how do I install Windows Azure Powershell on my HDInsight cluster?
Overall, I'm trying to execute the tutorial here:
http://azure.microsoft.com/en-us/documentation/articles/hdinsight-analyze-twitter-data/
1) I provisioned a single HDInsight cluster. I have a pre-existing storage account. I can use Azure Storage Explorer to browse around so I know it's ok.
2) I am able to open a remote desktop connection to my cluster.
3) To run any of the PowerShell scripts in the tutorial linked above I need "Windows Azure Powershell". Regular "Windows Powershell" doesn't seem to have some cmdlets.
4) After I remote into my cluster I go to this page
http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/ and launch the link that says "You can download and install the Azure PowerShell modules by running the
Microsoft Web Platform Installer...".
5) I choose that installer link.
6) I choose "Run"
7) It says "The system administrator has set policies to prevent this installation."
So how do I install Windows Azure Powershell on my HDInsight cluster?
Thanks in advance.

Hi CraigGu,
User won't get admin access on HDInsight cluster so that's the reason you were getting the error.
It's not recommended to install any software/do any customization(via rdp) on headnode of HDInsight cluster. The reason is that changes will not be preserved due to cluster reimage process.
To answer your question please install and configure PowerShell on your desktop/laptop and submit jobs.
Thank you for choosing Microsoft HDInsight
Thanks and Regards,
Please marked it as answered if it answer your question.  
Sudhir Rawat

Similar Messages

  • Windows Azure powershell Not able to install

    Hello
    I tried to download the Windows azure powerhsell from site
    http://www.windowsazure.com/en-us/downloads/?fb=en-us
    But when i ran the exe , it says
    Can you please help me how to install windows azure powershell.
    thanks
    Vimal
    regards Vimal

     Yes i don't have powershell 3 installed, but i do have .net 4 installed.
    But now when i am trying to install the powershell 3 it gave me error.
    Log file log:- 
    DownloadManager Information: 0 : Contextual entry products: WindowsAzurePowerShell
    DownloadManager Information: 0 : Skipping contextual product 'WindowsAzurePowerShell'
    DownloadManager Information: 0 : Contextual navigation to 'product not supported' page
    DownloadManager Information: 0 : Content-Encoding header: 'gzip'
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '21394'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '72230'
    DownloadManager Warning: 0 : Error getting last-modified header, error code: 12150
    DownloadManager Warning: 0 : HttpQueryInfoWithRetry for HTTP_QUERY_LAST_MODIFIED failed.
    DownloadManager Information: 0 : Ratings file loaded successfully
    DownloadManager Information: 0 : Adding product Windows PowerShell 3.0 (PowerShell3) to cart
    DownloadManager Information: 0 : Adding product 'PowerShell3'
    DownloadManager Information: 0 : Setting current install to 1
    DownloadManager Information: 0 : Starting install sequence
    DownloadManager Information: 0 : Starting EXE command for product 'Windows PowerShell 3.0'. Commandline is: 'C:\Windows\sysnative\dism.exe /online /enable-feature /featureName:MicrosoftWindowsPowerShell /all'. Process Id: 10684
    DownloadManager Information: 0 : Install exit code for product 'Windows PowerShell 3.0' is '87'
    DownloadManager Error: 0 : Install return code for product 'Windows PowerShell 3.0' is Failure
    DownloadManager Information: 0 : Product Windows PowerShell 3.0 done install completed
    DownloadManager Information: 0 : Increasing current install to 2
    regards Vimal

  • How to get windows username printed on each page irrespective of application? we have cm6030f.

    How to get windows username printed on each page irrespective of application? we have HP CM6030F.

    Hi,
    Normally, you will receive a Windows Azure Pass from your local Windows Azure team. Please try to contact your local Windows Azure contact (http://support.microsoft.com/gp/customer-service-phone-numbers?wa=wsignin1.0
    Also, you could see this page
    http://www.windowsazurepass.com/AzureU/AcademicFAQ and apply the free trial azure via (http://www.windowsazurepass.com/AzureU/).
    Q: I am a student. Can I apply for a pass?                     
    A: Windows Azure Educator Grants are only for valid faculty. If your faculty has been awarded a Windows Azure Educator Grant, you will be able to get a pass through him/her for you coursework. If you are interested in learning more about Windows Azure,
    we encourage you to share these Educator Grants with your faculty or sign up for the FREE 3-month trial offer. 
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Windows Azure Powershell Automate Login

    Hello,
    I am stumped and starting to feel beat by this one.
    I'm trying to automate tasks from a website to Windows Azure. Specifically, when a new user signs up, I want to create a Remote-PSSession and run a few commands on the server to set up the new user. I have the remote parts working but I can't seem to log
    in without the manual intervention of entering my username and password in the browser, thus, I have to run the commands from PowerShell and not from C#.
    Most recently, I was following this tutorial:
    http://michaelcollier.wordpress.com/2013/02/28/configuring-connectivity-with-windows-azure-powershell-cmdlets/
    This seems like exactly what I need but maybe I'm misunderstanding some of the fundamental concepts.
    Here's what I tried most recently:
    To attempt to get a fresh start I deleted all of the certificates out of my Current User\Personal\Certificates directory. Which (as far as I can tell) is the same directory referenced in Michael's post above when using:
    Get-Item cert:\\CurrentUser\My\$thumbprint
    I then ran the following commands, and when prompted downloaded and saved the .publishsettings file to my desktop:
    Get-AzurePublishSettingsFile
    Import-AzurePublishSettingsFile "C:\Users\<My User>\Desktop\myPubSettings.publishsettings"
    At that point I tried the following:
    # I started with:
    cd cert:\\CurrentUser\My
    dir
    # to look up the thumbprint, then proceeded to set the variables...
    $thumbPrint = "the thumbprint I looked up above."
    $subscriptionName = "My Azure Subscription"
    # Not actually my subscription:
    $subscriptionId = "e234a9-4asb-9asdf-8loremIpsum"
    $mgmtCert = Get-Item cert:\\CurrentUser\My\$thumbprint
    Set-AzureSubscription -SubscriptionName $subscriptionName -SubscriptionId $subscriptionId -Certificate $mgmtCert
    # This line failed, saying Default Subscription was not a valid parameter
    Set-AzureSubscription -DefaultSubscription $subscriptionName
    Set-AzureSubscription -SubscriptionName $subscriptionName –CurrentStorageAccount ‘mystorageaccount’
    After that, I felt reasonably confident that I was logged in. So I tried to run:
    Get-AzureVM
    Which returned the error:
    "Get-AzureVM : Your credentials have expired. Please use Add-AzureAccount to log in again."
    I feel like there are a lot of tips on the internet, but none that I've been able to get working. Is there a known bug, or is it clear based on what I tried above what is wrong? Is it possible to to automate the login to Azure so that I can run scripts from
    C# to perform some of my tasks?
    Thanks for your help, 
    Wes

    Hi,
    Thank you for sharing your solutions and experience here. It will be very beneficial for other community members who have similar questions. If you have any difficulty in future programming, we welcome you to post in forums again.
    Best Regards
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to get Windows Server 2012 trial license key?

    How to get Windows Server 2012 trial license key? I'm trying to install WinServer 2012 Trial on a VMWare Workstation 9. I'm asked for the product key during set up. If I ignore putting in the key (since I don't have one) The install fails stating no valid
    key. I tried this with Oracle's Virtual Box and the same thing happens. I tried using Majic JellyBean to find the key, but that only works on pre-installed OS. A Technet article said to use aaaa-bbbbb-ccccc-ddddd etc. in the spaces. That doesn't work either.
    Articles all over the web seem to have other people in the same boat. Please help :)

    Download the trial version from here -
    http://www.microsoft.com/en-us/server-cloud/evaluate/trial-software.aspx  It does not require a key.  If the software is asking for a key, it is not the trial copy.  Where did you get your copy?
    .:|:.:|:. tim

  • Microsoft SQL Server Express LocalDB / Windows Azure Powershell install fail - SQL writer failed to start

    I'm trying to install Windows Azure PowerShell on my Windows 7 SP1 Enterprise laptop. As a prerequisite, it needs to install Microsoft SQL Server 2012 Express LocalDB, I but keep receiving an error:
    Service 'SQL Server VSS Writer' (SQLWriter) failed to start. Verify that you have
    sufficient privileges to start system services.
    The service that it tries to use by default is the Local Service. I verified that it has log on as a service privileges and even did a restart. Same error.
    any ideas?
    Cross posted in Windows
    Azure

    Hi ,
    According to your description, when you install SQL Server 2012 Local DB , it encounter the error about SQLWriter. We need to verify if you invoke SQLLOcalDB.msi directly, and check
    MSSQL service is running and other service’s status.In addition, you can go to event viewer and check the error logs for analysis.
    There is a similar issue about Service SQL Server VSS Writer and troubleshooting SQL Server 2012 Express LocalDB, you can review the following article.
    http://blog.andreloker.de/post/2008/07/17/SQL-Server-hotfix-KB948109-fails-with-error-1920.aspx#!
    http://social.technet.microsoft.com/wiki/contents/articles/4609.troubleshoot-sql-server-2012-express-localdb.aspx
    Thanks,
    Sofiya Li
    Your Name
    TechNet Community Support

  • How to get window system user?

    Hi,
    How to get window system user use PL/SQL(form develope6i)?

    If you don't use Oracle database then you will have to do one of two things:
    (1) Now I'm back in the office I can check D2KWUTIL. The version I have comes with Forms6.0, so it is somewhat out of date, but it has a method called WIN_API_ENVIRONMENT.Get_Windows_Username - which works for NT/95 only, although I'm sure a later version will support more recent OS.
    (2) If that's no good then you'll have to use whatever facilities your database offers: I only know Oracle.
    I also repeat my suggestion that you try the Forms forum for additional help. This is the Database forum and so is focused on serverside Oracle PL/SQL. For your needs the Developer Suite forums are better.
    Cheers, APC

  • HDD failure, I'd like to know how to get Windows 7 back on it.

    Hello everyone, I've had a HDD issue lately, but before I move on to describe my issue, here are the specs of my notebook:
    HP Pavilion dv6-3264ca
    AMD Triple-Core CPU 2.2 Ghz
    6GB RAM
    128MB ATI Graphic Card
    750GB Toshiba HDD
    Windows 7 64-bit
    The issue:
    Recently I've had a very unfortunate HDD failure. The recovery partition wouldn't even load. I tried booting my notebook on Linux with the HDD still attached, and it wouldn't read. I extracted the HDD and placed it in an HDD-enclosuer and it still wouldn't load on Windows XP or Vista or 7. It would however read in the device manager of Windows and also in the BIOS.
    I needed to extract some high-priority data from there so I managed to retrieve all my data safely through a data recovery service, but now the drive is rendered useless. I was told a low-level format might be able to help it be usable again, and if that were to happen, the recovery partition would then be removed in the process. 
    In addition to that, I would like to install Windows 7 64-bit onto the drive, but the notebook box did not come with an installation CD, which is quite frustrating. Is there any way HP can let me download Windows 7 through some warranty service?
    I have a one-year warranty on my laptop.
    So in closing, I would like to know if I can get Windows 7 back onto my HDD for free, or if I need to go about buying Windows 7 again.
    Any advice from you kind folks?
    This question was solved.
    View Solution.

    Hi,
    Here are Two options.
    1.  If you have ( or can borrow ) a retail Windows 7 installation disc that is exactly the same version as your OEM installation - ie if your notebook came with Windows 7 Home Premium 64bit this is the exact retail version you would need.
    If you don't have access to a retail disc, you can create an installation disc yourself - just download the correct Disc Image from the link below and use an application such as ImgBurn to burn the ISO correctly to a blank DVD.
    http://www.mydigitallife.info/download-windows-7-iso-official-32-bit-and-64-bit-direct-download-link...
    Use the disc to perform the installation, enter the Windows activation key found on the underside of your notebook when requested and when the installation has completed, use the 'Phone Method' detailed in the link below to activate the OS - this method supported by Microsoft and is popular with people who just want a clean installation of Windows 7 without the additional software load normally bundled with OEM installations.
    http://www.kodyaz.com/articles/how-to-activate-windows-7-by-phone.aspx
    Any additional drivers you may need can be found Here.
    2.  You can order a replacement set of Recovery Discs using the link below - these cost around $30 if you live in the US.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00810334&cc=us&lc=en&dlc=en
    If you have any problem with this link, order them directly from HP.
    If you live in the US, contact HP Here.
    If you are in another part of the world, start Here.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • How to get windows 7 on mac

    Hello I have bought my Macbook Pro 13" 2 weeks ago how install i windows 7 on it what do i need to install windows 7??

    hans_k wrote:
    So i need copy disk of windows 7 ISO image
    You know where I can get windows 7 ISO Image??
    You buy it, try Amazon.

  • How to get windows form object of a MMC snapin node using MMC automation object model

    Hello,
    I am using automation object model for an existing mmc file and just trying to traverse all nodes of it. And i am able to do so.
    My query is : how can i get the access of windows form object of a particular node . Windows form is present in result pane of a node, i want to get access of that so that i can perform some automation on that form.
    http://msdn.microsoft.com/en-us/library/aa815049(v=vs.85).aspx
    I found that if OCX control is in result view of any node, then "view object -> control object property" returns
    the automation interface supplied by the control in the result view. 
    However, if result view is HTML view then how to get the automation interface of that result
    view.
    Thanks in advance,
    Sumit

    Hi Sumit,
    I read the link you provide above. It seems that when you want to achieve your target by using MMC automation
    object model, you need to use codes. Based on the programming language, if use VB, I suggest you post the question in
    VB Forum. If you want to use C#, may post in
    C# Forum.
    In addition, there is an answered question, may help you to find the correct forum.
    MMC development forum?
    http://social.microsoft.com/Forums/en-US/3796a8e9-674e-4da0-a40e-4e4b69575c8e/mmc-development-forum?forum=whatforum
    Since, it’s more related to development. We may can’t provide some more detailed information. Thanks for your
    understanding.
    Hope this helps.
    Best regards,
    Justin Gu

  • How to get windows username & password

    Hi friends,
    Requirement is to get windows username & password,
    My server is Tomcat4.0,
    My code in login.jsp page is
    <%
    String auth = request.getHeader("Authorization");
    if (auth == null) {
    response.setStatus(response.SC_UNAUTHORIZED);
    response.setHeader("WWW-Authenticate", "NTLM");
    return;
    if (auth.startsWith("NTLM ")) {
    byte[] msg = new sun.misc.BASE64Decoder().decodeBuffer(auth.substring(5));
    int off = 0, length, offset;
    String s;
    if (msg[8] == 1) {
    off = 18;
    byte z = 0;
    byte[] msg1 = {(byte)'N', (byte)'T', (byte)'L', (byte)'M', (byte)'S',
    (byte)'S', (byte)'P', z,
    (byte)2, z, z, z, z, z, z, z,
    (byte)40, z, z, z, (byte)1, (byte)130, z, z,
    z, (byte)2, (byte)2, (byte)2, z, z, z, z, //
    z, z, z, z, z, z, z, z};
    response.setStatus(response.SC_UNAUTHORIZED);
    response.setHeader("WWW-Authenticate", "NTLM "
    + new sun.misc.BASE64Encoder().encodeBuffer(msg1).trim());
    return;
    else if (msg[8] == 3) {
    off = 30;
    length = msg[off+17]*256 + msg[off+16];
    offset = msg[off+19]*256 + msg[off+18];
    s = new String(msg, offset, length);
    //out.println(s + " ");--------------------------> here getting system_name
    else
    return;
    length = msg[off+1]*256 + msg[off];
    offset = msg[off+3]*256 + msg[off+2];
    s = new String(msg, offset, length);
    //out.println(s + " ");
    length = msg[off+9]*256 + msg[off+8];
    offset = msg[off+11]*256 + msg[off+10];
    s = new String(msg, offset, length);
    out.println("Hello <span style='position:relative; width:190;"
    + " height:10;filter:glow(Color=#009966,Strength=1)'>");
    out.println(s + "</SPAN>");----------------------------------->here getting loginname.
    %>
    from this i was able to get systemname & username,How do i get password.
    Is it possible to get password?
    Thanks,
    Satya.

    There's no way to get the password. NTLM uses a two-round challenge-response scheme which never send the password (neither clear nor encrypted) on the wire.
    Why do you need the user's password? Is your service going to access a backend service using the user's credential? If so, you may need to use Kerberos delegation.

  • How to get windows XP login name in SAP.

    I want get windows XP login name in SAP,  which funcion module can  and How method can, thanks.

    hi,
    GUI_GET_DESKTOP_INFO – Returns information about the end-users desktop
    TH_USER_INFO – Returns information about user
    Try this FM, not sure if it return windown user name....give it a try.
    Hope this helps, Do reward.
    Edited by: Runal Singh on Mar 27, 2008 4:16 PM

  • How to get "Windows Installer CleanUP" application.

    I use PC Vista Home Premium, and I use Adobe Acrobat Standard 8, till now it is working very well and nothing wrong. I would like to install an application of "Windows Installer CleanUP" to my PC for sometime in future I may need to use it, but I do not know how to get it to download and install the "Windows Installer CleanUP" into my PC Vista Home Premium.
    Please help and teach me. Thank you for your time and attentions.

    Since that is a MicroSoft product, you might have more luck at MicroSoft support site or forum dealing specifically with MicroSoft products.

  • How to get windows user identity after deploying code in IIS6.1

    Hi,
    In my asp.net application I have to get windows user identity. My backend is oracle.
    I set the windows authentication mode and impersonate to true. But still I'm not getting the actual windows user name.
    Please tell me how to get it.
    k.Bhaskar.

    Hello,
    For this kind of issue please consult on IIS forum:
    http://forums.iis.net/
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to get Windows to find airport disk?

    I know that I have to get Bonjour to find the airport disk, but the Bonjour that there is for download is just for printer wizard. It won't find the disk, will it? I have no idea how to get Bonjour to find something else besides printer for windows.
    And more, when I put a USB hub and add a printer + HD to airport extreme, the power is just enough to run the diskor something. My HD just disappears from the airport extreme. My HD is WD 250GB Passport III Media (FAT32 format)
    Pls help. and Thx in adv.
    By the way, the windows we use is XP and Bonjour 1.0.5
    Message was edited by: PowerBon

    The USB port on the AirPort Extreme base station (AEBS) is not designed by Apple to provide power to the hard drive.
    Apple recommends using a powered hard drive or a powered USB hub to power the hard drive.

Maybe you are looking for

  • Iphone not being recognised in itunes

    is anyone able to help me? i have recently got a new laptop with windows 8  i transferred my library and installed itunes however itunes won't recognise any device.  i've tried my iphone and my daughters ipod touch. i can't back up, sync or anything.

  • Open note to Lenovo and fourm members:

    I have had three posts deleted in less than 24 hours, I assume because they were derogatory to Lenovo.  It matters little to me what they do on their own forum but if they can not take a little heat they ought to get in the kitchen and take care of s

  • ABAW - Balance sheet reval process

    Hello, Our business wants the assets revalued. I am using code abaw and posting the difference between the current value and the expected value to get to my final value. Is there a way I can post the expected value and sap posts a difference entry? W

  • User exit to set user status for quote

    Hi, I need to update the user status in the header of quotation (using VA22) based on some conditions. I checked the user exit's under 'MV45AFZZ' but no use. Could any one please provide me where I can write the code to put the conditions before upat

  • Help: My dock froze while installing Microsoft office: Mac

    I was installing Microsoft Office 2008: Mac when the downloader got stuck at a certain point and the estimated time until finish is only increasing and the download bar is not moving. I tried to open up Firefox while this was happening and this resul