Remotely manage non-domain joined servers


In this short blog I'll take you through the process of managing a remote server that is not yet in your domain and therefore not under your scope of management.

Verify the server is on the network and accessible with a ping command.

The first step is to edit the trusted hosts list on the server we are working from, to say we want to allow commands and operations to be sent and received from the server that is NON-Domain joined, in this case a server called 'MyServer01'.


Edit the trusted hosts list:


Verify the trusted hosts list change using the Get-Item commandlet:


Connect to our server:
I use a variable to provide credentials using $Cred = Get-Credential. I typed the 10.1.1.4\Administrator and then my password to confirm the credential. We can now enter a remote powershell session using the Enter-PSSession commandlet, providing the computername and the credential, using the credential variable we created above.


We can now manage our server, lets add it to our Domain, Contoso.com




We can now address the server by it's name and install features and roles.

Comments

Popular posts from this blog

VM Tools fail to upgrade with vix error 21007

Deploy Multiple VM's with PowerCLI and a vCenter Custom Spec.