Author Archives: admin

Retrieve MS-SQL version info without MS SQL Studio

After digging around for a customer to update their ms-sql server for an application, I had to find out the version they were using first. Not having the Visual studio tools installed, there’s a cmdline tool that can do this. … Continue reading

Posted in Microsoft, MS SQL | Comments Off on Retrieve MS-SQL version info without MS SQL Studio

Exchange, Disable spam filter for a receive connector

You may want to disable the spam filter for e.g. a connector that sends your invoices. Get-ReceiveConnector “SERVER\ReceiveConnector” | Add-ADPermission -User “NT Authority\Anonymous Logon”  -AccessRights ExtendedRight -ExtendedRights ms-exch-ypass-anti-spam Hope this helps you!  

Posted in E-mail, Exchange 2016, smtp | Comments Off on Exchange, Disable spam filter for a receive connector

(re)Setting rights on user home folders [batch script]

After some troubles with copied user home folders during a migration, the rights were set incorrectly. As this was about more than just a handful of users, re-setting the rights manually wasn’t a good idea. After digging around on the … Continue reading

Posted in .bat, Active Directory, batch, command line, File sharing | Comments Off on (re)Setting rights on user home folders [batch script]

Adobe Reader DC, Remove side tools panel by default

After digging around, there seems to be a solution to remove that side panel that takes up screen space, every time you  start Adobe Reader DC. [you have to have admin rights to do this] Go to the install directory … Continue reading

Posted in News | Tagged , , | Comments Off on Adobe Reader DC, Remove side tools panel by default

Configure SSL on an HP Aruba 2530-48G-PoEP Switch (J9772A)

Log in admin using ssh (with your favourite ssh client) or (serial) console cable. config crypto pki identity-profile Profile subject Now enter some certificate parameters You can enter all you like, e.g. Enter Common Name(CN) : Switch Enter Org Unit(OU) … Continue reading

Posted in aruba, cli, hp, switch | Comments Off on Configure SSL on an HP Aruba 2530-48G-PoEP Switch (J9772A)

Exchange 2016 Have a receive connector relay outside the domain.

There’s a powershell cmd for that: New-ReceiveConnector -Name “Anonymous Relay” -Usage Custom -AuthMechanism ExternalAuthoritative -PermissionGroups ExchangeServers -Bindings x.x.x.x:25 -RemoteIpRanges x.x.x.x (or create a receive connector with the right settings) And then Get-ReceiveConnector “Anonymous Relay” | Add-ADPermission -User “NT AUTHORITY\ANONYMOUS LOGON” -ExtendedRights … Continue reading

Posted in Exchange 2016, powershell | Comments Off on Exchange 2016 Have a receive connector relay outside the domain.

Exchange 2016 Restart Transport Service powershell

Ran into this earlier today, had to restart the Exchange 2016 transport service using powershell only! It turned out to be easy. Restart-Service MSExchangeTransport To list all Exchange services: Get-Service *Exchange*

Posted in Exchange 2016, powershell | Comments Off on Exchange 2016 Restart Transport Service powershell

User folder displayed as “Documents”: Remove desktop.ini

A users’ folder is displayed as “Documents” and you don’t want that. To e.g. remove desktop.ini files (which are hidden: use -force): Get-ChildItem “\\SERVER\d$\Users\Userdata\” -recurse -filter desktop.ini -force | foreach ($_) {remove-item $_.fullname -force} This deletes all the desktop.ini files … Continue reading

Posted in File sharing, powershell | Comments Off on User folder displayed as “Documents”: Remove desktop.ini

Sonicwall OID’s

For internal purposes I had to monitor some snmp facts of a sonicwall. Here’s the OID list Sonicwall CPU usage as percent .1.3.6.1.4.1.8741.1.3.1.3.0 Sonicwall Memory usage as percent .1.3.6.1.4.1.8741.1.3.1.4.0 Sonicwall Maximum Connections .1.3.6.1.4.1.8741.1.3.1.1.0 Sonicwall Current Connections .1.3.6.1.4.1.8741.1.3.1.2.0 Sonicwall Firmware version: … Continue reading

Posted in OID, snmp | Comments Off on Sonicwall OID’s

Get all different types of mailboxes in Exchange 2010 and 2016

I had to get the amount of the different types of mailboxes that are available in Exchange. Exchange 2010 and 2016 in this case. As I had to execute this as a script I ran into the problem that you … Continue reading

Posted in Exchange 2010, Exchange 2016, powershell | Comments Off on Get all different types of mailboxes in Exchange 2010 and 2016