Just a little something I pulled together

I do a load of workshops with customers, and in support of this, I had created what can loosely be described as a Workshop Manual.  Anyway, I have just updated it for use with R3/Outlook Live and the latest and greatest versions of the PowerShell/WinRM CTP releases.

Here it is:

http://cid-c76eae4d4a509fbd.skydrive.live.com/embedrowdetail.aspx/Public/labs/OutlookLivePowerShellWorkshopManual.docx

  It has even now got a Table of Contents, and everything!

Happy to make adjustments to this, if any wants me to.

Jonny

Advertisements

10 Responses to Just a little something I pulled together

  1. MARY says:

    Thanks for the excellent explanation for getting started with the latest version–everything worked like a charm for me. Can you add an addendum for adding a "profanity filter" and "restricting mail flow" in the new world version when you get a moment of free time? These are two important issues for K-12 education.Cheers,Mary

  2. James says:

    I get this message whenever I try to run the CSV_Parser R3 script. I\’ve got CTP3 of WinRM and powershell installed on Vista. Our Exchange Labs was Any ideas what this message means and why I can\’t run the script? @{ErrorCode=-2144108528; TransportMessage=The WS-Management service cannot process a SOAP header in the request that is marked as mustUnderstand by the client. This could be caused by the use of a version of the protocol which is not supported, or may be an incompatibility between the client and server implementations. ; ErrorRecord=Connecting to remote server failed with the following error message : The WS-Management service cannot process a SOAP header in the request that is marked as mustUnderstand by the client. This could be caused by the use of a version of the protocol which is not supported, or may be an incompatibility between the client and server implementations.; StackTrace=; Message=Connecting to remote server failed with the following error message : The WS-Management service cannot process a SOAP header in the request that is marked as mustUnderstand by the client. This could be caused by the use of a version of the protocol which is not supported, or may be an incompatibility between the client and server implementations.; Data=System.Collections.ListDictionaryInternal; InnerException=; TargetSite=; HelpLink=; Source=}

  3. US LiveAtedu says:

    @No nameThis could be a number of things… contact me on mail at jonncha AT microsoft.com and I will connect you with a specialist in your region… or help you myself.

  4. Dave says:

    When I run the instructions for connecting Windows PowerShell to Outlook Live I get this response. I am including what I imput also.PS H:\\> $LiveCred = Get-Credentialcmdlet Get-Credential at command pipeline position 1Supply values for the following parameters:CredentialPS H:\\> $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/k.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirectionNew-PSSession : [ps.outlook.com] Connecting to remote server failed with the following error message : The WinRM client sent a request to an HTTP server and got a response saying the requested HTTP URL was not available. This is usually returned by a HTTP server that does not support the WS-Management protocol.At line:1 char:25+ $Session = New-PSSession <<<< -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/k.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection + CategoryInfo : OpenError: (System.Manageme….RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin gTransportException + FullyQualifiedErrorId : RemoteRunspaceOpenFailedPS H:\\>

  5. US LiveAtedu says:

    @ No name (are you the same No Name as the last guy? :))Thinking that your domain is not fully provisioned yet. Can you log on to the domain at outlook.com with your admin account?Feel free to ping me at jonncha AT microsoft.com if you like.

  6. cairull says:

    hye jonny,can i know where can i get the new script (csv_parser) in order to do the provisioning part. hope to hear from you soon.Thanks.

  7. US LiveAtedu says:

    You can obtain the new script from http://connect.microsoft.com/ Sign up for access to the Outlook Live CONNECTION, and you will see the script in there in the downloads section.

  8. US LiveAtedu says:

    On scheduling a batch job… this is what I got to work for me (using Windows Scheduler). I use 3 files in total.- A createusers.bat file containing the following command (this is what I schedule to run):powershell.exe -command "& \’c:\\tools\\batch.ps1\’ "- A batch.ps1 file containing:$Username = "admin@contososchool.info"$Password = ConvertTo-SecureString \’MyPassword\’ -AsPlainText -Force$Livecred = New-Object System.Management.Automation.PSCredential $Username, $Passwordc:\\tools\\CSV_Parser_R3.PS1 -UsersFile c:\\tools\\students.csv -LiveCredential $Livecred -LogDirectory c:\\tools\\Logging\\ -ValidateAction $trueget-pssession | remove-pssession- CSV_Parser.ps1 – no mods

  9. Isra says:

    Hi Jonny!I\’m having problems when trying to connect my PS to OL.. I can run some cmdlets but when I try to open a session it always dislays the next error message:[ps.outlook.com] Processing data from remote server failed with the following error message: The Windows Remote Shell cannot process the request; the selector value F077D99A-A975-49AF-8748-C6CCE73BCCDE specified in the request was not found. For more information, see the about_Remote_Troubleshooting Help topic. + CategoryInfo : OpenError: (System.Manageme….RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException + FullyQualifiedErrorId : PSSessionOpenFailedBTW I\’m currently using Windows 7 RC Build 7100… Any ideas?Thanks in advance,Israel

  10. US LiveAtedu says:

    @IsraelWin7 RC build does not work with Outlook Live PowerShell. Will do at some point in the next few months though.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: