Abstract
Every day, I continue to be amazed at the extent to which PowerShell can be tweaked and customized. It offers a wide range of configurable options that we can change by modifying variables or functions. This chapter will describe the shell environment, how we can get information about the shell settings, and how to configure the most popular options of the shell. We will work with the initialization scripts, or the so-called user profile scripts, that allow us to save configuration-related code and execute it for all instances of the shell. Finally, I will show how the shell can call our code when building the prompt string or when looking for strings to complete the current command.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2008 Hristo Deshev
About this chapter
Cite this chapter
(2008). The Shell Environment and Its Configuration. In: Pro Windows PowerShell. Apress. https://doi.org/10.1007/978-1-4302-0546-3_11
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0546-3_11
Publisher Name: Apress
Print ISBN: 978-1-59059-940-2
Online ISBN: 978-1-4302-0546-3
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)