Powershell question....
pjd007
Member Posts: 277 ■■■□□□□□□□
I had a question in my last exam which was asking what command to run (it was a drop down style question with multiple answers) to validate if a file copy could be run on some VM's which had Server 2008 installed.The below command shows that the Data Exchange Integrated Services option is set for server DC1 which has Win 2012 R2 installed but I seem to remember dataexchange was one of the available answers (it was a parameter that could be used for running a powershell command) so would that be at all valid say if I was running the command on a Win 2008 server ?
Get-VM –Name dc1 | Get-VMIntegrationService –Name "Key-Value Pair Exchange"
VMName Name Enabled PrimaryStatusDescription SecondaryStatusDescription
DC1 Key-Value Pair Exchange True
Ok so I just read up on this and it appears the Guest Service is the one that needs to be running on Win 2012 R2 to allow the file copy and it doesn't look possible in Win 2008, hmm wonder if I've remembered the question details correctly but dataexchange was definitely part of the answer and I think I selected it !
Get-VM –Name dc1 | Get-VMIntegrationService –Name "Key-Value Pair Exchange"
VMName Name Enabled PrimaryStatusDescription SecondaryStatusDescription
DC1 Key-Value Pair Exchange True
Ok so I just read up on this and it appears the Guest Service is the one that needs to be running on Win 2012 R2 to allow the file copy and it doesn't look possible in Win 2008, hmm wonder if I've remembered the question details correctly but dataexchange was definitely part of the answer and I think I selected it !