Skip to content

Commit

Permalink
Merge pull request #189 from baardhermansen/patch-1
Browse files Browse the repository at this point in the history
Update Get-CMDistributionStatus.md
  • Loading branch information
aczechowski committed Sep 29, 2020
2 parents 1d8e8b2 + 6a8f9c2 commit 740cba2
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions sccm-ps/ConfigurationManager/Get-CMDistributionStatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,21 @@ title: Get-CMDistributionStatus
# Get-CMDistributionStatus

## SYNOPSIS

Gets a distribution status.

## SYNTAX

### SearchById (Default)
```

```powershell
Get-CMDistributionStatus [-Id <String>] [-DisableWildcardHandling] [-ForceWildcardHandling]
[<CommonParameters>]
```

### SearchByValue
```

```powershell
Get-CMDistributionStatus -InputObject <IResultObject> [-DisableWildcardHandling] [-ForceWildcardHandling]
[<CommonParameters>]
```
Expand All @@ -35,14 +38,20 @@ Get-CMDistributionStatus -InputObject <IResultObject> [-DisableWildcardHandling]
## EXAMPLES

### Example 1
```
PS XYZ:\>
### Example 1: Get status for an application using its package id

```powershell
PS XYZ:\>$PackageId = (Get-CMApplication -Name '7-Zip').PackageID
PS XYZ:\>Get-CMDistributionStatus -Id $PackageId
```

The first command gets the package id of an application named 7-Zip and stores it in the variable $PackageId.
The second command uses the package id stored in $PackageId as parameter to **Get-CMDistributionStatus**, which gets the distribution status of the application.

## PARAMETERS

### -DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with **ForceWildcardHandling**.

```yaml
Expand All @@ -58,6 +67,7 @@ Accept wildcard characters: False
```

### -ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with **DisableWildcardHandling**.

```yaml
Expand All @@ -73,6 +83,7 @@ Accept wildcard characters: False
```

### -Id

```yaml
Type: String
Parameter Sets: SearchById
Expand All @@ -86,6 +97,7 @@ Accept wildcard characters: False
```

### -InputObject

```yaml
Type: IResultObject
Parameter Sets: SearchByValue
Expand All @@ -99,6 +111,7 @@ Accept wildcard characters: False
```

### CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS
Expand Down

0 comments on commit 740cba2

Please sign in to comment.