You need to ensure that a non-administrator user can pe…

You configure Just Enough Administration (JEA).
You need to ensure that a non-administrator user can perform the following actions:
-Restart Internet Information Services (IIS)
-Restart a custom service named Service1
How should you complete the role configuration file? Choose Two

You configure Just Enough Administration (JEA).
You need to ensure that a non-administrator user can perform the following actions:
-Restart Internet Information Services (IIS)
-Restart a custom service named Service1
How should you complete the role configuration file? Choose Two

A.
VisibleAliases = ‘C:\\Windows\\system32\\iisreset.exe’

B.
VisibleCmdlets = ‘C:\\Windows\\system32\\iisreset.exe’

C.
VisibleExternalCommands = ‘C:\\Windows\\system32\\iisreset.exe’

D.
VisibleAliases = @{ Name ‘Restart-service’ ; Parameters @{ Name = ‘Name’; ValidateSet = ‘Service1’}}

E.
VisibleCmdlets = @{ Name ‘Restart-service’ ; Parameters @{ Name = ‘Name’; ValidateSet = ‘Service1’}}

F.
VisibleExternalCommands = @{ Name ‘Restart-service’ ; Parameters @{ Name = ‘Name’; ValidateSet =
‘Service1’}}

Explanation:
https://docs.microsoft.com/en-us/powershell/jea/role-capabilities



Leave a Reply 0

Your email address will not be published. Required fields are marked *