单项选择题
Your network contains an Active Directory forest. The functional level of the forest is Windows Server 2008 R2.
Your company’s corporate security policy states that the password for each user account must be changed at least every 45 days.
You have a user account named Service1. Service1 is used by a network application named Application1. Every 45 days, Application1 fails.
After resetting the password for Service1, Application1 runs properly. You need to resolve the issue that causes Application1 to fail. The solution must adhere to the corporate security policy.
What should you do()
A.Run the Set-ADAccountControl cmdlet.
B.Run the Set-ADServiceAccount cmdlet.
C.Create a new password policy.
D.Create a new Password Settings object (PSO).
相关考题
-
单项选择题
You have a Windows PowerShell script that contains the following code: import-csv Accounts.csv | Foreach {New-ADUser -Name $_.Name -Enabled $true -AccountPassword $_.password} When you run the script, you receive an error message indicating that the format of the password is incorrect. The script fails. You need to run a script that successfully creates the user accounts by using the password contained in accounts.csv. Which script should you run()
A.import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (ConvertHost-
B.import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (ConvertTo-
C.import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (Read-To
D.import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (Read-Host -
单项选择题
Your network contains an Active Directory forest. The forest schema contains a custom attribute for user objects. You need to give the human resources department a file that contains the last logon time and the custom attribute values for each user in the forest. Which should you use()
A.the Dsquery tool
B.the Export-CSV cmdlet
C.the Get-ADUser cmdlet
D.the Net.exe user command -
单项选择题
Your network contains an Active Directory forest. The forest schema contains a custom attribute for user objects. You need to modify the custom attribute value of 500 user accounts. Which tool should you use()
A.Csvde
B.Dsmod
C.Dsrm
D.Ldifde
