Skip to content

Instantly share code, notes, and snippets.

@weidi
weidi / Get-FCDInfo.ps1
Created November 11, 2020 11:56
This will give you information about a First Class Disk in vSphere. They are use e.g. for CNS Volumes. Sometimes it´s hard to find the physical Path or the VM that claimed it.
<#
.Synopsis
This will give you information about a First Class Disk
.DESCRIPTION
This will give you information about a First Class Disk in vSphere. They are use e.g. for CNS Volumes. Sometimes it´s hard to find the physical Path or the VM that claimed it.
.EXAMPLE
Get-FCDInfo -Name "pvc-e51ba680-4e93-411a-bc9e-e30d0b8870b5"
.EXAMPLE
Get-FCDInfo -Filename "[vsanDatastore] 78f8f95e-9cf4-9c06-fbd7-08f1eaf44c56/_00b0/_0090/eda70a68ca06471e8080ef26447145b5.vmdk"
#>
@weidi
weidi / command.sh
Last active July 17, 2020 07:44
Remove_vSAN_Fileservices_OVF
Command> shell
[ ~ ]# cd /storage/updatemgr/vsan/fileService/ovf-7.0.0.1000
[ /storage/updatemgr/vsan/fileService/ovf-7.0.0.1000 ]# rm *
@weidi
weidi / boot-from-ram-debian.md
Last active September 11, 2024 14:46 — forked from avinash-oza/boot-from-ram-debian.md
How to boot from RAM on debian