> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Run SCCM Command

> Executes a SCCM command in PowerShell on a remote machine using the WinRM protocol.

## Basic Parameters[​](#basic-parameters "Direct link to Basic Parameters")

| Parameter | Description                          |
| --------- | ------------------------------------ |
| Site Code | The Configuration Manager site code. |
| Command   | The command to run.                  |

## Advanced Parameters[​](#advanced-parameters "Direct link to Advanced Parameters")

| Parameter                         | Description                                                                                                                                                                                                                                                                                                                                                                                                                  |
| --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Host                              | Which host to connect to if one is not specified in the connection. Can be an IP or a fully qualified domain name. When using an HTTPS endpoint (encrypted communications), make sure to use the specified format: `https://<your-ip-or-domain>:<port-number>/wsman`. For example: `https://windows-host:5986/wsman`. If the provided connection has a host specified, using this parameter results in an error.             |
| Configuration Manager Module Path | The path to the Configuration Manager module. By default, the module is at the following path: `C:\Program Files (x86)\Microsoft Endpoint Manager\AdminConsole\bin\ConfigurationManager.psd1`. Required in versions lower than `2111`. For more information, view the [Microsoft Documentation](https://learn.microsoft.com/en-us/powershell/sccm/overview?view=sccm-ps#import-the-configuration-manager-powershell-module). |
