powershell Flashcards
Command line
The command line refers to the command line interface (CLI) used to interact with a computer. Commands are entered at the command prompt. The command line interface:
Is text-based.
Uses a simple command construction or syntax.
Uses flags, or switches, to specify an option in the command.
Cmdlets
Cmdlets are commands that an administrator enters at the PowerShell prompt to perform system management tasks.
The PowerShell command-line interface uses simple command construction, typically in the form of: [verb]-[noun]-[adverb]. For example:
New- or Add- or Install- will create a new entity.
Get- is used to retrieve information about an existing entity.
Set- is used to make a change to an existing entity.
When using PowerShell cmdlets, keep in mind the following:
The cmdlets are usually not case-sensitive.
When using PowerShell to turn on features, use the same case indicated in the cmdlet help.
PowerShell cmdlets are designed to be lightweight, easy to recognize, and easy to use.
Use the TAB key to cycle through the available options. Type a PowerShell verb followed by a hyphen (for example, New-) and press the TAB key again and again to cycle through the options. This feature is called tab completion.
Installing new services and features on a Windows server may also install additional PowerShell modules that contain cmdlets required to manage the newly added services and features.
PowerShell
Windows PowerShell is a powerful scripting tool used to manage the Windows operating system from the command line. You can use it to write scripts that perform system administration and application management tasks much faster than by using the GUI.
Providers
Windows PowerShell providers are .NET programs that allow you to access data stores, such as the registry and certificate store, in a way similar to how you access the file system.
ActiveDirectory
Active Directory Domain Services Administration
ADCSAdministration
Active Directory Certificate Services Administration
ADCSDeployment
Active Directory Certificate Services Deployment
ADFS
Active Directory Federation Services
BitLocker
BitLocker
Defender
Windows Defender
DHCPServer
DHCP Server
FailoverClusters
Failover Clusters
Hyper-V
Hyper-V
IpamServer
IP Address Management Server
KDS
Key Distribution Server
NetAdapter
Network adapter
NetConnection
Network connection
NetLbfo
NIC Teaming
NetNat
Network address translation
NetSecurity
Network security
NetworkController
Network Controller
NFS
Network File System
NPS
Network Policy Server
RemoteAccess
Remote Access
RemoteDesktop
Remote Desktop
RemoteDesktopServices
Remote Desktop Services
ScheduledTasks
Scheduled Tasks
WDS
Windows Deployment Services
WindowsErrorReporting
Windows Error Reporting
WindowsServerBackup
Windows Server Backup
WindowsUpdate
Windows Update
Save-Help
Use to download help files from the internet onto a local file share.
Update-Help
Use to download updates to help files from the internet onto a local file share.
Get-Help
Use to access help files downloaded onto the local file share. These help topics include cmdlets, scripts, workflows, functions, and more.
If help files have not been downloaded, this command displays auto-generated help topics and gives you the option to download help files or access them online.