Quantcast
Channel: Rob V IT
Browsing all 64 articles
Browse latest View live

A provider named “” could not be found in the Terraform Registry.

After installing Terraform and GO. I want to talk with my Hyper-v server for deploying some VMs. I used this provider: https://github.com/taliesins/terraform-provider-hyperv.git How to Install the...

View Article


Image may be NSFW.
Clik here to view.

How to install terraform on Windows

Download TerraformUnzip Terraform to c:\TerraformAdd terraform to your environment variables: set PATH=%PATH%;C:\terraform Test your installation typing terraform in CMD.Your output should look like...

View Article


HP ILO not Available and Reboot HP ILO With SSH

Sometimes you face the situation that your HP ILO is unresponsive. This mostly occurs when you need the ILO interface for a disaster (or something). Now our good old friend SSH can help us, because...

View Article

How 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 can encrypt this in local files.But there is a difference how to encrypt...

View Article

How 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 occurs randomly after a couple months in production. The answer from HP about the bad SFP’s:“The problem is...

View Article


Invoke-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: Invoke-VMScript : Invoke-VMScript An error...

View Article

Install 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 to the given temp directory and installs it with default...

View Article

How to move MSSQL Database to another drive

– Check which database is using the old drive. This can be done with the following query. SELECT name, physical_name AS CurrentLocation FROM sys.master_files – Write down the output and check which DBs...

View Article


Kill 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” state. If you cannot reboot your server or workstation for whatever reason you can kill...

View Article


The 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 details: EventID: 5719Source: NETLOGON This computer was not able to set...

View Article

Remove 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 longer needed, because the new one is version-agnostic. As described in the release...

View Article

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 are fully supported by using the built-in salt functions. First create a mapping in your...

View Article

Image may be NSFW.
Clik here to view.

Minion did not return. [No response]

There are multiple reasons why your minion did not return. Hereby a couple checks you can do for troubleshooting your Salt – minion configuration. First, check if your minion is running. On unix:...

View Article


Authentication failed because the remote party has closed the transport stream

This error can occurs when your client is setting up a secure transport stream using TLSv1.1 or TLSv1.2 to a webservice/API for example. In my case it was the PowerCli module installed on Windows...

View Article

PowerShell: Execution of scripts is disabled on this system.

This error occur when the default PowerShell execution policy is active on the system, the default policy is restricted on fresh Windows Installations. Windows Execution policy is a security mechanism...

View Article


Image may be NSFW.
Clik here to view.

New-VM Value cannot be null. Parameter name: source

The following error: “parameter name source cannot be null” is just an exception in the VMWare.VimAutomation.Core module. With this error its hard to find the actual issue. The version i’ve running: PS...

View Article

Automatic way of making a lot of folders

There are multiple reasons why you need a lot of pre-created folders. Making the folders by hand would be a very boring time intensive job. So make use of the available script languages in your...

View Article


fatal: Authentication failed git on Windows

If you change your password, or the git repository password is changed you can get the following error. In this situation you cannot make any changes or if it is a private repository even make a clone...

View Article

Image may be NSFW.
Clik here to view.

How to get your Windows Release Version and Build number?

It’s very simple to get your Windows Build number, like “Version 10.0.18363 Build 18363”. You need to seek a little bit longer to find your Windows Version number. In this short blog I will tell you...

View Article

Image may be NSFW.
Clik here to view.

Git Cheat sheet – Collection of most used Git commands

In a DevOps way of working GIT is a powerful tool for each team member must know. GIT is used for sharing, versioning, tracking changes and most of all for making code together. If you know the git...

View Article
Browsing all 64 articles
Browse latest View live