Fazer uma PerguntaFazer uma Pergunta
 

RespondidoVMM Powershell

  • sexta-feira, 24 de abril de 2009 8:42College Guy Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    I've created a Virtual Machine Manager PS script which runs perfectly well from the server hosting VMM, but when I try to run it from a remote PC I receive the following error everytime I try to execute a command;

    "Contact the Virtual Machine Manager administrator to verify that your account is a member of a valid user role and then try the operation again."

    The account I am logged in with is a member of the VMM Administrator role, and I'm even using the same account from the server when it works.

    Does anyone know what could be causing this?

Respostas

Todas as Respostas

  • sexta-feira, 24 de abril de 2009 9:02Fredrik Wall Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Are they in the same domain, the server and the remote PC?
    Have you the firewall on?


    Regards, Fredrik Wall http://poweradmin.se/blog
  • sexta-feira, 24 de abril de 2009 9:03College Guy Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Yes they are in the same domain, firewall is turned off opn the PC and server.  I can access all of the resources on the server (outside of powershell), using for example the VMM admin console, or browsing shares.
  • segunda-feira, 27 de abril de 2009 11:29College Guy Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Anyone have any ideas on this one?
  • segunda-feira, 27 de abril de 2009 12:17Marco ShawMVP, ModeradorMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    So, if you create it via PowerShell, you can't start it from the remote PC...  If you create it via the UI, then can you start it from that same remote PC?

  • segunda-feira, 27 de abril de 2009 13:13College Guy Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    No perhaps I need to clarify.

    If I load up powershell on the VMM Server, and run the script (which creates a VM), everything works perfectly..... just the same as if I had created the VM using the VMM Admin Console GUI.

    However, if I run the same script from a PC, I get an error saying;

    "Contact the Virtual Machine Manager administrator to verify that your account is a member of a valid user role and then try the operation again."

    Im logged in with the same account I was using from the server.

    Does that make sense?

  • terça-feira, 23 de junho de 2009 14:53Karl Mitschke Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    Did this ever get resolved?

    If not, can you post the complete script, and show what line causes the error?

    I have no SCVMM, so any response will be a SWAG on my part, but it might help, and if I get curious enough, I might load up SCVMM on my home system

    Karl

  • terça-feira, 23 de junho de 2009 14:57College Guy Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido
    Well sort of, the workaround is to install the VMM Admin Console on the PC from which you wish to run the script.
    • Marcado como RespostaCollege Guy terça-feira, 23 de junho de 2009 14:57
    •  
  • terça-feira, 23 de junho de 2009 15:00Karl Mitschke Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Well sort of, the workaround is to install the VMM Admin Console on the PC from which you wish to run the script.

    That's not actually a workaround, it's the way things work with Version 1 powershell - you can't use the tools if they aren't installed locally ;)