if you change the filepath to something like c:\windows\system32\notepad.exe 
with no arguments will it invoke?






From: Casey Robertson
Sent: ‎Thursday‎, ‎4‎ ‎December‎ ‎2014 ‎12‎:‎08‎ ‎PM
To: [email protected]






Nope.

 


Casey Robertson

Systems Engineer

W 619.878.9099

E [email protected]

 

MINDBODY, Inc.

4051 Broad Street, Suite 220

San Luis Obispo, CA 93401

 

   Logo-for-email-signature.jpg 

 



From: [email protected] [mailto:[email protected]] On 
Behalf Of steven hosking
Sent: December 3, 2014 3:47 PM
To: [email protected]
Subject: RE: [mssms] Why is this Invoke-Command failing for installing the SCCM 
client?

 



Is the ccmsetup.log file being created on the target machine? 

Sent from my Windows Phone






From: Casey Robertson
Sent: ‎4/‎12/‎2014 10:39 AM
To: [email protected]
Subject:  [mssms] Why is this Invoke-Command failing for installing the SCCM 
client?



I have a startup script in place but servers will have to reboot.  Security is 
restrictive so while the clients can talk to the site server via port 80 it 
can’t talk back over the ports needed for client push.  SO…..rather than wait 
for these servers to reboot (it’s a DEV environment) I’m trying this from a 
management box (that doesn’t have SCCM).  But nothing happens…no errors.  What 
am I missing?  Something with x64 vs x86 or something obvious?  Both source and 
target servers are Windows 2012 R2.  I got Invoke-Command to run a 
WebClient.DownloadFile to get the ccmsetup.exe but this 2nd part to kick off 
install isn’t happening.

 

PS C:\Windows\system32> Invoke-Command -ComputerName SERVER01 -ScriptBlock 
{Start-Process -FilePath "C:\Windows\Temp\ccmsetup.exe" -ArgumentList 
"/mp:10.9.24.240"} 

 

 

Casey Robertson

Systems Engineer

W 619.878.9099

E [email protected]

 

MINDBODY, Inc.

4051 Broad Street, Suite 220

San Luis Obispo, CA 93401

 

   Logo-for-email-signature.jpg

Reply via email to