I got the below errow while trying to create a AppDomain by using the below PowerShell command.
Set-SPAppDomain -AppDomain Apps.EnjoySharePoint.com
Set-SPAppDomain:The term 'Set-SPAppDomain' 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
At line:1 char:1
+ Set-SPAppDomain "Apps.EnjoySharePoint.com"
+ CategoryInfo : ObjectNotFound: (Set-SPAppDomain:String) , CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException