windows/get-*: add PowerShell-only notice (#7402)

This commit is contained in:
Reinhart Previano Koentjoro
2021-12-07 18:20:03 +07:00
committed by GitHub
parent 6a48a5a31a
commit 19302554fb
4 changed files with 4 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
# Get-ChildItem
> List items in a directory.
> This command can only be used through PowerShell.
> More information: <https://docs.microsoft.com/powershell/module/microsoft.powershell.management/get-childitem>.
- List all non-hidden items in the current directory:

View File

@@ -1,6 +1,7 @@
# Get-Content
> Get the content of the item at the specified location.
> This command can only be used through PowerShell.
> More information: <https://docs.microsoft.com/powershell/module/microsoft.powershell.management/get-content>.
- Display the content of a file:

View File

@@ -1,6 +1,7 @@
# Get-FileHash
> Calculate a hash for a file.
> This command can only be used through PowerShell.
> More information: <https://docs.microsoft.com/powershell/module/microsoft.powershell.utility/get-filehash>.
- Calculate a hash for a specified file using the SHA256 algorithm:

View File

@@ -1,6 +1,7 @@
# Get-History
> Display PowerShell command history.
> This command can only be used through PowerShell.
> More information: <https://docs.microsoft.com/powershell/module/microsoft.powershell.core/get-history>.
- Display the commands history list with ID: