Forum Discussion
The term '...' is not recognized as the name of a cmdlet
- May 24, 2020
OK, please try the following commands in PowerShell;
Install-Module MSOnline
then,
Import-Module MSOnline
then try to connect to the MS Online service by entering;
Connect-MsolService
You should be prompted now for your M365 Global Admin credentials. Login and you can run the Get-MsolUser commands.
In order to execute the Get-ADUser commands, try running Import-Module activedirectory
I am trying to run the Set-CsUser command but it throws an error "The term 'Set-CsUser' is not recognized as the name of a cmdlet." I guess I am missing that cmdlet in a module? Can you please guide me on how to fix this. Thank you.
when i installing exchange server i face error on the prerequisite
Install–WindowsFeature : The term 'Install–WindowsFeature' 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.
At line:1 char:1
+ Install–WindowsFeature RSAT–Clustering–CmdInterface, NET–Framework–45 ...
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Install–WindowsFeature:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
this is the error