Raporty klientów Office 365
📦 Office 365 POWERSHELL ChrisTitusTechKonfiguruje raporty klientów Office 365 przez edycję pliku configuration.mof. Umożliwia zbieranie danych o wersjach Office w środowisku SCCM/ConfigMgr.
Opis
Appends the configuration.mof file in the Configuration Manager installation directory with the content of configuration.txt.
📄 Setup-Office365ClientReports.ps1
🕒 2026-04-13
📦 Źródło: christitustech
Setup-Office365ClientReports.ps1
function Edit-ConfigurationMofFile{
<#
.Synopsis
Edits the configuration.mof file.
.DESCRIPTION
Appends the configuration.mof file in the Configuration Manager installation directory with the content of configuration.txt.
.PARAMETER configMofTxt
The name of the configuration.txt file.
.EXAMPLE
Edit-ConfigurationMofFile
Appends the content inside of configuration.txt into the configuration.mof file.
#>
Param(
[Parameter(Mandatory=$false)]
$configMofTxt = "configuration.txt",
[System.Management.Automation.PSCredential]$Credentials
)
Begin{
$ConfigMofFileName = "configuration.mof"
$configMofLocation = "inboxes