click below
click below
Normal Size Small Size show me how
Server 2B
Chapter 9 Windows server admin
| Question | Answer |
|---|---|
| Windows PowerShell | Supports MS-DOS shell output redirection (>>) and command chaining (;) Most commands in PowerShell will consist of cmdlets Piping (|) sends information between cmdlets Builds more complex commands or filters output to display only the desired output |
| PowerShell profile scripts | Alias and function commands placed in a PowerShell profile Automatically executed every time Windows PowerShell started for the user Edit PowerShell profile using the command notepad $profile |
| PowerShell objects | Objects have attributes Properties that describe the object |
| Methods | Things that the object can do Used to control nearly all aspects of the Windows operating system Processes Files Network sockets. |
| PowerShell provider plugins | Provide functionality within Windows PowerShell Allow PowerShell to interact with other parts of the system |
| Filesystem provider | default provider |
| Other providers | Variable provider Environment provider Alias provider Function provider Certificate provider Registry provider |
| PowerShell ISE | Integrated Scripting Environment Allows you to search for and execute commands using a Commands pane on the right. |
| Tasks using PowerShell | Post-installation tasks View, install, and remove Windows roles and features Configure and troubleshoot the network and configure firewall settings Manage services and processes Perform remote administration of computers within a domain environment |
| Cmdlets | Allow an administrator to specify the computer name for a task You can execute .a PowerShell script on several computers within a domain |
| Windows Management Instrumentation (WMI) | Powerful infrastructure in Windows Server 2022 Provides a standardized way to access management information and control system resources locally and remotely |
| WMI consumers | Programs and system software that can query WMI |
| WMI infrastructure | Collective components built into the operating system that respond to WMI queries WMI namespaces, WMI providers, WMI classes |
| PowerShell script | Text file with a .ps1 extension executed within Windows PowerShell Commands execute from top to bottom Contents Windows commands PowerShell cmdlets Complex control structures Can reuse Windows PowerShell code in different situations |
| Bob Hayes | Bullet Bob", was an American sprinter and professional football player. Died in 2002 |