Conley Damron commented on Windows 10 1809 kiosk mode with an AD domain account 4 years, 10 months ago
While that will work, isn’t it a bit of a hack?
Conley Damron commented on Windows 10 1809 kiosk mode with an AD domain account 4 years, 10 months ago
Jörgen,
In your first script example you have:
New-LocalUser -Name Kiosk -Password $SecurePassword -PasswordNeverExpires UserMayNotChangePassword
I believe you meant:
New-LocalUser -Name Kiosk -Password $SecurePassword -PasswordNeverExpires -UserMayNotChangePassword
(notice the dash on the “UserMayNotChangePassword” switch)
otherwise great article.
Conley Damron commented on
Strings in PowerShell – Replace, compare, concatenate, split, substring 5 years, 6 months ago
@aby,
If you just want the IP Address, try this:
Get-WmiObject win32_networkadapterconfiguration -Filter "Description = '%adapter description%'" | Select-Object -ExpandProperty ipaddress
Conley Damron became a registered member 5 years, 6 months ago