I assume you say “eventually” because DSC’s primary focus is server at this point? For something like school systems, implementing a whitelisting product so that only apps an administrator dictates actually execute on the systems prevents re-imaging every year. That would be a ridiculous MOF file to prevent World Of WarCraft from being installed and all the other junk students try. Always trying to prove they can “hack” and blue screening systems. I worked for school systems before and it was a nightmare. I would recommend some products, but don’t want to be pitching software sales in a Powershell forum and forum doesn’t have private messaging.
What I’m saying regarding the Invoke-Command line is your are doing the same thing two ways. Personally, i would just use a UNC check for both items versus doing a remote command for one and a UNC check for the other. Both commands are just returning a boolean True or False. IMHO, doing a Invoke-Command against a remote computer is a bit overkill and I’d just do the Test-Path -Path \$computer\c$.…