4sysops - The online community for SysAdmins and DevOps
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?
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
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
Please ask IT administration questions in the forums. Any other messages are welcome.
or Create an account
Receive news updates via email from this site