Powershell Flashcards
Describe PowerShell
As an interactive command shell; Windows PowerShell serves as a direct administrator interface for managing Windows systems. As a scripting and administrative programming environment; Windows PowerShell provides a platform for automating systems.”
What is interpretive programming language platform?
A programming language whose programs are not directly executed by the host cpu but rather executed (or said to be interpreted) by a software known as an interpreter.
How is Windows PowerShell different from other scripting languages such as VBScript and Perl?
Windows PowerShell is not about text processing. It’s about object handling!
What is one way that you can combine commands or cmdlets in Windows PowerShell?
Using piplines
How can you use the modularity of cmdlets to perform a specific task?
…
What is required to run PowerShell?
Windows PowerShell uses Microsoft .NET Framework version 2.0 as a foundation.
How the new cmdlets and aliases are invoked?
…
How the aliases are assigned?
…
What relationship b/w .NET Framework and PowerShell?
Windows PowerShell uses Microsoft .NET Framework version 2.0 as a foundation and is a scripting language for .NET object in the same way as VBScript is a scripting language for the COM.
What are the benefits of having Windows PowerShell run on the .NET Framework?
…
What makes PowerShell easier to automate?
Object orientation plus .NET features makes Windows PowerShell easy to automate.
How can you take advantage of the object-oriented nature of Windows PowerShell?
…
What other object-oriented framewords Windows operating system supports besides .NET?
COM and WMI
What other object-oriented framewords can be used by PowerShell?
.NET - COM - WMI
How can you combine .NET
COM, and WMI objects to facilitate your tasks?,
How can PowerShell be extended?
Providers - Cmdlets - Scripts - functions - aliases
What is a cmdlet?
A commandlet (cmdlet) is a lightweight command used in the Windows PowerShell environment.
How does Exchange Management Shell (EMS) improve Windows PowerShell capabilities?
…
What needs to be set to allow scripts to be executed?
set-executionpolicy remotesigned
What version of .NET is installed on Windows 2008 server?
.NET 3.0
Why does PowerShell doesn’t run on Server Core?
.NET Framework doesn’t yet run on Server Core
How PowerShell is installed on Windows 2008 server?
Server Manager via Administrative Tools and select add Feature
Difference b/w Core server and Windows 2008 server?
…
What is the path to Windows PowerShell executables?
c:\windows\system32\WindowsPowerShell\v1.0