![Powershell Core 6.2 Cookbook](https://wfqqreader-1252317822.image.myqcloud.com/cover/704/36698704/b_36698704.jpg)
上QQ阅读APP看书,第一时间看更新
How to do it...
Please perform the following steps:
- On a Windows system, you can use many built-in cmdlets with PowerShell Core. Try Import-Module Storage -SkipEditionCheck.
- On a Windows system, type Get-Disk to list all disks. The result should look similar to the following:
![](https://epubservercos.yuewen.com/57DF63/19470379901495806/epubprivate/OEBPS/Images/2a7604fc-c574-46d5-af96-54c423fdf094.png?sign=1738933049-DRwAeEFJ6eD5ppET7mCi7CLoYYVh72XR-0-afb6a87fcc187151e3c1ce74b642edcd)
- On a Windows system, use Get-Disk -Number 0 | Get-Partition to retrieve the partitions on the first disk:
![](https://epubservercos.yuewen.com/57DF63/19470379901495806/epubprivate/OEBPS/Images/b52fe953-8ecf-4ca4-b5dd-37dad52e0237.png?sign=1738933049-yqZvfYwaVI1KjyOuzGj1U4NeNrGaOLcn-0-58dfa7a4d8f28013576700d4c101bc54)
- On any system, try the Get-Uptime cmdlet to calculate the system uptime.
- Use Get-Culture and Get-UICulture to view the current language settings.
- Review the result of Get-PackageProvider. On a Windows system, additional providers are visible.