concept MOF file in category powershell

This is an excerpt from Manning's book Windows PowerShell in Action, Third Edition.
Create a MOF file from the configuration Apply the MOF file to the target machine
DSC uses Managed Object Format (MOF) files to transfer configuration information to the target machine. MOF is part of the DMTF CIM standard (originally implemented on Windows as WMI—see chapter 16). The MOF file generated from a configuration is a fully resolved pure-data representation of the configuration. There are no unresolved variables in the MOF file. MOF was chosen because it’s a format that allows you to represent the classes defining an object as well as instances of those objects.
When you’re working with DSC in push mode, you create a MOF file and manually push it to the target server. You’re implicitly assuming that the server is running and ready to receive its configuration. When working in pull mode you don’t care about the state of the target server because you publish the MOF file to the pull server and leave the target server to pull its configuration when it’s ready.
We’ll use this GUID to rename the MOF file:
PS> Get-ChildItem -Path C:\scripts\MOF\W16TGT01.mof | Rename-Item -NewName "C:\scripts\MOF\$psclientid.mof"You then need to create a checksum of the MOF file: