I have a new computer and i can’t run the a script i use to run on my old one.
I get an error message
PS F:> Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn;
Add-PSSnapin : No snap-ins have been registered for Windows PowerShell version 5.
At line:1 char:1
What problem do you try to solve actually? We actually do not use snapins anymore. On an on premisses Exchange server you can launch an Exchange management shell with launchems. If you want to manage an Exchange server remotely you should use implicit remoting to use the Exchange cmdlets.
Implicit remoting is great. If you really want the old snappin you’ll have to install the exchange management tools for the specific version. I believe you can still access older exchange with newer tools. There is also an unsupported remote exchange setup script you can find on the internet. I believe I even posted it as an answer on this very forum, I’ll try to find it.