about_VMM_2012_Connecting_to_the_VMM_Server

Applies To: System Center 2012 R2 Virtual Machine Manager

about_VMM_2012_Connecting_to_the_VMM_Server

TOPIC
    about_VMM_2012_Connecting_to_the_VMM_Server

SHORT DESCRIPTION
    Provides an overview of connecting to the VMM management server by 
    using the VMM command shell in Virtual Machine Manager (VMM) for
    System Center 2012.

LONG DESCRIPTION

    If you have created a connection to a VMM management server by using the
    user interface (UI), when you open a VMM command shell, that command shell
    session automatically connects to the same VMM management server. For more
    information about connecting to the VMM management server by using the UI, 
    see "How to Connect to a VMM Management Server by Using the VMM Console" in
    the TechNet Library at https://go.microsoft.com/fwlink/?LinkId=225218.

    If you have not previously connected to the VMM management server using the
    UI, you need to use Get-SCVMMServer to establish a connection. After a 
    connection to the VMM management server is established, all future commands
    run at the VMM command shell command line that require the VMM management 
    server object will automatically use the existing connection until you 
    close that VMM command shell window.

    If you connect to a VMM management server by using the VMM command shell
    and establish a connection with your VMM management server, by default,
    that connection will only exist until you close that VMM command shell 
    window. To create a connection to a VMM management server that will persist
    from session to session, you can use the SetAsDefault parameter.

    You can connect to a different VMM management server by using 
    Get-SCVMMServer. By default, the connection uses port 8100. If you need to
    connect to the VMM management server with a different port, use the TCPPort
    parameter when establishing the connection.

    Additionally, you can choose the user role with which you connect to the 
    VMM management server. If you are a member of multiple user roles, use the 
    UserRoleName parameter to specify the user role you want to use to 
    establish the connection. For more information about user roles, see 
    about_VMM_2012_Role_Based_Security.


SEE ALSO
    about_VMM_2012
    about_VMM_2012_Cmdlet_and_Parameter_Name_Mapping
    about_VMM_2012_Cmdlet_Backward_Compatibility
    about_VMM_2012_Role_Based_Security
    Get-SCVMMServer