Assume the column name is "Identity" in your csv
Example:
$DKIM = Import-csv DKIM.csv
$DKIM |% {Rotate-DkimSigningConfig -KeySize 2048 -Identity $_.Identity}
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I would like to upgrade the DKIM keys to 2048-bit for about 120 domains using PowerShell. I have all the DKIM Guids in a csv. It will be tedious to work on each.
I have this command for individuals but I need to tweak it to do the same action for the imported csv file with all the 120 domains.
Rotate-DkimSigningConfig -KeySize 2048 -Identity {Guid of the existing Signing Config}
Any guidance is appreciated.
Assume the column name is "Identity" in your csv
Example:
$DKIM = Import-csv DKIM.csv
$DKIM |% {Rotate-DkimSigningConfig -KeySize 2048 -Identity $_.Identity}