This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# zpool status tank | |
pool: tank | |
state: ONLINE | |
scan: none requested | |
config: | |
NAME STATE READ WRITE CKSUM | |
tank ONLINE 0 0 0 | |
raidz2-0 ONLINE 0 0 0 | |
gptid/ ONLINE 0 0 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-CimInstance Win32_WinSAT | Format-List @{Label="Base Score";Expression={$_.WinSPRLevel}},@{Label="Processor";Expression={$_.CPUScore}},@{Label="Memory (RAM)";Expression={$_.MemoryScore}},@{Label="Graphics";Expression={$_.GraphicsScore}},@{Label="Gaming graphics";Expression={$_.D3DScore}},@{Label="Primary hard disk";Expression={$_.DiskScore}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-Item $profile -Force | |
notepad $profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add-PSSnapin *vmware* | |
Connect-VIServer <your vCenter Server> | |
$baseline = Get-Baseline -Name "Vendor VIBs" | |
Get-Datacenter | Where-Object Name -notlike "<Insert name of exclusions here>" | % { Attach-Baseline -Baseline $baseline -Entity $_ } | |
Disconnect-VIServer |
NewerOlder