The following script allows you to create a share using PowerShell using the following command: CreateShare -Name “Share” -Path “C:\Share” -ReadAccess “Everyone” -FullAccess “Me”, “Other Admins”. See code below!
Renew the current self-signed certificate using IIS via “Server Certificates”, right-clicking on the current certificate and running the “Create Self-Signed Certificate”. Export this new certificate by right-clicking it. Then run the following PowerShell script using PowerShell ISE with Administrator rights; .’C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\CONFIG\POWERSHELL\Registration\SharePoint.ps1′ $pfxPath = “your file here.pfx” $pfxPass = “your password […]