Very first #PowerShell Basic

In windows 10, you just need to do run,

  1. Type “Powershell” and choose “Windows PowerShell ISE”
  2. You must have office365 Login
    1. $UserCredential = Get-Credential –it will ask for login credentials
    2. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
    3. Import-pssession $session

Thats it!!!, you are now ready to run some of your basic commands

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top