Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have a server named Web1 that runs Windows Server 2016.
You need to list all the SSL certificates on Web1 that will expire during the next 60 days.
Solution: You run the following command.
Get-ChildItem Cert:\LocalMachine\Trust |? { $_.NotAfter -It (Get-Date).AddDays( 60 ) }
Does this meet the goal?
xziomal9
Highly Voted 5 years, 5 months agoKamikazekiller
Highly Voted 4 years, 10 months agolofzee
Most Recent 4 years, 4 months agoGoldenFox
4 years, 4 months agocoolkey
4 years, 12 months agoGary
5 years, 7 months agocoleman
5 years, 5 months ago