ConfigMgr

VMware, Azure and Automation

Handy one-liners

1 mei 2023 Microsoft VMware

Every once in a while you stumble upon a one-liner that you want to remember. So where do you keep those? Here!

Clear VCSA Backup History
rm /storage/applmgmt/backup_restore/backup-history.json
Reset VAMI Update Status
rm /etc/applmgmt/appliance/software_update_state.conf
Restart Management Agents
services.sh restart &tail -f /var/log/jumpstart-stdout.log
Finding Templates based on Tag name
(Get-Template | Get-TagAssignment | ?{$_.Tag.Name -eq "Name"} | Select Entity).Entity
Change Windows Server Evaluation to licensed edition
DISM /Online /Get-CurrentEdition
DISM /Online /Get-TargetEditions
DISM /Online /Set-Edition:ServerDatacenter /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula

For product keys check this link.

Install VMware PowerCLI
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
Install-Module -Name VMware.PowerCLI
Fix ESXi “no boot device found”
Boot with FreeBSD boot device
efibootmgr -v
Check device that ESXi partition uses
fsck_msdosfs /dev/<device>
Install SSH Server on Windows Server
Get-WindowsCapability -online | ?{$_.Name -like "OpenSSH.Server*"} | Add-WindowsCapability -online
Copy files with SCP
scp <file> user@server:path

Deploying Patches to VCF - RTFM

VxRail Cluster Health Monitoring disabled

Recent Posts

  • Using API for Aria OPS Chargeback
  • Unable to set reservation on Org VDC
  • Veeam Tweaks
  • VCF Anyone? Get your license for free…
  • Configure Entra ID as Cloud Director IdP

Recent Comments

Geen reacties om te tonen.

Archives

  • april 2025
  • maart 2025
  • november 2024
  • oktober 2024
  • januari 2024
  • november 2023
  • oktober 2023
  • september 2023
  • juni 2023
  • mei 2023
  • april 2023
  • november 2022
  • maart 2021
  • februari 2021
  • januari 2021
  • november 2020
  • oktober 2020
  • september 2020
  • juli 2020
  • juni 2020
  • april 2020
  • maart 2020
  • februari 2020
  • oktober 2019
  • september 2019
  • juli 2019
  • juni 2019
  • mei 2019
  • maart 2019
  • februari 2019
  • januari 2019
  • december 2018
  • november 2018
  • april 2018
  • januari 2018
  • juli 2017
  • juni 2017
  • mei 2017

Categories

  • AnyLinq
  • Azure
  • Cloud Director
  • ConfigMgr
  • DIY
  • HomeAssistant
  • Microsoft
  • PowerCli
  • Powershell
  • SCCM
  • Script
  • Solutions
  • System Center
  • Veeam
  • VMware
  • vRealize Automation
  • vRealize Orchestrator
Proudly powered by WordPress | Theme: Doo by ThemeVS.