Create Windows user using SALTstack
The first thing i did using salt stack was creating a local windows user. Creating users on different OS builds
Continue readingRemove SCOM Management packs with PowerShell
After importing a newer version of SQL Management pack, in our case (7.0.15.0). The older SQL Management packs are no
Continue readingThe trust relationship between this workstation and the primary domain failed
There are multiple reasons for getting this event. It mostly happen when you restore a domain joined server or workstation.Event
Continue readingKill a stopping service in Windows
Sometimes if you restart or stop a Windows service it wont stop. The Windows Service is stuck in the “stopping”
Continue readingHow to move MSSQL Database to another drive
– Check which database is using the old drive. This can be done with the following query. – Write down
Continue readingInstall git with PowerShell on Windows
With the following PowerShell function you can download and install git using PowerShell. It downloads the latest “stable” git release
Continue readingInvoke-VMScript: An error occurred while sending the request
After upgrading the PowerShell module to the latest version now available (11.3.0.13964823), my invoke-vmscript goes wrong. The following exception occurs:
Continue readingHow to check the SFP state on a Physical Windows Host
In the past we have had an issue with a bad batch of SFP’s in our Windows servers. The issue
Continue readingHow to use credentials in a PowerShell script?
A nightmare for many security auditors are the plain tekst Passwords in PowerShell scripts. Offcourse this is not nessecary, we
Continue reading