PowerShell вопросы и ответы для интервью
Вопрос 11. What is DSC (Desired State Configuration) in PowerShell?
DSC is a management platform in PowerShell that enables the deployment and management of configuration data for software services.
Вопрос 12. Explain how to handle credentials securely in PowerShell.
Use the 'Get-Credential' cmdlet to securely prompt for a username and password.
Вопрос 13. How do you schedule tasks in PowerShell?
Use the Task Scheduler cmdlets like 'New-ScheduledTask' and 'Register-ScheduledTask'.
Вопрос 14. Explain the 'ForEach-Object' cmdlet in PowerShell.
ForEach-Object is used to process each item in a collection or pipeline.
Вопрос 15. What is the purpose of the 'Get-Service' cmdlet?
Get-Service retrieves the status of services on a local or remote computer.
Самое полезное по оценкам пользователей: