*: add note for pwsh descriptions Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
@@ -103,7 +103,7 @@ Thus, if the command or its options are unavailable or contain different behavio
# Clear-RecycleBin
> Clear items from the Recycle Bin.
-> This command can only be used through PowerShell versions 5.1 and below, or 7.1 and above.
+> Note: This command can only be used through PowerShell versions 5.1 and below, or 7.1 and above.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/clear-recyclebin>.
```
@@ -1,7 +1,7 @@
# Clear-Host
> Clears the screen.
-> This command can only be used through PowerShell.
+> Note: This command can only be used through PowerShell.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/clear-host>.
- Clear the screen:
# Get-Acl
> Get the security descriptor for a resource, such as a file or registry key.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.security/get-acl>.
- Display the ACL for a specific directory:
# Get-ChildItem
> List items in a directory.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-childitem>.
- List all non-hidden items in the current directory:
# Get-Content
> Get the content of the item at the specified location.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-content>.
- Display the content of a file:
# Get-Date
> Get the current date and time.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/get-date>.
- Display the current date and time:
# Get-FileHash
> Calculate a hash for a file.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/get-filehash>.
- Calculate a hash for a specified file using the SHA256 algorithm:
# Get-History
> Display PowerShell command history.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/get-history>.
- Display the commands history list with ID:
# Invoke-Item
> Open files in their respective default programs.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/invoke-item>.
- Open a file in its default program:
# Invoke-WebRequest
> Performs a HTTP/HTTPS request to the Web.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest>.
- Download the contents of a URL to a file:
# Measure-Command
> Measures the time it takes to run script blocks and cmdlets.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/measure-command>.
- Measure the time it takes to run a command:
# Measure-Object
> Calculates the numeric properties of objects, and the characters, words, and lines in string objects, such as files of text.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/measure-object>.
- Count the files and folders in a directory:
# New-Item
> Create a new file, directory, symbolic link, or a registry entry.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/new-item>.
- Create a new blank file (equivalent to `touch`):
# Out-String
> Outputs input objects as a string.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/out-string>.
- Print host information as string:
# Resolve-Path
> Resolves the wildcard characters in a path, and displays the path contents.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/resolve-path>.
- Resolve the home folder path:
# Select-String
> Finds text in strings and files in PowerShell.
> You can use `Select-String` similar to `grep` in UNIX or `findstr.exe` in Windows.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/select-string>.
# Set-Acl
> Changes the security descriptor of a specified item, such as a file or a registry key.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.security/set-acl>.
- Copy a security descriptor from one file to another:
# Set-Date
> Changes the system time on the computer to a time that you specify.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/set-date>.
- Add three days to the system date:
# Set-Location
> Display the current working directory or move to a different directory.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-location>.
- Go to the specified directory:
# Set-Service
> Starts, stops, and suspends a service, and changes its properties.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-service>.
- Change a display name:
# Show-Markdown
> Shows a Markdown file or string in the console in a friendly way using VT100 escape sequences or in a browser using HTML.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/show-markdown>.
- Render markdown to console from a file:
# Sort-Object
> Sorts objects by property values.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/sort-object>.
- Sort the current directory by name:
# Start-Service
> Starts stopped services.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/start-service>.
- Start a service by using its name:
# Stop-Service
> Stops running services.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/stop-service>.
- Stop a service on the local computer:
# Tee-Object
> Saves command output in a file or variable and also sends it down the pipeline.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/tee-object>.
- Output processes to a file and to the console:
# Test-Json
> Test whether a string is a valid JSON document.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/test-json>.
- Test if a string from `stdin` is in JSON format:
# Test-NetConnection
> Display diagnostic information for a connection.
> More information: <https://learn.microsoft.com/powershell/module/nettcpip/test-netconnection>.
- Test a connection and display detailed results:
# Wait-Process
> Waits for the processes to be stopped before accepting more input.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/wait-process>.
- Stop a process and wait:
# Where-Object
> Selects objects from a collection based on their property values.
> More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/where-object>.
- Filter aliases by its name: