-
Notifications
You must be signed in to change notification settings - Fork 134
Publish MofToPullServer
Deploy DSC Configuration document to the pullserver.
Publish-MofToPullServer [-FullName] <String> -PullServerWebConfig <String> [-OutputFolderPath <String>]
[<CommonParameters>]
Publish MOF file to the pullserver. It takes File Info object as pipeline input. It also auto detects the location of the configuration repository using the web.config of the pullserver.
\*.mof | Publish-MOFToPullServer
\*.mof | Publish-MOFToPullServer -OutputFolderPath "\Server01\DscService\Configuration"
MOF File Name
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 cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.