I'm pretty new to working with WFA 2.0. Has anyone looked into or thought about creating a workflow to add/modify the netgroups file? I started looking into creating a command but there doesn't seem to be a cmdlet available to manipulate the /etc/netgroup file. Any thoughts on how this might be accomplished?
Yes, I've seen this before with the Write-NaFile cmdlet. If memory serves, Write-NaFile didn't like lines that are blank or only contain whitespace. You could try filtering them out as well, with something like: