< Back

Export-OSDrivers

Sat Jan 18, 2020 6:14 pm

NAME Export-OSDrivers



SYNOPSIS

Exports an existing OSDrivers Repository to a new one. This can be used for Package Creation





SYNTAX

Export-OSDrivers [-PrimaryOSDrivers] <String> [-SecondaryOSDrivers] <String> [-WindowsProfile] <String> [[-Like]

<String>] [[-NotLike] <String>] [[-Subset] <String>] [[-Visibility] <String>] [<CommonParameters>]





DESCRIPTION

Exports an existing OSDrivers Repository to a new one. This can be used for Package Creation





PARAMETERS

-PrimaryOSDrivers <String>

The OSDrivers Primary Repository (Source)



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SecondaryOSDrivers <String>

The new OSDrivers Repository (Destination)



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WindowsProfile <String>

Select an Operating System for Compatible Drivers to Export



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Like <String>

Wildcard include for Driver Packages in the PrimaryOSDrivers. eg. *Dell*



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-NotLike <String>

Wildcard exclude for Driver Packages in the PrimaryOSDrivers. eg. *Lenovo*



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Subset <String>

Filter for Core, Video, and Make Drivers



Required? false

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Visibility <String>

Filter for Public and Private Drivers



Required? false

Position? 7

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





NAME: Export-OSDrivers.ps1

AUTHOR: David Segura, david@segura.org

BLOG: http://www.osdeploy.com

CREATED: 02/18/2018

VERSION: 1.1.0.2



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Export-OSDrivers -PrimaryOSDrivers D:\\OSDrivers -SecondaryOSDrivers "D:\\Packages\\Win10 x64 Video Nvidia"

-WindowsProfile "Win10 x64" -Like *nvidia* -Subset "Only Video"



Exports D:\\OSDrivers to "D:\\Packages\\Win10 x64 Video Nvidia" with only Win10 compatible Nvidia Video Drivers.











RELATED LINKS

https://www.osdeploy.com/psmodule/osdrivers/