Skip to content

Instantly share code, notes, and snippets.

View maestropanel2's full-sized avatar

MaestroPanel maestropanel2

View GitHub Profile
@maestropanel2
maestropanel2 / Localize.fa-IR.resx
Created June 11, 2018 10:21
MaestroPanel Farsi Language File
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
@maestropanel2
maestropanel2 / Localize.resx
Created June 11, 2018 10:20
MaestroPanel English Language File
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
@maestropanel2
maestropanel2 / emailimport.ps1
Last active June 12, 2017 11:36
Email list import to MaestroPanel
<#
.SYNOPSIS
Text dosyasi içindeki domain listesini MaestroPanel'e aktarır.
.DESCRIPTION
Text dosyasi içindeki domain listesini MaestroPanel'e aktarır.
.PARAMETER host
MaestroPanel'in çalıştığı sunucu IP adresi veya host ismi.
.PARAMETER apikey
@maestropanel2
maestropanel2 / import.ps1
Last active January 10, 2022 12:06
Optimal New-MailboxImportRequest for MaestroPanel Exchange
#Exchange Server 2013/2016 Import Script
#Desc: This script importes all mailbox backup files in directory to Exchange Server
#Url: https://wiki.maestropanel.com/exchange-servera-toplu-sekilde-pst-dosyasi-import-etmek/
#Author: MaestroPanel Support
#Email: ping@maestropanel.com
. 'C:\Program Files\Microsoft\Exchange Server\V15\bin\RemoteExchange.ps1'
Connect-ExchangeServer -Auto
#Change this line for your directory path
@maestropanel2
maestropanel2 / iis_root_handler_maestropanel_fix.bat
Created April 13, 2017 12:43
Microsoft April 11, 2017 Update Fix
@echo off
cd %windir%"\System32\inetsrv
appcmd.exe set config -section:system.webServer/handlers /-"[name='ExtensionlessUrlHandler-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='ExtensionlessUrlHandler-ISAPI-4.0_64bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='ExtensionlessUrlHandler-Integrated-4.0']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='AXD-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='PageHandlerFactory-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='SimpleHandlerFactory-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='WebServiceHandlerFactory-ISAPI-4.0_32bit']" /commit:apphost
appcmd.exe set config -section:system.webServer/handlers /-"[name='HttpRemotingHandlerFactory-rem-ISAPI-4.0_32bit']" /comm
@maestropanel2
maestropanel2 / update.1.0.7.0.sql
Last active October 13, 2017 16:12
update.1.0.7.0.sql
ALTER TABLE dbo.DomainPostofficeUser ADD FirstName nvarchar(512) NULL, LastName nvarchar(512) NULL;
ALTER TABLE dbo.DomainPostoffice ADD Catchall varchar(255) NULL;
ALTER TABLE dbo.MSExchangeDomain ADD MailboxDatabase nvarchar(512) NULL, DomainController nvarchar(512) NULL;
ALTER TABLE dbo.MSExchangeUser ADD MailboxDatabase nvarchar(512) NULL;
ALTER TABLE dbo.MSExchangeUser ADD
Title nvarchar(512) NULL,
@maestropanel2
maestropanel2 / mailenable.webmail.fix.bat
Last active December 16, 2016 10:54
mailenable.webmail.fix.bat
@echo off
C:\Windows\System32\inetsrv\appcmd.exe set config "MailEnable WebMail" -section:system.webServer/handlers /+"[name='PageHandlerFactory-ISAPI-2.0',path='*.aspx',verb='GET,HEAD,POST,DEBUG',modules='IsapiModule',scriptProcessor='%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll',preCondition='classicMode,runtimeVersionv2.0,bitness32',responseBufferLimit='0']"
C:\Windows\System32\inetsrv\appcmd.exe set config "MailEnable WebMail" -section:system.webServer/handlers /+"[name='PageHandlerFactory-ISAPI-2.0-64',path='*.aspx',verb='GET,HEAD,POST,DEBUG',modules='IsapiModule',scriptProcessor='%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll',preCondition='classicMode,runtimeVersionv2.0,bitness64',responseBufferLimit='0']"
C:\Windows\System32\inetsrv\appcmd.exe set config "MailEnable WebMail" -section:system.webServer/handlers /+"[name='PageHandlerFactory-ISAPI-4.0_64bit',path='*.aspx',verb='GET,HEAD,POST,DEBUG',modules='IsapiModule',scriptProcessor='%windir%\Microsoft.NET\Framework64\v4
@maestropanel2
maestropanel2 / web.config
Created November 17, 2016 15:55
MailEnable Handlers
<add name="AXD-ISAPI-4.0_32bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
<add name="AXD-ISAPI-4.0_64bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
<add name="AXD-ISAPI-2.0-64" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" />
<add name="AXD-ISAPI-2.0" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersion
@maestropanel2
maestropanel2 / Exchange-SetConfigURL.ps1
Created November 8, 2016 16:26
Powershell scripti ile Exchange Server 2013/2016, CAS URL kayıtlarını basitçe yapılandırılabilir.
<#
.ÖZET
SetExchangeURLs.ps1
.AÇIKLAMA
Powershell scripti ile Exchange Server 2013/2016, CAS URL kayıtlarını basitçe yapılandırılabilir.
Servisler için farklı alan adları/uzantısı kullanıyorsanız uygulamaz ve hata verir.
.PARAMETRE Server
@maestropanel2
maestropanel2 / update.1.0.6.240.sql
Last active September 12, 2016 11:09
update.1.0.6.240
ALTER TABLE dbo.Proticaret ADD
UseSsl bit NULL,
OnlyUsersCanBuy bit NULL,
OnlyUsersCanSeePrice bit NULL,
SendFailedLogins bit NULL,
LogErrors bit NULL,
HandleErrors bit NULL,
Company nvarchar(512) NULL,
CompanyMail nvarchar(512) NULL,
CompanyTel nvarchar(512) NULL,