Office version information script
Office 365 (Office) Tuesday, 14 June 2022 by paul

The following script returns information about the current installed version of Microsoft Office including:

  • Version of Office
  • Office Products installed
  • Update Channel
  • Has Update Channel been changed (requiring OfficeC2RClient.exe being run)
  • Platform (32/64 bit)
# Get Office install data

$VersionToReport = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" -Name "VersionToReport" | Select -ExpandProperty VersionToReport
$ProductReleaseIds = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" -Name "ProductReleaseIds" | Select -ExpandProperty ProductReleaseIds
$UpdateChannelChanged = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" -Name "UpdateChannelChanged" | Select -ExpandProperty UpdateChannelChanged
$AudienceData = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" -Name "AudienceData" | Select -ExpandProperty AudienceData
$Platform = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" -Name "Platform" | Select -ExpandProperty Platform

$ProductReleaseIds = $ProductReleaseIds.replace(',','; ')

$output="$VersionToReport, $Platform, $ProductReleaseIds, $AudienceData, $UpdateChannelChanged"
Write-Output $output

 

Check Team Creation restricted to security group
Office 365 (Teams) Tuesday, 14 June 2022 by paul

To check if Microsoft Team creation is restricted to a security group run the following PowerShell:

# Uninstall Azure AD module
Uninstall-Module AzureAD
# Install the latest AzureADPreview module
Install-Module AzureADPreview
Connect-AzureAD
$settingsObjectID = (Get-AzureADDirectorySetting | Where-object -Property Displayname -Value "Group.Unified" -EQ).id
$groupSettings = (Get-AzureADDirectorySetting -Id $settingsObjectID)
$groupSettings.Values

In the output check if the value EnableGroupCreation is set to false. This will restrict Team creation to a security group. The value GroupCreationAllowedGroupId specifies which security group has access to create Teams.

Microsoft 365 DLP encrypted email exception not working
Office 365 (DLP) Wednesday, 01 June 2022 by paul

When configuring Microsoft Purview DLP rules for exchange there is an option for adding an exception for Message Type Encrypted. This does not work for Office 365 Message Encryption (OME). Instead use message type “Permission Controlled”.

Thanks to Tony Redmond for pointing this out at Office 365 Pros: https://office365itpros.com/2022/02/24/data-loss-prevention-email-exceptions-encryption/

Microsoft Windows Server issue after this months Windows Updates
Microsoft (Patch) Wednesday, 25 May 2022 by paul

May Patch Tuesday introduced an issue when applied to Domain Controllers using NPS or RRAS.

Microsoft last week released some out of band patches which you need to apply, to DCs, if they are affected by this months paches.

The company released the following cumulative updates for installation on Domain Controllers (no action needed on the client-side):

Microsoft also released standalone updates: 

More info on BleepingComputer: https://www.bleepingcomputer.com/news/microsoft/microsoft-emergency-updates-fix-windows-ad-authentication-issues/

Windows Touch command
Windows (Touch) Wednesday, 16 March 2022 by paul

Windows does not have a touch command built in but you can run the following copy command to update the timestamps on all the files in a folder.

forfiles /p "." /c "cmd /c copy /b @path+,,"

 

Page 1 of 93 (466 Articles) << 1 2 3 4 5  Next >>