Date post: | 02-Jun-2018 |
Category: |
Documents |
Upload: | mike-wright |
View: | 234 times |
Download: | 0 times |
of 17
8/10/2019 powershell 2 cmdlets
1/17
Add-BitsFile
Add-Computer
Add-Content
Add-History
Add-Member
Add-PSSnapin
Add-Type
Checkpoint-ComputerClear-Content
Clear-EventLog
Clear-History
Clear-Item
Clear-ItemProperty
Clear-Variable
Compare-Object
Complete-BitsTransfer
Complete-Transaction
Connect-WSMan
ConvertFrom-CSV
ConvertFrom-SecureString
ConvertFrom-StringData
Convert-Path
ConvertTo-CSV
ConvertTo-Html
ConvertTo-SecureString
ConvertTo-XML
Copy-Item
Copy-ItemProperty
Debug-Process
Disable-ComputerRestore
Disable-PSBreakpointDisable-PSSessionConfiguration
Disable-WSManCredSSP
Disconnect-WSMan
Enable-ComputerRestore
Enable-PSBreakpoint
Enable-PSRemoting
Enable-PSSessionConfiguration
Enable-WSManCredSSP
Enter-PSSession
Exit-PSSession
Export-AliasExport-Clixml
Export-Console
Export-Counter
Export-CSV
Export-FormatData
Export-ModuleMember
Export-PSSession
ForEach-Object
8/10/2019 powershell 2 cmdlets
2/17
Format-Custom
Format-List
Format-Table
Format-Wide
Get-Acl
Get-Alias
Get-AppLockerFileInformation
Get-AppLockerPolicyGet-AuthenticodeSignature
Get-BitsTransfer
Get-ChildItem
Get-Command
Get-ComputerRestorePoint
Get-Content
Get-Counter
Get-Credential
Get-Culture
Get-Date
Get-Event
Get-EventLog
Get-EventSubscriber
Get-ExecutionPolicy
Get-FormatData
Get-Help
Get-History
Get-Host
Get-HotFix
Get-Item
Get-ItemProperty
Get-Job
Get-LocationGet-Member
Get-Module
Get-PfxCertificate
Get-Process
Get-PSBreakpoint
Get-PSCallStack
Get-PSDrive
Get-PSProvider
Get-PSSession
Get-PSSessionConfiguration
Get-PSSnapinGet-Random
Get-Service
Get-TraceSource
Get-Transaction
Get-TroubleshootingPack
Get-UICulture
Get-Unique
Get-Variable
8/10/2019 powershell 2 cmdlets
3/17
8/10/2019 powershell 2 cmdlets
4/17
Pop-Location
Push-Location
Read-Host
Receive-Job
Register-EngineEvent
Register-ObjectEvent
Register-PSSessionConfiguration
Register-WmiEventRemove-BitsTransfer
Remove-Computer
Remove-Event
Remove-EventLog
Remove-Item
Remove-ItemProperty
Remove-Job
Remove-Module
Remove-PSBreakpoint
Remove-PSDrive
Remove-PSSession
Remove-PSSnapin
Remove-Variable
Remove-WmiObject
Remove-WSManInstance
Rename-Item
Rename-ItemProperty
Reset-ComputerMachinePassword
Resolve-Path
Restart-Computer
Restart-Service
Restore-Computer
Resume-BitsTransferResume-Service
Select-Object
Select-String
Select-XML
Send-MailMessage
Set-Acl
Set-Alias
Set-AppLockerPolicy
Set-AuthenticodeSignature
Set-BitsTransfer
Set-ContentSet-Date
Set-ExecutionPolicy
Set-Item
Set-ItemProperty
Set-Location
Set-PSBreakpoint
Set-PSDebug
Set-PSSessionConfiguration
8/10/2019 powershell 2 cmdlets
5/17
Set-Service
Set-StrictMode
Set-TraceSource
Set-Variable
Set-WmiInstance
Set-WSManInstance
Set-WSManQuickConfig
Show-EventLogSort-Object
Split-Path
Start-BitsTransfer
Start-Job
Start-Process
Start-Service
Start-Sleep
Start-Transaction
Start-Transcript
Stop-Computer
Stop-Job
Stop-Process
Stop-Service
Stop-Transcript
Suspend-BitsTransfer
Suspend-Service
Tee-Object
Test-AppLockerPolicy
Test-ComputerSecureChannel
Test-Connection
Test-ModuleManifest
Test-Path
Test-WSManTrace-Command
Undo-Transaction
Unregister-Event
Unregister-PSSessionConfiguration
Update-FormatData
Update-List
Update-TypeData
Use-Transaction
Wait-Event
Wait-Job
Wait-ProcessWhere-Object
Write-Debug
Write-Error
Write-EventLog
Write-Host
Write-Output
Write-Progress
Write-Verbose
8/10/2019 powershell 2 cmdlets
6/17
Write-Warning
8/10/2019 powershell 2 cmdlets
7/17
Adds one or more files to an existing Background Intelligent Transfer Service (BITS) transfer job.Adds the local computer to a domain or workgroup.Adds content to the specified items, such as adding words to a file.Appends entries to the session history.Adds a user-defined custom member to an instance of a Windows PowerShell object.Adds one or more Windows PowerShell snap-ins to the current session.Adds a Microsoft .NET Framework type (a class) to a Windows PowerShell session (PSSession).
Creates a system restore point on the local computer.Deletes the contents of an item, such as deleting the text from a file, but does not delete the item.Deletes all entries from specified event logs on the local or remote computers.Deletes entries from the command history.Deletes the contents of an item but does not delete the item.Deletes the value of a property but does not delete the property.Deletes the value of a variable.Compares two sets of objects.Completes a BITS transfer job.Commits the active transaction.Connects to the Windows Remote Management (WinRM) service on a remote computer.Converts object properties in comma-separated value (CSV) format into CSV versions of the original objects.Converts a secure string into an encrypted standard string.Converts a string containing one or more key/value pairs to a hash table.Converts a path from a Windows PowerShell path to a PowerShell provider path.Converts .NET Framework objects into a series of CSV variable-length strings.Converts .NET Framework objects into HTML that can be displayed in a Web browser.Converts encrypted standard strings to secure strings. It can also convert plain text to secure strings. It is used with ConvertFrom-Creates an XML-based representation of an object.Copies an item from one location to another within a namespace.Copies a property and value from a specified location to another location.Debugs one or more processes running on the local computer.Disables the System Restore feature on the specified file system drive.
Disables breakpoints in the current console.Denies access to the session configurations on the local computer.Disables Credential Security Service Provider (CredSSP) authentication on a client computer.Disconnects the client from the WinRM service on a remote computer.Enables the System Restore feature on the specified file system drive.Enables breakpoints in the current console.Configures the computer to receive remote commands.Enables session configurations on the local computer.Enables CredSSP authentication on a client computer.Starts an interactive session with a remote computer.Ends an interactive session with a remote computer.
Exports information about currently defined aliases to a file.Creates an XML-based representation of an object or objects and stores it in a file.Exports the names of snap-ins in the current session to a console file.Takes PerformanceCounterSampleSet objects and exports them as counter log files.Converts .NET Framework objects into a series of CSV variable-length strings and saves the strings in a CSV file.Saves formatting data from the current session in a formatting file.Specifies the module members that are exported.Imports commands from another session and saves them in a Windows PowerShell module.Performs an operation against each of a set of input objects.
8/10/2019 powershell 2 cmdlets
8/17
Uses a customized view to format the output.Formats the output as a list of properties in which each property appears on a new line.Formats the output as a table.Formats objects as a wide table that displays only one property of each object.Gets the security descriptor for a resource, such as a file or registry key.Gets the aliases for the current session.Gets the AppLocker file information from a list of files or an event log.
Gets the local, effective, or domain AppLocker policy.Gets information about the Authenticode signature in a file.Retrieves the associated BitsJob object for an existing BITS transfer job.Gets the items and child items in one or more specified locations.Gets basic information about cmdlets and other elements of Windows PowerShell commands.Gets the restore points on the local computer.Gets the content of the item at the specified location.Gets performance counter data from local and remote computers.Gets a credential object based on a user name and password.Gets the current culture set in the operating system.Gets the current date and time.Gets the events in the event queue.Gets the events in an event log, or a list of the event logs, on the local or remote computers.Gets the event subscribers in the current session.Gets the execution policies for the current session.Gets the formatting data in the current session.Displays information about Windows PowerShell commands and concepts.Gets a list of the commands entered during the current session.Gets an object that represents the current host program. Also displays Windows PowerShell version and regional information byGets the hotfixes that are applied to the local and remote computers.Gets the item at the specified location.Gets the properties of a specified item.Gets Windows PowerShell background jobs that are running in the current session.
Gets information about the current working location.Gets the properties and methods of objects.Gets the modules that are imported or that can be imported into the current session.Gets information about .pfx certificate files on the computer.Gets the processes that are running on the local computer or a remote computer.Gets the breakpoints that are set in the current session.Displays the current call stack.Gets the Windows PowerShell drives in the current session.Gets information about the specified Windows PowerShell provider.Gets the Windows PSSessions in the current session.Gets the registered session configurations on the computer.
Gets the Windows PowerShell snap-ins on the computer.Gets a random number or selects objects randomly from a collection.Gets the services on a local or remote computer.Gets the Windows PowerShell components that are instrumented for tracing.Gets the current (active) transaction.Gets information about a troubleshooting pack and can generate an answer file.Gets the current user interface (UI) culture settings in the operating system.Returns the unique items from a sorted list.Gets the variables in the current console.
8/10/2019 powershell 2 cmdlets
9/17
Gets events from event logs and event tracing log f iles on local and remote computers.Gets instances of Windows Management Instrumentation (WMI) classes or information about the available classes.Gets the CredSSP-related configuration for the client.Displays management information for a resource instance specified by a Uniform Resource Identifier (URI).Groups objects that contain the same value for specified properties.Imports an alias list from a file.Imports a CLIXML file and creates corresponding objects within Windows PowerShell.
Imports performance counter log files (.blg, .csv, .tsv) and creates the objects that represent each counter sample in the log.Converts object properties in a CSV file into CSV versions of the original objects.Imports language-specific data into scripts and functions based on the UI culture that is selected for the operating system.Adds modules to the current session.Imports commands from another session into the current session.Runs commands on local and remote computers.Runs commands or expressions on the local computer.Runs commands from the session history.Performs the default action on the specified item.Executes a troubleshooting pack in interactive or unattended mode to fix a problem and then generates a results report.Calls WMI methods.Invokes an action on the object that is specified by the Resource URI and by the selectors.Combines a path and a child path into a single path. The provider supplies the path delimiters.Sets the event log properties that limit the size of the event log and the age of its entries.Measures the time it takes to run script blocks and cmdlets.Calculates the numeric properties of objects and the characters, words, and lines in string objects, such as files of text.Moves an item from one location to another.Moves a property from one location to another.Creates a new alias.Creates a new AppLocker policy from a list of file information and other rule creation options.Creates a new event.Creates a new event log and a new event source on a local or remote computer.Creates a new item.
Creates a new property for an item and sets its value. For example, you can use New-ItemProperty to create and change registryCreates a new dynamic module that exists only in memory.Creates a new module manifest.Creates an instance of a Microsoft .NET Framework or Component Object Model (COM) object.Creates a Windows PowerShell drive in the current session.Creates a persistent connection to a local or remote computer.Creates an object that contains advanced options for a PSSession.Creates a new Windows service.Creates a TimeSpan object.Creates a new variable.Creates a Web service proxy object that lets you use and manage the Web service in Windows PowerShell.
Creates a new instance of a management resource.Creates a WS-Management session option hash table to use as input parameters to the followingWS-Management cmdlets: Get-Sends the output to the default formatter and to the default output cmdlet.Sends output to a file.Sends output to an interactive table in a separate window.Sends output to the command line.Deletes output instead of sending it to the console.Sends output to a printer.Sends objects to the host as a series of strings.
8/10/2019 powershell 2 cmdlets
10/17
8/10/2019 powershell 2 cmdlets
11/17
Starts, stops, and suspends a service and changes its properties.Establishes and enforces coding rules in expressions, scripts, and script blocks.Configures, starts, and stops a trace of Windows PowerShell components.Sets the value of a variable. Creates the variable if one with the requested name does not exist.Creates or updates an instance of an existing WMI class.Modifies the management information that is related to a resource.Configures the local computer for remote management.
Displays the event logs of the local or a remote computer in Event Viewer.Sorts objects by property values.Returns the specified part of a path.Creates a new BITS transfer job.Starts a Windows PowerShell background job.Starts one or more processes on the local computer.Starts one or more stopped services.Suspends the activity in a script or session for the specified period of time.Starts a transaction.Creates a record of all or part of a Windows PSSession in a text file.Stops (shuts down) local and remote computers.Stops a Windows PowerShell background job.Stops one or more running processes.Stops one or more running services.Stops a transcript.Suspends a BITS transfer job.Suspends (pauses) one or more running services.Saves command output in a file or variable and displays it in the console.Tests whether the input files are allowed to run for a given user based on the specified AppLocker policy.Tests and repairs the secure channel between the local computer and its domain.Sends Internet Control Message Protocol (ICMP) echo request packets (pings) to one or more computers.Verifies that a module manifest file accurately describes the contents of a module.Determines whether all elements of a path exist.
Tests whether the WinRM service is running on a local or remote computer.Configures and starts a trace of the specified expression or command.Rolls back the active transaction.Cancels an event subscription.Deletes registered session configurations from the computer.Updates the formatting data in the current session.Adds items to and removes items from a property value that contains a collection of objects.Updates the current extended type configuration by reloading the *.types.ps1xml files into memory.Adds the script block to the active transaction.Waits until a particular event is raised before continuing to run.Suppresses the command prompt until one or all of the Windows PowerShell background jobs running in the session are complet
Waits for the processes to be stopped before accepting more input.Creates a filter that controls which objects will be passed along a command pipeline.Writes a debug message to the console.Writes an object to the error stream.Writes an event to an event log.Writes customized output to a host.Sends the specified objects to the next command in the pipeline. If the command is the last command in the pipeline, the objectsDisplays a progress bar within a Windows PowerShell command window.Writes text to the verbose message stream.
8/10/2019 powershell 2 cmdlets
12/17
Writes a warning message.
8/10/2019 powershell 2 cmdlets
13/17
SecureString and Read-Host.
8/10/2019 powershell 2 cmdlets
14/17
default.
8/10/2019 powershell 2 cmdlets
15/17
values and data, which are properties of a registry key.
WSManInstance, Set-WSManInstance, Invoke-WSManAction, Connect-WSMan.
8/10/2019 powershell 2 cmdlets
16/17
k or from a stack that you create by using the Push-Location cmdlet.
t a specified number of objects from the beginning or end of an array of objects.
8/10/2019 powershell 2 cmdlets
17/17
e.
are displayed in the console.