Author Archives: admin

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

Get a list of all computers in Active Directory with date lastlogon and OS

I needed to list all computers in use at customers, with os, and for the less diligently maintained AD’s also if they were still in use. You can obtain this by reading the value of lastlogondate of a machine account. … Continue reading

Posted in Active Directory, powershell | Comments Off on Get a list of all computers in Active Directory with date lastlogon and OS

Active Directory Powershell get [the count of] all enabled users in a certain OU [but not in sub OU’s]

For our internal use, I devised a powershell command that lists all enabled users in a certain OU, but filtering out those in sub OU’s. Unfortunately this is not a dynamic process, since it is based on the current implementation of OU’s, … Continue reading

Posted in Active Directory, powershell | Comments Off on Active Directory Powershell get [the count of] all enabled users in a certain OU [but not in sub OU’s]

Exchange 2016 and SMTP speed

In order to have Exchange SMTP speed up a little you can change some default values. Some of those values can be found here https://technet.microsoft.com/en-us/library/bb232205(v=exchg.160).aspx So if you want to change some of those value, to accept more mail at … Continue reading

Posted in Exchange 2016, smtp | Comments Off on Exchange 2016 and SMTP speed

Block active ssh login attempts from unknown IP’s on linux using hosts.deny

Some hosts on the net are severely compromised or shown to be controlled by malicious  users. imho: Never allow a root login using ssh to any machine you are setting up. Yes ~they~ are always probing. It is a storm. … Continue reading

Posted in block, command line, hosts.deny, linux, ssh | Comments Off on Block active ssh login attempts from unknown IP’s on linux using hosts.deny

Shutting down windows domain clients remotely

I was not in the office, but I did have to shut down all domain computers after a move to have them install windows updates over the long new-year weekend. So I ended up with a script I picked up … Continue reading

Posted in shutdown, Windows | Comments Off on Shutting down windows domain clients remotely

Exchange 2016, receive connector, enable relaying, powershell

In order to have a certain receive connector to be able to relay (other than local delivery: actually route the mail to the outside) perform the following powershell command: Set-ReceiveConnector “SERVER\Receive Connector” -PermissionGroups AnonymousUsers Above command enables “Anyonymous user” delivery. … Continue reading

Posted in Connector, E-mail, Exchange 2016 | Comments Off on Exchange 2016, receive connector, enable relaying, powershell

Checking HP disk status on VMware, command line

Today, I had to check the disk status of an HP array on VMware Using VMware 6, installed with HP iso, meaning it has HP drivers and tools already installed on VMware, I found it is rather easy to use … Continue reading

Posted in command line, ESXi, hp | Comments Off on Checking HP disk status on VMware, command line

Powershell, get full names of a group of users in AD and export to text file.

Just a quick blurb that I encountered this morning. In powershell, to get a list of the full names of users and export them to a text file: Get-ADGroupMember -identity GROUP -Recursive | Get-ADUser -Property DisplayName | Select Name > c:\temp\fullnamesofgroup.txt … Continue reading

Posted in Active Directory, powershell | Comments Off on Powershell, get full names of a group of users in AD and export to text file.

Place chrome link on desktop, and open with chrome browser

Everyone on windows has a ‘default browser’ set. Windows knows this. In case you want to run Google Chrome and open an url, (and not your other default browser), well, then just create a good old shortcut (windows .lnk file) … Continue reading

Posted in News | Tagged , | Comments Off on Place chrome link on desktop, and open with chrome browser

Change Google Chrome homepage setting, but then scripted

In order to change the homepage of the Google Chrome browser, installed on a win7 pc, you can change the homepage, e.g. via login script. (see e.g. http://www.chromium.org/user-experience/user-data-directory for chrome info) Of course you can load adm files in your … Continue reading

Posted in Chrome, Homepage | Comments Off on Change Google Chrome homepage setting, but then scripted

Internet Explorer Trusted Sites and Automatic User Logon Registry (ADFS/SSO)

You can’t use GPO if you want your users themselves to be able to add sites to Trusted Sites in Internet Explorer. You can use good old registry though. Since these are user settings, the user can edit their own … Continue reading

Posted in Configuration, Internet Explorer, Trusted Sites | Comments Off on Internet Explorer Trusted Sites and Automatic User Logon Registry (ADFS/SSO)

HP Device Manager installation

Here’s a quick blurb from todays’ afternoon, quickly testing HP Device Manager in my lan here. (Edit: the sofware that you can use to manage HP Thin/Zero Clients) (On Win2008 R2, will try server 2012 soon) Install .NET 4.5 Install … Continue reading

Posted in hp, Thin Client | Comments Off on HP Device Manager installation

Remove .NET Framework because of Mamut software

On a completely updated Windows7 workstation you may have .Net Framework 4.6. This sometimes doesn’t work with particular (older) version of Mamut Business Software. In order to fix this, remove all updates for .NET framework from Windows Updates. Then go … Continue reading

Posted in .NET, Mamut Business Software | Comments Off on Remove .NET Framework because of Mamut software

VMware 5.5, HP P2000, Datastores, iSCSI, ATS, VAAI and whatnot

Brilliant, the customer got a freshly installed Gen9 HP host with 112Gb mem. My collegue installed it with VMware and seems to work fine. But not for the datastores it is supposed to work with. I  wanted to add the … Continue reading

Posted in ATS, Datastores, iSCSI, P2000, VAAI, VMware | Tagged , , , , , | Comments Off on VMware 5.5, HP P2000, Datastores, iSCSI, ATS, VAAI and whatnot

WDS and a Dell 5570 adding drivers to WIM image.

Today I am creating an image for a Dell E5570 laptop over at a customer. The image that I use has all the applications installed and working. However, the image is meant for other computers that don’t have the same … Continue reading

Posted in Dell 5570, DISM, RIS, WDS, WIM | Tagged , , , | Comments Off on WDS and a Dell 5570 adding drivers to WIM image.

Raspberry Pi3 installation and configure wlan/wifi (raspbian)

Today I’m setting up the raspi3 that I recently got from the pihut. https://thepihut.com/ The pi3 has wifi built in (2.4Ghz only). I use linux now, so in order to set it up with raspbian I performed the following steps. … Continue reading

Posted in raspi | Comments Off on Raspberry Pi3 installation and configure wlan/wifi (raspbian)

VMWare virtualise a Windows 2008R2 server with P2V

I am being in the process of virtualising a Windows 2008 R2 server with P2V. That is, from HP hardware to VMWare. Since this is a hardware HP machine, I have made the following considerations using P2V. Before virtualising: – Make sure … Continue reading

Posted in P2V, VMware, Windows | Comments Off on VMWare virtualise a Windows 2008R2 server with P2V

raspi raspbian compile ffmpeg

Edit: It is called avconv, duh! You can use this now: https://www.raspberrypi.org/documentation/usage/camera/raspicam/README.md Today I’m setting up a raspi with raspbian and a raspi camera. After enabling the camera (with rapi-config as root) I wanted to test it wtih ffmpeg. Which … Continue reading

Posted in ffmpeg, raspi | Comments Off on raspi raspbian compile ffmpeg

Group Policy Update for Windows Operating System Updates

On further investigation of previous post(s), I have now learned that Microsoft has an update for Windows Update and Group Policies. Basically, there is an update that should be installed on Domain servers and workstations that will add the option to … Continue reading

Posted in GPO, Microsoft Update | Comments Off on Group Policy Update for Windows Operating System Updates