When you try to create an export in SPSE, you are getting the following error:
We couldn't detect a SharePoint installation on this machine. Please execute the SharePoint ReverseDSC script on an existing SharePoint server.
This is caused by the fact that the code is specifically checking for the snapin, which is no longer used/available in SPSE.
Verbose logs
N/A
DSC configuration
N/A
Suggested solution
Update the code to also check for the module.
SharePoint version and build
SPSE
Operating system the target node is running
Windows 2022
PowerShell version and build the target node is running
Problem description
When you try to create an export in SPSE, you are getting the following error:
We couldn't detect a SharePoint installation on this machine. Please execute the SharePoint ReverseDSC script on an existing SharePoint server.
This is caused by the fact that the code is specifically checking for the snapin, which is no longer used/available in SPSE.
Verbose logs
DSC configuration
Suggested solution
Update the code to also check for the module.
SharePoint version and build
Operating system the target node is running
PowerShell version and build the target node is running
SharePointDsc version