Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Get-CMDistributionStatus.md #189

Merged
merged 1 commit into from Sep 29, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
23 changes: 18 additions & 5 deletions sccm-ps/ConfigurationManager/Get-CMDistributionStatus.md
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