Skip to content

Commit

Permalink
Added DownloadOnly parameter (#8)
Browse files Browse the repository at this point in the history
* added downloadonly parameter

* corrected parametersets
  • Loading branch information
w0 authored Jul 12, 2024
1 parent 56e192e commit 4a29a6f
Show file tree
Hide file tree
Showing 9 changed files with 324 additions and 64 deletions.
50 changes: 44 additions & 6 deletions docs/Update-DellBios.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,27 @@ Downloads and creates a configmgr standard package containing the latest Bios up
```
Update-DellBios -Model <String> [-WorkingDir <DirectoryInfo>] -ContentShare <DirectoryInfo> -SiteCode <String>
-SiteServerFQDN <String> -DistributionPoints <String[]> -DistributionPointGroups <String[]>
[<CommonParameters>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### DistributionPoints
```
Update-DellBios -Model <String> [-WorkingDir <DirectoryInfo>] -ContentShare <DirectoryInfo> -SiteCode <String>
-SiteServerFQDN <String> -DistributionPoints <String[]> [<CommonParameters>]
-SiteServerFQDN <String> -DistributionPoints <String[]> [-ProgressAction <ActionPreference>]
[<CommonParameters>]
```

### DistributionPointGroups
```
Update-DellBios -Model <String> [-WorkingDir <DirectoryInfo>] -ContentShare <DirectoryInfo> -SiteCode <String>
-SiteServerFQDN <String> -DistributionPointGroups <String[]> [<CommonParameters>]
-SiteServerFQDN <String> -DistributionPointGroups <String[]> [-ProgressAction <ActionPreference>]
[<CommonParameters>]
```

### DownloadOnly
```
Update-DellBios -Model <String> [-WorkingDir <DirectoryInfo>] -ContentShare <DirectoryInfo> [-DownloadOnly]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Expand All @@ -53,7 +61,7 @@ Specifies the path of the content. The site system server requires permission to
```yaml
Type: DirectoryInfo
Parameter Sets: (All)
Aliases:
Aliases: Destination

Required: True
Position: Named
Expand Down Expand Up @@ -112,7 +120,7 @@ Specify the sitecode of the confimgr site to connect to.
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: PointAndGroup, DistributionPoints, DistributionPointGroups
Aliases:

Required: True
Expand All @@ -127,7 +135,7 @@ Specify the site server fqdn to connect to.
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: PointAndGroup, DistributionPoints, DistributionPointGroups
Aliases:

Required: True
Expand All @@ -152,6 +160,36 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -DownloadOnly
Only downloads the BIOS update to the specified ContentShare. Does not create a package in configmgr.
```yaml
Type: SwitchParameter
Parameter Sets: DownloadOnly
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
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).
Expand Down
48 changes: 42 additions & 6 deletions docs/Update-DellDriver.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,27 @@ Downloads the latest driver package for the specified operating system version a
```
Update-DellDriver -Model <String> -OSVersion <String> [-WorkingDir <DirectoryInfo>]
-ContentShare <DirectoryInfo> -SiteCode <String> -SiteServerFQDN <String> -DistributionPoints <String[]>
-DistributionPointGroups <String[]> [<CommonParameters>]
-DistributionPointGroups <String[]> [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### DistributionPoints
```
Update-DellDriver -Model <String> -OSVersion <String> [-WorkingDir <DirectoryInfo>]
-ContentShare <DirectoryInfo> -SiteCode <String> -SiteServerFQDN <String> -DistributionPoints <String[]>
[<CommonParameters>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### DistributionPointGroups
```
Update-DellDriver -Model <String> -OSVersion <String> [-WorkingDir <DirectoryInfo>]
-ContentShare <DirectoryInfo> -SiteCode <String> -SiteServerFQDN <String> -DistributionPointGroups <String[]>
[<CommonParameters>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### DownloadOnly
```
Update-DellDriver -Model <String> -OSVersion <String> [-WorkingDir <DirectoryInfo>]
-ContentShare <DirectoryInfo> [-DownloadOnly] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Expand All @@ -55,7 +61,7 @@ Specifies the path of the content. The site system server requires permission to
```yaml
Type: DirectoryInfo
Parameter Sets: (All)
Aliases:
Aliases: Destination

Required: True
Position: Named
Expand Down Expand Up @@ -130,7 +136,7 @@ Specify the sitecode of the confimgr site to connect to.
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: PointAndGroup, DistributionPoints, DistributionPointGroups
Aliases:

Required: True
Expand All @@ -145,7 +151,7 @@ Specify the site server fqdn to connect to.
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: PointAndGroup, DistributionPoints, DistributionPointGroups
Aliases:

Required: True
Expand All @@ -170,6 +176,36 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -DownloadOnly
Only downloads the driver package to the specified ContentShare. Does not create a package in configmgr.
```yaml
Type: SwitchParameter
Parameter Sets: DownloadOnly
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
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).
Expand Down
48 changes: 42 additions & 6 deletions docs/Update-MicrosoftDriver.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,27 @@ Downloads the latest driver packge for the specified operating system version an
```
Update-MicrosoftDriver -Model <String> -OSVersion <String> [-WorkingDir <DirectoryInfo>]
-ContentShare <DirectoryInfo> -SiteCode <String> -SiteServerFQDN <String> -DistributionPoints <String[]>
-DistributionPointGroups <String[]> [<CommonParameters>]
-DistributionPointGroups <String[]> [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### DistributionPoints
```
Update-MicrosoftDriver -Model <String> -OSVersion <String> [-WorkingDir <DirectoryInfo>]
-ContentShare <DirectoryInfo> -SiteCode <String> -SiteServerFQDN <String> -DistributionPoints <String[]>
[<CommonParameters>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### DistributionPointGroups
```
Update-MicrosoftDriver -Model <String> -OSVersion <String> [-WorkingDir <DirectoryInfo>]
-ContentShare <DirectoryInfo> -SiteCode <String> -SiteServerFQDN <String> -DistributionPointGroups <String[]>
[<CommonParameters>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### DownloadOnly
```
Update-MicrosoftDriver -Model <String> -OSVersion <String> [-WorkingDir <DirectoryInfo>]
-ContentShare <DirectoryInfo> [-DownloadOnly] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Expand All @@ -55,7 +61,7 @@ Specifies the path of the content. The site system server requires permission to
```yaml
Type: DirectoryInfo
Parameter Sets: (All)
Aliases:
Aliases: Destination

Required: True
Position: Named
Expand Down Expand Up @@ -130,7 +136,7 @@ Specify the sitecode of the confimgr site to connect to.
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: PointAndGroup, DistributionPoints, DistributionPointGroups
Aliases:

Required: True
Expand All @@ -145,7 +151,7 @@ Specify the site server fqdn to connect to.
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: PointAndGroup, DistributionPoints, DistributionPointGroups
Aliases:

Required: True
Expand All @@ -170,6 +176,36 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -DownloadOnly
Only downloads the driver package to the specified ContentShare. Does not create a package in configmgr.
```yaml
Type: SwitchParameter
Parameter Sets: DownloadOnly
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
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).
Expand Down
50 changes: 44 additions & 6 deletions docs/Update-Model.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,29 @@ Controller script to assist with automating the usage of the manufactuer specifi
```
Update-Model -Make <String> -Model <String> -OSVersion <String> [-DownloadType <String>]
[-WorkingDir <DirectoryInfo>] -ContentShare <DirectoryInfo> -SiteCode <String> -SiteServerFQDN <String>
-DistributionPoints <String[]> -DistributionPointGroups <String[]> [<CommonParameters>]
-DistributionPoints <String[]> -DistributionPointGroups <String[]> [-ProgressAction <ActionPreference>]
[<CommonParameters>]
```

### DistributionPoints
```
Update-Model -Make <String> -Model <String> -OSVersion <String> [-DownloadType <String>]
[-WorkingDir <DirectoryInfo>] -ContentShare <DirectoryInfo> -SiteCode <String> -SiteServerFQDN <String>
-DistributionPoints <String[]> [<CommonParameters>]
-DistributionPoints <String[]> [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### DistributionPointGroups
```
Update-Model -Make <String> -Model <String> -OSVersion <String> [-DownloadType <String>]
[-WorkingDir <DirectoryInfo>] -ContentShare <DirectoryInfo> -SiteCode <String> -SiteServerFQDN <String>
-DistributionPointGroups <String[]> [<CommonParameters>]
-DistributionPointGroups <String[]> [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### DownloadOnly
```
Update-Model -Make <String> -Model <String> -OSVersion <String> [-DownloadType <String>]
[-WorkingDir <DirectoryInfo>] -ContentShare <DirectoryInfo> [-DownloadOnly]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Expand All @@ -55,7 +63,7 @@ Specifies the path of the content. The site system server requires permission to
```yaml
Type: DirectoryInfo
Parameter Sets: (All)
Aliases:
Aliases: Destination

Required: True
Position: Named
Expand Down Expand Up @@ -162,7 +170,7 @@ Specify the sitecode of the confimgr site to connect to.
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: PointAndGroup, DistributionPoints, DistributionPointGroups
Aliases:

Required: True
Expand All @@ -177,7 +185,7 @@ Specify the site server fqdn to connect to.
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: PointAndGroup, DistributionPoints, DistributionPointGroups
Aliases:

Required: True
Expand All @@ -202,6 +210,36 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -DownloadOnly
Downloads only the file specified in DownloadType to the ContentShare.
```yaml
Type: SwitchParameter
Parameter Sets: DownloadOnly
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
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).
Expand Down
2 changes: 1 addition & 1 deletion source/OpenDriverTool.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'OpenDriverTool.psm1'

# Version number of this module.
ModuleVersion = '0.4.1'
ModuleVersion = '0.5.0'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
Loading

0 comments on commit 4a29a6f

Please sign in to comment.