Comments (3)
Clear-Host
[string]$BootDisk = Get-WmiObject Win32_DiskPartition |Where-Object {$.BootPartition -eq "true"} | % {$.DeviceID}
$BootDisk = $BootDisk.split(",");$BootDisk = $BootDisk[0];$BootDisk = $BootDisk.Length -1
Write-Host "BootDisk has Disk ID $BootDisk"
$disks = "list disk" | diskpart | where {$_ -match "online"}
$i=0
ForEach ($disk in $disks)
{
$i++
$onlinedisk = $onlinedisk + $i
$onlinedisk = $disk.split(" ",[System.StringSplitOptions]::RemoveEmptyEntries)
IF (!($getID -eq $BootDisk))
{
Write-Host "WriteCacheDisk has DiskID $getID" -ForegroundColor Green
}
}
Write-Host "Press any key to continue ..."
$x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
Exit
from bis-f.
For further anlaysis implement the function into Relase 7 1912 but for the dynmic detection only. No Action behind at the moment
from bis-f.
05.10.2019 MS: ENH 22 - Get DiskID's of the system - for monitoring only -> for later use to fix 'Endless Reboot with VMware Paravirtual SCSI disk'
Function Get-CacheDiskID in BISF.psm1 and call the Function in BISF.ps1
from bis-f.
Related Issues (20)
- Eventlog redirection exlusion HOT 2
- Program pauses when console is closed HOT 1
- Out-File: The network path was not found
- Deselecting an option in GPO under Citrix - Configure Citrix PVS Target Device wont work
- Multithreaded PVS Rehydration Script HOT 1
- FSLogix rule files not being copied HOT 3
- [Issue]: Citrix Optimizer is not executed if it is installed to multiple locations
- [Feature request]: Remove-BISFFolderAndContents - Add Test-Path
- [Issue]: Script crashes running Test-DrvLabel
- [Issue]: crash when building base image
- [Issue]: Crash when trying to activate Nvidia GRID card
- [Issue]: Defrag not performed, not defined based on DiskMode VDAPrivate HOT 3
- [Issue]: New SEP client (14.4 RU6) not recognized by the script HOT 6
- [Feature request]: NVIDIA Trusted Storage
- [Feature request]: Remove ActiveSetup StubPath HOT 2
- [Issue]: 02_PersBISF_CTX.ps1 never finishes on Azure AD only Azure VMs HOT 4
- [Question]: No FSLogix Apps Central Rules Share defined HOT 4
- [Issue]: Crash / Dumpfile is set but no Option to turn it off (Server 2022) HOT 2
- [Feature request]: Support rapid7 Agent HOT 1
- [Issue]: Diskmode not detected in Citrix VDA 2303 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bis-f.