1
0
Fork 0

SSD seems to have a new name...

This commit is contained in:
Christian Kühnel 2020-03-25 16:00:57 +01:00
parent f117646c0d
commit 8fd5aa6550

View file

@ -16,7 +16,9 @@
# This script only needs to be run once per machine. # This script only needs to be run once per machine.
Write-Host "Initializing local SSD..." Write-Host "Initializing local SSD..."
New-Variable -Name diskid -Value (Get-Disk -FriendlyName "Google EphemeralDisk").Number #New-Variable -Name diskid -Value (Get-Disk -FriendlyName "Google EphemeralDisk").Number
New-Variable -Name diskid -Value (Get-Disk -FriendlyName "NVMe nvme_card").Number
# TODO: check if machine has an SSD # TODO: check if machine has an SSD
# TODO: only do this, if SSD is not yet partioned and formatted # TODO: only do this, if SSD is not yet partioned and formatted
Initialize-Disk -Number $diskid Initialize-Disk -Number $diskid