Skip to content

Instantly share code, notes, and snippets.

@bielawb
Created March 2, 2017 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bielawb/8fe28c0e8eaa53508a3e4dffb45b0850 to your computer and use it in GitHub Desktop.
Save bielawb/8fe28c0e8eaa53508a3e4dffb45b0850 to your computer and use it in GitHub Desktop.
Bezpieczne formatowanie
Import-Module -Name FormatPx
Get-Disk | Format-List | Get-Member | Select-Object -Unique -Property TypeName
<#
Output:
TypeName
--------
Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_Disk
#>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment