Tag Archives: Powershell

Microsoft Outlook for Android will require Android 9.0 or above starting 10th July 2023

Beginning 10th July 2023, Outlook for Android will no longer support Android 8.x or below.  Users will need to upgrade their Android operating system to Android 9.0 or newer.  If this is not possible then the Android device will need to be replaced with a device that is able to run Android 9.0 or newer.

If users are using Outlook for Android on phones running an older version of Android, they will no longer be able to update to newer versions of Outlook for Android when Microsoft  implement this change.

It should be possible to use the “Get-MobileDevice” powershell command to export a list of devices that are using ActiveSync.  Using this report it should then be possible to review which Android devices are still running an OS that is too old.

Get-MobileDevice | Export-Csv -Path “c:\getmobiledevice\devices.csv”

When using the powershell command above please make sure that the output folder exists.  In this case I created a folder called “getmobiledevice” on the root of C:\

Windows Server 2012 and Windows 8 client/server readiness cumulative update released

Windows Server 2012 and Windows 8 client/server readiness cumulative update has been released

This update provides performance and reliability improvements that will improve the Windows Server 2012 and Windows 8

The update includes the following performance and reliability improvements:

  • Addresses PowerShell issue with certain localized languages when a Language Interface Pack is installed
  • Improves SMB service and client reliability under certain stress conditions
  • Improves clustered server performance and reliability in Hyper-V and Scale-Out File Server scenarios

You can obtain the update from Microsoft Article KB 2758246 http://support.microsoft.com/kb/2758246

Powershell Script to Determine Active User Count for Microsoft Exchange 2010 and Exchange 2007

A script that I came up with to determine the user load that is being placed on a particular Exchange server so that you can plot the days of the week and times of the day that are busiest. This Powershell Script can be used with GFI Max Remote Management or SpiceWorks to easily identify busy Exchange servers.

$GETMSEXCHISAUC = Get-Counter ‘\MSExchangeIS\Active User Count’
$MSEXCHISAUC = $GETMSEXCHISAUC.CounterSamples |Select-Object CookedValue
Write-Host You have $MSEXCHISAUC.CookedValue Active Exchange User Connection\s to the Exchange Server

Feel free to edit the text part of the output (Last line), this could be simplified if required.

Automate the Microsoft Windows SBS 2011 Server Solutions Best Practices Scan

To be able to use the script you will need to have installed the Microsoft Baseline Configuration Analyzer 2.0 (MBCA) http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=16475 and the Windows Server Solutions Best Practices Analyzer 1.0 http://www.microsoft.com/download/en/details.aspx?id=15556 (Update to version 1.1 via Microsoft Update after manually installing 1.0)

Now that we have all the pre-requisites installed we can focus on the Powershell Script that allows us to automate the scanning process.  The script below will initilise the MBCA and then carry out a Best Practices scan based upon the Server Solutions BPA, this can either be used as a standard powershell script where required or setup to run on a schedule with GFI Max Remotemanagement or SpiceWorks.

 

Import-module BaselineConfigurationAnalyzer

Get-MBCAModel

Invoke-MBCAModel -ModelId WSSGBPA

 

This should return a “Success: True” if everything matches the Best Practices Analyser.