
Invoke-WebRequest (Microsoft.PowerShell.Utility) - PowerShell
The Invoke-WebRequest cmdlet sends HTTP and HTTPS requests to a web page or web service. It parses the response and returns collections of links, images, and other significant HTML elements.
Invoke-Sqlcmd (SqlServer) - SQL Server PowerShell
The Invoke-Sqlcmd cmdlet runs a script containing the languages and commands supported by the SQL Server SQLCMD utility. The commands supported are Transact-SQL statements and the subset of …
Use Microsoft Graph PowerShell authentication commands
Jul 11, 2025 · Invoke Connect-MgGraph before any commands that access Microsoft Graph. This cmdlet obtains the access token using the Microsoft Authentication Library (MSAL) under the hood …
Invoke-Command (Microsoft.PowerShell.Core) - PowerShell
The Invoke-Command cmdlet runs commands on a local or remote computer and returns all output from the commands, including errors. Using a single Invoke-Command command, you can run commands …
PowerShell.Invoke Method (System.Management.Automation)
Invoke (IEnumerable, PSInvocationSettings) Invoke the Command synchronously and return the output PSObject collection.
Invoke-RestMethod (Microsoft.PowerShell.Utility) - PowerShell
The Invoke-RestMethod cmdlet sends HTTP and HTTPS requests to Representational State Transfer (REST) web services that return richly structured data. PowerShell formats the response based to …
Control.Invoke Method (System.Windows.Forms) | Microsoft Learn
For all other method calls, you should use one of the invoke methods to marshal the call to the control's thread. The delegate can be an instance of EventHandler, in which case the sender parameter will …
Avoid using Invoke-Expression - PowerShell | Microsoft Learn
Nov 17, 2022 · When a string from an untrusted source such as user input is passed directly to Invoke-Expression, arbitrary commands can be executed. Always consider a different, more robust and …
Running Remote Commands - PowerShell | Microsoft Learn
Dec 9, 2025 · To run a script on one or many remote computers, use the FilePath parameter of the Invoke-Command cmdlet. The script must be on or accessible to your local computer.
MethodBase.Invoke Method (System.Reflection) | Microsoft Learn
If you use the Invoke method to invoke M on an object of type B, then reflection will use the implementation given by class B. Even if the object of type B is cast to A, the implementation given …