From 19302554fb842e9b0a6beb10c85eb5c5206678e9 Mon Sep 17 00:00:00 2001 From: Reinhart Previano Koentjoro Date: Tue, 7 Dec 2021 18:20:03 +0700 Subject: [PATCH] windows/get-*: add PowerShell-only notice (#7402) --- pages/windows/get-childitem.md | 1 + pages/windows/get-content.md | 1 + pages/windows/get-filehash.md | 1 + pages/windows/get-history.md | 1 + 4 files changed, 4 insertions(+) diff --git a/pages/windows/get-childitem.md b/pages/windows/get-childitem.md index 4a97dcf636..b3d262f925 100644 --- a/pages/windows/get-childitem.md +++ b/pages/windows/get-childitem.md @@ -1,6 +1,7 @@ # Get-ChildItem > List items in a directory. +> This command can only be used through PowerShell. > More information: . - List all non-hidden items in the current directory: diff --git a/pages/windows/get-content.md b/pages/windows/get-content.md index 10b8c434de..6ace5764b2 100644 --- a/pages/windows/get-content.md +++ b/pages/windows/get-content.md @@ -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: . - Display the content of a file: diff --git a/pages/windows/get-filehash.md b/pages/windows/get-filehash.md index 63c3f685fb..983d7ad784 100644 --- a/pages/windows/get-filehash.md +++ b/pages/windows/get-filehash.md @@ -1,6 +1,7 @@ # Get-FileHash > Calculate a hash for a file. +> This command can only be used through PowerShell. > More information: . - Calculate a hash for a specified file using the SHA256 algorithm: diff --git a/pages/windows/get-history.md b/pages/windows/get-history.md index 8ae85292de..9258395191 100644 --- a/pages/windows/get-history.md +++ b/pages/windows/get-history.md @@ -1,6 +1,7 @@ # Get-History > Display PowerShell command history. +> This command can only be used through PowerShell. > More information: . - Display the commands history list with ID: