microsoft / CompliancePartnerWorkshops

Scripts and resources to support the Compliance Build-Intent engagements at https://aka.ms/mci/workshops
MIT License
20 stars 17 forks source link

$env:LOCALAPPDATA doesn't exist on non-Windows OS-es #3

Closed mrboogiee closed 1 year ago

mrboogiee commented 1 year ago

ComplianceActivationAssessment.ps1 doesn't work on non-Windows OS-es due to $env:LOCALAPPDATA not being valid outside of Windows Operating Systems

mrboogiee commented 1 year ago

as discussed yesterday, a solution might be to check if it is set, and if not set, ask for a writable path and set the variable yourself