In this example, the client had a need of accessing the disks directly, while sharing a LSI Megaraid controller which was on IT mode. This enabled the controller to have it’s own set of disks in an array, and also 6 disks with 4TB each that were needed as direct disks to the VM. Start by configuring the desired disks … Read More
Connect to O365 via Powershell We will have to define the Language and Timezone first. get-mailbox | Set-MailboxRegionalConfiguration -Language -TimeZone For the timezone, select the middle value: To apply the desired language and timezone for all the mailboxes on your tenant, use the following syntax: get-mailbox | Set-MailboxRegionalConfiguration -Language 1033 -TimeZone “S.A. Eastern Standard Time” … Read More
Connect to O365 Sometimes we may have the need to change the time-out period for our OWA sessions while using O365. O365 supports 15 minutes (00:15:00) at its lowest setting, up to 8 hours (08:00:00), with the default being 6 hours. Set-OrganizationConfig -ActivityBasedAuthenticationTimeoutEnabled $true -ActivityBasedAuthenticationTimeoutInterval 00:15:00 -ActivityBasedAuthenticationTimeoutWithSingleSignOnEnabled $true Disabling the time-out period for Office 365 is currently not supported.
Install-Module -Name AzureAD $UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection Import-PSSession $Session