Scripts with the ___ extension use Microsoft's object-based automation language to run cmdlets, and an execution policy…