Forum Discussion
cllee
May 24, 2020Brass Contributor
The term '...' is not recognized as the name of a cmdlet
Hi, I am new to PowerShell. I am running on Win7 and I have the following module installed. I constantly hit with error: The term '...' is not recognized as the name of a cmdlet, functi...
- 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
PeterRising
May 24, 2020MVP
Hi, what are you trying to do it PowerShell please? There are any number of modules you may need. It would help if you could explain what you want to achieve and then we can try and advise you.
Playd2
Oct 15, 2024Copper Contributor