PS script to check if LAPS password exists or not, then export to csv

Hi, I’m fairly new to powershell, need assistance with the following;

would like powershell script to check if a LAPS password exists or not on all servers in a domain… then export the results to a csv file containing the server name and a true or false value if LAPS is present…

any assistance would be greatly appreciated…

Hi @captainjack80 - Did a quick research online and this looks to be a good place to start >


Skimming through the instructions it looks as if it may serve with assisting in what you are aiming to accomplish.