Rexxer

Some tips for me and other

Skype for Business tricks

Add ?SL= at the end of the URL and give the meeting link to the external user(s). By adding ?SL= to the URL, the external user will be forced to use the Skype for Business Web App. Source: https://blog.zubairalexander.com/allowing-external-users-to-join-your-skype-for-business-meetings/

Powershell + MySQL

Interesting script and MySQL connector for powershell: Script: Param( [Parameter( Mandatory = $true, ParameterSetName = ”, ValueFromPipeline = $true)] [string]$Query ) $MySQLAdminUserName = ‘username’ $MySQLAdminPassword = ‘password’ $MySQLDatabase = ‘MySQL-DB’ $MySQLHost = ‘MySQL-Host’ $ConnectionString = “server=” + $MySQLHost + “;port=3306;uid=” + $MySQLAdminUserName + “;pwd=” + $MySQLAdminPassword + “;database=”+$MySQLDatabase Try { [void][System.Reflection.Assembly]::LoadWithPartialName(“MySql.Data”) $Connection = New-Object MySql.Data.MySqlClient.MySqlConnection […]

Zabbix + Check your user parameters

To check your user parameters you can use the utility from zabbix client: zabbix_get I have some issues with my user parameter and ran the command: zabbix_get -s localhost -k “MyUserParameter” and got: ZBX_NOTSUPPORTED: Timeout while executing a shell script. I went to the zabbix_client.conf and set the timeout to 15. Now everything is OK […]

Exchange + Remove messages from outbound queue

Remove-Message -Filter {Subject -eq “FYI”} -WithNDR $false Remove-Message -Filter {FromAddress -eq “j.smith@mail.com”} -WithNDR $false

Outlook + Disable MAPI/HTTP

Create the following key: HKCU\Software\Microsoft\Exchange Create a new DWORD value named MapiHttpDisabled and set the value to 1

Visual Studio 2017 + offline installer

There is the example how to create it: vs_community__144631470.1492700821.exe –layout D:\VS_Community2017

Vmware ESXi (6.5) backup/restore a configuration

Ooops. My USB-flash drive with ESXi 6.5 onboard was failed. The host was working but couldn’t save any changes in the configuration and etc. I connected to the host with PowerCLI and saved the configuration into a file: Get-VMHostFirmware -VMHost myESXi -BackupConfiguration -DestinationPath d:\backup Then I built a new USB-flash disk with fresh ESXi 6.5 […]

Linux + LVM + fsck

# lvm pvscan # lvm vgscan # lvm vgs # lvm vgchange -a y VolGroup00 # lvm vgdisplay -v VolGroup00 | more # fsck /dev/VolGroup00/LogvolX Can’t find a good superblock backup? To display: # mke2fs -n /dev/VolGroup00/LogVolX Other thoughts: 1. Clean bit could be set – to force an fsck: # fsck -f /dev/vgname/lvolname # […]

Windows Firewall + Too many entries in the eventlog

To turn off audit for these messages go to the GPO: Computer configuration –> Policies –> Windows settings –> Security settings –> Advanced audit policy configuration –> Audit policies –> Object access. “Audit Filtering Platform Connection” and check only the box next to “configure the following audit events.” DO NOT CLICK THE OTHER TWO BOXES. […]

IPSEC + multilpe networks

I had to configure access from other local networks to remote site via IPSEC. My environment: FreeBSD + PFSense. I tried to add an additional SA to the both systems but that didn’t work. I read this document: https://doc.pfsense.org/index.php/IPsec_with_Multiple_Subnets and did such a way: Supernetting Example At Site A, there is one subnet, 10.0.0.0/24. This […]

Previous Posts Next posts