About Helen Staddon

This author has not yet filled in any details.
So far Helen Staddon has created 67 blog entries.

Running a powershell command remotely as a different user

By |2018-06-11T17:45:23+00:00June 11th, 2018|Windows Server|

Recently we had an issue where we couldn't remote on to a servers that were unpatched with the May security patches from machines that had been patched (See my previous blog: http://www.risual.com/2018/06/11/rdp-authentication-error-due-to-the-credssp-encryption-oracle-remediation-error). Unfortunately one of [...]

One liner for last logon to Exchange online!

By |2018-06-06T09:57:32+00:00June 6th, 2018|Exchange|

Here's a handy one liner to get the last logon for every user to exchange online:   Get-Mailbox -resultsize unlimited | select Displayname,@{Name='LastLogonTime'; Expression={[String]::join(";",((Get-MailboxStatistics -identity $_.userprincipalname).LastLogonTime))}},@{Name='TotalMailboxSize'; Expression={[String]::join(";",((Get-MailboxStatistics -identity $_.userprincipalname).TotalItemSize))}},@{Name='Database'; Expression={[String]::join(";",((Get-MailboxStatistics -identity $_.userprincipalname).Database))}},UserPrincipalName, @{Name='MailboxType'; Expression={[String]::join(";",((Get-MailboxStatistics -identity [...]

Load More Posts