microsoft / StigRepo

Automated PowerSTIG Repository for Active Directory environments
38 stars 7 forks source link

Issue #13. New-SystemData -Localhost parameter only works for Windows 10 boxes #20

Closed wwellington2 closed 3 years ago

wwellington2 commented 3 years ago

New-SystemData -Localhost parameter only works for Windows 10 boxes

Modified this to work for Servers as well.

Modified Line 120 to not use Static Win10 string. Also removed If statement in 235-242 since a machine name is retrieved while using localhost parameter.

Issue #13