Skip to main content

Posts

Showing posts from September, 2021

NimbleText template to create Exchange Dist Groups

Incoming Text Example: Group1@domain.com MgtGroup Group1@domain.com MgtGroup Template - Sets Name, SamAccountName, ManagedBy New-DistributionGroup           -Name '<% $0.split('@')[0] %>'           -SamAccountName '<% $0.split('@')[0] %>'           -ManagedBy '$1'           -OrganizationalUnit 'OU=Distribution Groups DLs),OU=Managed,DC=XXXX,DC=XXX,DC=XXX,DC=au'      -Type 'Security' Update Email Address (when the target address is in col 2  of input )  Set-DistributionGroup '$2'  -EmailAddresses @{Add='$2@XXX.com.au'}

The web.config no extension mime problem Lets Encrypt on IIS/Windows

  Tip when using LetsEncrypt in Windows - Feature Requests - Let's Encrypt Community Support In a paragraph, just use the web.config file to set the mime type, eg...  After trying to figure out why my Lets Encrypt failed to generate in Windows, and discovering that it's the no extension mime type problem, I wondered whether certbot could fill in the missing gap. All that is needed is the following web.config file to be placed in the same directory as the challenge <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <staticContent> <mimeMap fileExtension="." mimeType="text/xml" /> </staticContent> </system.webServer> </configuration> Because there's no mime type for files without an extension on IIS, IIS sends back a 404 when verification happens. The web.config file above sets the mime type. After I created the .well-known