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