Office 365 Counting License Usage Details in PowerShell

PowerShell Office 365 - Office 365 Counting License Usage Details in PowerShell

Counting the licensing usages and checking out the license details in Office 365 using PowerShell is a lot easier than going through the admin console. First, install the module if you haven’t done, and connect to Azure AD with your Office 365 subscription. Install-Module msonline Connect-MsolServie To list of the licensing plans available in my tenant: Get-MsolAccountsku To view a […]

Office 365 Shared Mailbox Sent Items Copy Feature

PowerShell Office 365 - Office 365 Shared Mailbox Sent Items Copy Feature

By default, emails sent from Shared Mailbox are only saved in the user’s Sent Items folder but ideally, it can be also copied in the Shared Mailbox’s Sent Items folder as well. To enable this Sent Items Copy feature, First, connect to Office 365 using: $userCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection […]

How To Print Test Pages on All Printers

image - How To Print Test Pages on All Printers

Other than open every single installed printer to print test pages, here is a much better way that you can do it all at once. Get-CimInstance Win32_Printer | Invoke-CimMethod -MethodName PrintTestPage If you only want to certain printers, use the -Filter switch. Get-CimInstance Win32_Printer -Filter “Name LIKE ‘*name*’ | Invoke-CimMethod -MethodName PrintTestPage You can even use Get-Printer cmdlet to pick […]