Guest credentials for Windows trial VM

%3CLINGO-SUB%20id%3D%22lingo-sub-62796%22%20slang%3D%22en-US%22%3EGuest%20credentials%20for%20Windows%20trial%20VM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-62796%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%20I%20have%20set%20up%20a%20virtual%20machine%20using%20the%20Windows%2010%20trial%20VM%20for%20Hyper-V%20(%3CA%20href%3D%22https%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fmicrosoft-edge%2Ftools%2Fvms%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fmicrosoft-edge%2Ftools%2Fvms%2F%3C%2FA%3E%2C%20preview%2015.15).%20I%20would%20like%20to%20use%20Powershell%20Direct%20to%20run%20Powershell%20scripts%20on%20my%20VM.%20I%20believe%20I've%20successfully%20enabled%20PSRemoting.%20I%20enter%20the%20command%20%22Enter-PSSession%20-VMName%20%24VMname%22%20on%20my%20host.%20I%20am%20then%20asked%20to%20enter%20the%20credentials%20of%20the%20guest%20machine.%20I%20tried%20searching%20in%20the%20installation%20instructions%20and%20learned%20that%20one%20can%20sign%20in%20as%20IEUser%2FPassw0rd!%20by%20default.%20However%20this%20doesn't%20seem%20to%20be%20a%20valid%20credential.%20I%20can't%20tell%20if%20there%20is%20a%20default%20credential%2C%20a%20credential%20is%20stored%20somewhere%20on%20the%20computer%2C%20or%20I%20need%20to%20make%20a%20credential.%26nbsp%3BI%20would%20greatly%20appreciate%20your%20advice%20on%20the%20matter.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-62796%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EVirtual%20Machine%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-62831%22%20slang%3D%22en-US%22%3ERe%3A%20Guest%20credentials%20for%20Windows%20trial%20VM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-62831%22%20slang%3D%22en-US%22%3E%3CP%3EI%20managed%20to%20resolve%20the%26nbsp%3Bissue.%20I%20updated%20the%20hyper-v%20configuration%20for%20the%20vm%20from%205%20to%208.%20I%20then%20used%20the%20credential%26nbsp%3B%22Host%20computer%20name%22%5CIEUser%20%26nbsp%3Bwith%20password%20Passw0rd!.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-583697%22%20slang%3D%22en-US%22%3ERe%3A%20Guest%20credentials%20for%20Windows%20trial%20VM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-583697%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F51278%22%20target%3D%22_blank%22%3E%40Bob%20Joe%3C%2FA%3E%26nbsp%3BAnd%20that's%20a%20zero%20not%20a%20capital%20O%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hello, I have set up a virtual machine using the Windows 10 trial VM for Hyper-V (https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/, preview 15.15). I would like to use Powershell Direct to run Powershell scripts on my VM. I believe I've successfully enabled PSRemoting. I enter the command "Enter-PSSession -VMName $VMname" on my host. I am then asked to enter the credentials of the guest machine. I tried searching in the installation instructions and learned that one can sign in as IEUser/Passw0rd! by default. However this doesn't seem to be a valid credential. I can't tell if there is a default credential, a credential is stored somewhere on the computer, or I need to make a credential. I would greatly appreciate your advice on the matter.

 

Thank you. 

2 Replies
Highlighted

I managed to resolve the issue. I updated the hyper-v configuration for the vm from 5 to 8. I then used the credential "Host computer name"\IEUser  with password Passw0rd!.

Highlighted

@Bob Joe And that's a zero not a capital O