Older Versions of Windows 10 and all Windows Server 2012 systems have no local user management commandlets.
This is a working polyfill to allow scripts using local user management to run on old systems.
WSL file systems get exposed as a hidden share network share:
For example, my Debian home folder is at:
When using netplan it is easy to force .local DNS requests to go to you nameservers instead of being only resolved locally (the default and standard).
This also works with all other strange .WHATEVER domains you may have lying around in your organization.
Snippet from netplan configuration:
nameservers: addresses: - X - Y search: - local - myotherstupiddomain
grep -vH "#" /var/spool/cron/crontabs/*
grep -vH "#" /var/spool/cron/*