dgoldman-msft / PSServicePrincipal

PowerShell module for creating and deleting enterprise and registered applications as well as SPN object (single and batch) for automation. This can be used as a facilitator for setting up Exchange PowerShell CBA
MIT License
17 stars 4 forks source link

Ownership of ServicePrincipal #31

Closed Jakke2440 closed 4 years ago

Jakke2440 commented 4 years ago

Hello could there maybe an option to create an owner (or multiple) for the ServicePrincipal?

BTW I love your work; saves me a ton of hour ;)

dgoldman-msft commented 4 years ago

Hey there! Thanks for the kind words :) This module already has that feature. Just run New-ServicePrincipalObject -CreateBatchObjects -NameFile c:\temp\YourDataFile.txt with the rest of the switches that you want and this will create all your batch service principals :)