BobNiaan's Posts

So the apps I need is to set up a Web Server, thus I downloaded XAMPP on my own laptop, put it in my thumbdrive and transfer it to my VM. However, even though it successfully download and showing... See more...
So the apps I need is to set up a Web Server, thus I downloaded XAMPP on my own laptop, put it in my thumbdrive and transfer it to my VM. However, even though it successfully download and showing that both MySQL and Apache is running, when i tried to 'systemctl enable mysql', it states 'Access denied' and if i tried to 'systemctl start mysql', it states that 'mysql.service is not found'.
I basically need to download certain application using wget or apt-get however the VM (centOS) inside my ESXi 6.5 doesn't have internet connection, and to set up pfSense is too complex for me. So... See more...
I basically need to download certain application using wget or apt-get however the VM (centOS) inside my ESXi 6.5 doesn't have internet connection, and to set up pfSense is too complex for me. So I tried plugging in a TP-Link Wireless Adapter on the ESXi 6.5 Host (Acer laptop), edit the settings of my VM: However, when I launch the VM, it doesn't work/not connected. Do I need to download drivers? Is there any workaround? Any help would be appreciated, thank you.
It works fine for wrong credentials/lockdown mode but when I plug out the LAN Cable, so it's not connected to the server physically, the script still runs.
I am trying to find a way to stop the script from continuing to run when in lockdown mode or any other circumstances This script I'm using now does stop the script from continuing to run, however... See more...
I am trying to find a way to stop the script from continuing to run when in lockdown mode or any other circumstances This script I'm using now does stop the script from continuing to run, however it only stops if the wrong credential or IP address is stated, it doesn't stop if the vSphere host is in lockdown mode. It will give this error (picture below) and still continuining to run the script with errors. So this is the code I am using: param ( [Parameter(Mandatory=$true)][string]$s, [Parameter(Mandatory=$true)][string]$u, [Parameter(Mandatory=$true)][string]$p ) function connect-server {     #Connecting to server     Add-PSSnapin VMware.VimAutomation.Core -ErrorAction SilentlyContinue     $serverin = $s     $userin = $u     $passin = $p     $error.clear()     Connect-VIServer -Server $serverin -User $userin -Password $passin        $serverlist = $global:DefaultVIServer        if($serverlist -eq $null) {         write-host "No connected servers."         BREAK         } else {         foreach ($server in $serverlist) {             $serverName = $server.Name             if($serverName -eq $serverin){                 write-Host "Connected"                 scoringsystem                 } else {                 write-host "Something did not work right. Please try again"             }         }     } }
Basically, I want my script to be able to check for a particular setting, in this case "isolation.tools.copy.disable", whether it exist in each VM or not. And after checking, it would want to ret... See more...
Basically, I want my script to be able to check for a particular setting, in this case "isolation.tools.copy.disable", whether it exist in each VM or not. And after checking, it would want to retrive/store the VM without the setting and add a new one. If setting exist, it would then continue and check on the existing setting value . So, here's my 'try' on achieving it however it doesn't seem to work at all. any help would be appreciated. Here the code: #Check for console copy Write-Host "`nCheck for Console Copy`n" -ForegroundColor Gray $copytool = Get-VM | Get-AdvancedSetting -Name "isolation.tools.copy.disable" | Select Entity, Name, Value $setting = Get-VM | Get-AdvancedSetting $vmcount = (Get-VM | Measure).Count #Check if setting exist for ($y = 0;$y -lt $vmcount; $y++){      if ($setting[$y].Name -ne "isolation.tools.copy.disable"){      $name = $setting[$y].Entity      Write-Host "'isolation.tools.copy.disable' in $name is not Found!" } #check if existing setting value else { ...... <this part is fine>
Is there a way to update the Hardening Guideline (5.5/6.0) policy to vSphere 6.5 Security Configuration Guide?
I am having an issue trying to figure out a way to the a hardening check based on vSphere 6.5 Hardening guideline using a script that is able to be used in Ansible. This is so that I am able to c... See more...
I am having an issue trying to figure out a way to the a hardening check based on vSphere 6.5 Hardening guideline using a script that is able to be used in Ansible. This is so that I am able to check the compliance/risk of my bare-metal installation of my vSphere 6.5. I do know that I can use vRealize to automate thing however I am looking for another option as I not into purchasing vRealize at the moment. Any help would be appreciated!
After making the hardening guideline my default policy, it seems that there isn't anything like alert shown. Does this means that my host is fine or did I do something wrong? (See attached pictur... See more...
After making the hardening guideline my default policy, it seems that there isn't anything like alert shown. Does this means that my host is fine or did I do something wrong? (See attached picture)
I've tried putting my ESXi 6.5 IP at the 'vCenter Server' box under Basic Setting during configuration and it seems to 'work'. However, it's not showing any risk and alerts whatsoever and further... See more...
I've tried putting my ESXi 6.5 IP at the 'vCenter Server' box under Basic Setting during configuration and it seems to 'work'. However, it's not showing any risk and alerts whatsoever and furthermore it requires me to go in quite deep to find my host (Environment > vSphere Hosts and Clusters > vSphere World > ESXi 6.5 > ha-datacenter > esxi-host ). As stated in my question above that I need to check where my host is hardened, is there a way for vROPs to show the risk on my host using the Security Hardening Guideline vSphere 6.5?
Hi, im really new to vROPs, so my issue is whether I am able to just use my ESXi vSphere 6.5 to allow me to use vROPs instead of using vCenter as I need vROPs to help me on hardening of my host. ... See more...
Hi, im really new to vROPs, so my issue is whether I am able to just use my ESXi vSphere 6.5 to allow me to use vROPs instead of using vCenter as I need vROPs to help me on hardening of my host. This is because I only have 1 host and have a few VMs running only, thus do not need vCenter. However, upon installation of vROPs, I realize that they require me to configure my vCenter Adapter which needs a vCenter credential which I do not have. Any help would be appreciated, thanks!
Been working on a project that requires me to automate the hardening of my ESXi 6.5 hypervisor using Ansible by following the VMware Hardening Guidelines. So I've been wondering whether there's a... See more...
Been working on a project that requires me to automate the hardening of my ESXi 6.5 hypervisor using Ansible by following the VMware Hardening Guidelines. So I've been wondering whether there's anyone out there that have tried to use any automation scripting tools like Ansible to do automation of hardening on their hypervisor and have some sort of pointers or playbooks that have been done so that I could refer to. I can't seem to find any sort of resources out on the net that touches on this after researching for a while. Any help would be great !