mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-16 17:51:28 +01:00
Update README.md
This commit is contained in:
parent
4bae3370a4
commit
271c90e2c6
11
README.md
11
README.md
@ -20,6 +20,7 @@ Scripts Explained
|
||||
Frequently Asked Questions (FAQ)
|
||||
--------------------------------
|
||||
**What is PowerShell?**
|
||||
|
||||
PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language.
|
||||
* PowerShell is cross-platform: available for Windows, Linux and Mac OS
|
||||
* PowerShell is powerful: fully control your computer
|
||||
@ -28,23 +29,25 @@ PowerShell is a task automation and configuration management framework from Micr
|
||||
* PowerShell is fully documented: see the official docs at https://docs.microsoft.com/en-us/powershell/
|
||||
|
||||
**How to configure PowerShell as default shell on Linux?**
|
||||
|
||||
Make sure PowerShell is installed, then use the `chsh` as follows:
|
||||
`chsh -s /bin/powershell username`
|
||||
* `chsh -s /bin/powershell username`
|
||||
|
||||
**How to add the subfolder Scripts/ to the search path for command-line usage?**
|
||||
|
||||
* **Windows:** open the environment variables dialogue and add the full path to Scripts/ to the system environment variable "Path"
|
||||
* **Bash or sh:** edit .profile in your home directory and add the line: PATH="$PATH:/path/to/PowerShell/Scripts"
|
||||
|
||||
Script Standards
|
||||
----------------
|
||||
Each script provides:
|
||||
1. a comment header containing a description, author, source, and license
|
||||
2. prefers command-line options but may ask the user if missing
|
||||
1. a comment header containing the description, author, source, and license
|
||||
2. prefers command-line options but may ask the user in case no option is given
|
||||
3. exits 0 for success, otherwise the error code (mostly 1)
|
||||
|
||||
Feedback
|
||||
--------
|
||||
Send your email feedback to markus [at] fleschutz [dot] de.
|
||||
Send your email feedback to: markus [at] fleschutz [dot] de
|
||||
|
||||
License & Copyright
|
||||
-------------------
|
||||
|
Loading…
Reference in New Issue
Block a user