• Home
  • Resume
  • About
  • Contact
  • PGP Key
Blog Logo

Wylie Bayes

Geek things

OpenBSD Powershell Blog

Tag: Blog

Convert most “OVA” virtual machines, to VHD or VHDX with Powershell, for use with Hyper-V.

20 Dec 2016 Powershell • Blog
Hey everyone! Just thought I’d post up a quick set of instructions to take a VMware formatted OVA file, extract out the .VMDK file and then convert it to a VHD or VHDX with Powershell. First, you will need the Microsoft Virtual Machine Converter package, and installed it. You can download it here: title Next, fire up powershell as administrator, and run this command to import the virtual machine converter powershell Cmdlets: Import-Module "C:\Program Files\Microsoft Virtual…
Continue Read

VMWare Over-provisioning report with #Powershell

20 Dec 2016 Blog • Powershell
Just thought I would put this out here for anyone monitoring a large Vmware environment. Cheers! You would need to change $ss to a remote location you wish the report to be stored, our putting a local location would be fine as well, but then would have to local copies on C:, and wherever you specify. function vmware-provisioning { $viservers = "vcenter1", "vcenter2" $cred = get-credential $date = (Get-Date).tostring("yyyyMMdd") Add-PSSnapin Vmware.VIMAutomation.Core | Out-Null set-PowerCLIConfiguration -invalidCertificateAction…
Continue Read

IPv6 Router / Client Instructions. OpenBSD 5.4 / Comcast native ipv6 connectivity.

20 Dec 2016 Blog • OpenBSD
See updated post for OpenBSD 6.1 @ https://wyliebayes.com/openbsd-router-clients/…
Continue Read

OpenBSD and PF – iblocklist.com cheap blacklisting #openbsd #firewall

20 Dec 2016 Blog • OpenBSD
You need buy a $10.00 per year subscription from http://iblocklist.com. You will get a “Pin” number for your downloads. Then you plug the pin number into the end of the URL’s from the wget commands in this script: http://wmfb.co/txt/iblocklist.sh.txt You might have to create a few directories, change a few usernames around etc. But it is built exactly like that on my system. (OpenBSD 5.4-STABLE) Then… Once you have…
Continue Read

Fun with Bash. Patch status script for RPM based systems.

20 Dec 2016 Blog • Linux
The script below is a Patch Status script for rpm based systems (Redhat, Centos, Fedora, etc.) You must query a known good, fully patched server. Query this server with “rpm -qa” and pipe it to a “current.txt” file. Your servers are pulled from “hosts.txt” file. Each IP address is on it’s own line in this file. Also this will only work (without typing 300 passwords over and over) with Public Key Authentication in place, and NOPASSWD option…
Continue Read

OpenBSD 5.5, 5.6, or 5.7 and OpenVPN with easyrsa3

20 Dec 2016 Blog • OpenBSD
!!!!!UPDATE!!!!! When upgrading from 5.6 to 5.7. I had to add the following rules to the bottom of my pf.conf to allow for proper vpn pass through. I do not know why it isn’t being allowed through the match rule out egress, but that is what I encountered. This is for package Openvpn 2.3.6 amd64. /Begin Original post. So I recently re-configured VPN(Virtual Private Network) services through a VPS(Virtual Private Server) utilizing…
Continue Read

Installing Windows 8.1 Remote Administrator Tools – BUG

20 Dec 2016 Blog
So I recently discovered when attempting to get Active Directory Users and Computers installed on a Windows 8.1 machine, that the update claims it is not applicable to my computer, even though the update is not already installed, and is applicable. I am using a windows 8.1 64bit machine, and attempting to install ” Windows8.1-KB2693643-x64.msu” package. What had to be done was the following: Put the .msu package into it’s own directory by itself. EX: “C:…
Continue Read
← Newer Posts Page 2 of 2
All content copyright Wylie Bayes © 2021 • All rights reserved.
Theme By GTheme