I just typed the follow to try and get my SharePoint site:
$site = Get-SPSite -Identity $siteID
And I get the following error message:
The term 'Get-SPSite' is not recognized as the name of a cmdlet, function, script..
So after some searches, Apparenty I have to add the following line:
Add-PSSnap in Microsoft.SharePoint.Powershell
but when I run it, I get the following message: Add-PSSnapin: No snap-ins have been registered for Windows Powershell version 5
Any idea of what I'm doing wrong?
Thank you for help :)