concept feature in category powershell

appears as: features, features, feature, feature, A feature
Windows PowerShell in Action, Third Edition

This is an excerpt from Manning's book Windows PowerShell in Action, Third Edition.

If this is the case, what’s scripting and why are scripting languages not shells? To some extent, there’s no difference. Many scripting languages have a mode in which they take commands from the user and then execute those commands to return results. This mode of operation is called a read-evaluate-print loop, or REPL. In what way is a scripting language with a REPL not a shell? The difference is mainly in the user experience. A proper command-line shell is also a proper UI. As such, a command line has to provide a number of features to make the user’s experience pleasant and customizable, including aliases (shortcuts for hard-to-type commands), wildcard matching to avoid having to type out full names, and the ability to start other programs easily. Finally, commandline shells provide mechanisms for examining, editing, and re-executing previously typed commands. These mechanisms are called command history.

In this chapter, we’re going to cover the features of remoting and how you can apply them. We’ll use an example showing how to combine the features to solve a nontrivial problem: monitoring multiple remote machines. We’ll then look at some of the configuration considerations you need to be aware of when using PowerShell remoting.

VERBOSE: [W16CN01]:                            [[WindowsFeature]AD::[RoleConfiguration]ServerRole]
Successfully installed the feature RSAT-AD-PowerShell.

VERBOSE: [W16TGT01]:
[[WindowsFeature]Hyper-V::[RoleConfiguration]ServerRole]
Successfully installed the feature Hyper-V-PowerShell.
PowerShell in Depth, Second Edition

This is an excerpt from Manning's book PowerShell in Depth, Second Edition.

Most PowerShell hosts—including the console and ISE provided by Microsoft—provide a feature called tab completion. It’s a way of letting the shell type for you. For example, open a PowerShell console window and type Get-P. Then, press the Tab key on your keyboard. Keep pressing Tab, and you’ll see PowerShell cycle through all of the available commands that match what you’d already typed. Press Shift+Tab to cycle backward.

As a further example, the feature on Jeff’s blog that provides JSON can return data based on a search result, but you have to know in advance how to construct the URI. In this example, we’ll get some recent blog posts on PowerShell: