This topic contains 3 replies, has 3 voices, and was last updated by Profile photo of Vasken Vasken 1 year, 1 month ago.

  • Author
  • #29467
    Profile photo of Dillon Hansen
    Dillon Hansen

    Hi I was wondering what tools you guys use to edit your .MOF files? I want a program that will understand the syntax of the file.

  • #29515
    Profile photo of Don Jones
    Don Jones

    Honestly I try to never edit them directly :).

  • #29649
    Profile photo of Dillon Hansen
    Dillon Hansen

    Anyone else have any input here? Are there Visual Studio plugins for these? Is it all just PowerShell syntax?

  • #29701
    Profile photo of Vasken

    I think the whole concept is that .MOF files are actually not PowerShell syntax, which is one of the reasons we can use .MOF files (and by extension, DSC) to configure operating systems other than Windows. We simply happen to use PowerShell to generate the .MOF files themselves when we use DSC, and the files themselves are a separate, neutral format altogether (Managed Object Format).

    I'm not familiar with any IDEs that specifically can be used to edit MOF files, but the good news is that pretty much ANY text editor can be used to modify these files- but if you are looking for syntax highlighting, or autocomplete like we have in ISE, I'm not sure if anything is available.

You must be logged in to reply to this topic.