พอดีลองใช้งาน Connect-MsolService เพื่อตั้งค่า user's password to never expire บน Office 365 แต่ได้ Error ตามภาพ
ลองทำตาม URL นี้ https://support.office.com/en-us/article/set-an-individual-user-s-password-to-never-expire-f493e3af-e1d8-4668-9211-230c245a0466
PS C:\Windows\system32> Connect-MsolService
Connect-MsolService : The term 'Connect-MsolService' 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
+ Connect-MsolService
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Connect-MsolService:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException