Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources: Active Threads
Viewing all articles
Browse latest Browse all 8411

Getting Started

$
0
0

I no idea how to begin using this tool.  I found and algorithm to change my password for my office account because I have been having so much trouble getting things done right with Microsoft support.  Here it is:

·         You can do it through PowerShell:

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri ps.outlook.com/powershell -Credential $cred -Authentication Basic -AllowRedirection

Import-PSSession $Session

set-mailbox -identity user@domain.com -PrimarySMTPaddress newaddress@domain.com

Remove-PSSession $Session

That looks pretty simple but I have no clue as to how to do it.  Where do I start?  Run (flag +R) then what program am I going to run and what is the format for this type of entry. 

type this in?  "$cred=Get-Credential" without the quotation marks!


Viewing all articles
Browse latest Browse all 8411

Trending Articles