Quantcast
Channel: AutoSPInstaller
Viewing all articles
Browse latest Browse all 2279

Commented Unassigned: Remote session fails - CommandNotFoundException [21418]

$
0
0
Hello.

I am getting this error when AutoSPInstaller attempts to install SharePoint 2013 on remote Windows 2012R2 servers:

- Starting remote session to SERVER2...
- SharePoint 2013 binaries are not yet installed on SERVER2.
- Launching AutoSPInstaller...
The term '\\server1\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerMain.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
+ CategoryInfo : ObjectNotFound: (\\server1...stallerMain.ps1:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
+ PSComputerName : SERVER2

- Removing session "AutoSPInstallerSession-SERVER2..."

I have tried the suggestions in the documentation but they have not worked for me. Has anybody else encountered and resolved this issue? I can manually browse to the script on server1 from server2 so I know it's accessible.
Comments: ** Comment from web user: DaiWebb **

Brian,

Thanks for the reply. I can confirm that the missing slash was a typo when I replaced my own server name with 'Server1', so that isn't the problem.

I also made sure that UAC is off on all servers, and I am running AutoSPInstaller as a domain admin that is also a local administrator on all servers.

The only solution I have found so far is to run AutoSPInstaller on the remote machine manually.

Regards,
Dave


Viewing all articles
Browse latest Browse all 2279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>