-
Notifications
You must be signed in to change notification settings - Fork 134
Publish ModuleToPullServer
Deploy DSC modules to the pullserver.
Publish-ModuleToPullServer [-Name] <String> [-ModuleBase] <String> [-Version] <Version>
-PullServerWebConfig <String> [-OutputFolderPath <String>]
[<CommonParameters>]
Publish DSC module using Module Info object as an input. The cmdlet will figure out the location of the module repository using web.config of the pullserver.
| Publish-ModuleToPullServer
| Publish-ModuleToPullServer -OutputFolderPath "\Server01\DscService\Module"
This is the location of the base of the module.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Name of the module.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Path to the Location where the MOF files should be published. This should be used when the PullServer is a SMB share pull server. (https://docs.microsoft.com/nl-nl/powershell/dsc/pull-server/pullserversmb) Defaults to $null
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Path to the Pull Server web.config file, i.e. "$env:SystemDrive\inetpub\wwwroot\PSDSCPullServer\web.config"
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This is the version of the module
Type: Version
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.