Archive for July, 2014

When scripting different solutions, i prefere to have Powershell do most of the heavy lifting:-)

Adding a CER certificate to Trusted Root Certificate store.
Code:

CERTUTIL -addstore -enterprise -f -v root C:\MyCert.cer

Adding a PFX certificate to Personal Certificate store.
Code:

certutil –f –p "Password" –importpfx C:\myCert.pfx

When running a test environment and needing a certificate, one will not always have a CA (Certificate Authority lying around).  In Windows Server 2012 and Windows 8, there is a PowerShell command to create a multiple Subject named certificate:

(more…)

Clear the SharePoint Configuration Cache on a SharePoint server or all SharePoint Servers . PowerShell to the rescue!

(more…)