InterviewSolution
| 1. |
How Would You Set A Registry Value With Powershell? |
|
Answer» Yeah, we start easy, but it is not that intuitive. This requires to know that there is no registry-specific cmdlets, so we have to use the registry PROVIDER and Set-ItemProperty. The registry has been an integral part of Windows for ever, so this is hardly area-specific knowledge. It is very LIKELY that any POWERSHELL scripter has already PERFORMED this task at least once, MAYBE even on a almost-daily basis. Yeah, we start easy, but it is not that intuitive. This requires to know that there is no registry-specific cmdlets, so we have to use the registry provider and Set-ItemProperty. The registry has been an integral part of Windows for ever, so this is hardly area-specific knowledge. It is very likely that any PowerShell scripter has already performed this task at least once, maybe even on a almost-daily basis. |
|