You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indicates whether to share the printer on the network.
435
-
You can determine the name by which the printer is shared by specifying **ShareName**.
436
-
If **ShareName** is not specified, the name of the printer is used as the share name.
451
+
### -ShareName
452
+
Specifies the name by which to share the printer on the network.
453
+
To share a printer, specify the **Shared** parameter.
437
454
438
455
```yaml
439
-
Type: SwitchParameter
440
-
Parameter Sets: wsd, port
441
-
Aliases:
456
+
Type: String
457
+
Parameter Sets: ap, port
458
+
Aliases:
442
459
443
460
Required: False
444
461
Position: Named
@@ -452,8 +469,8 @@ Specifies the starting time of printer availability.
452
469
453
470
```yaml
454
471
Type: UInt32
455
-
Parameter Sets: wsd, port
456
-
Aliases:
472
+
Parameter Sets: ap, port
473
+
Aliases:
457
474
458
475
Required: False
459
476
Position: Named
@@ -484,8 +501,25 @@ Specifies the ending time of printer availability.
484
501
485
502
```yaml
486
503
Type: UInt32
487
-
Parameter Sets: wsd, port
488
-
Aliases:
504
+
Parameter Sets: ap, port
505
+
Aliases:
506
+
507
+
Required: False
508
+
Position: Named
509
+
Default value: None
510
+
Accept pipeline input: False
511
+
Accept wildcard characters: False
512
+
```
513
+
514
+
### -WorkflowPolicy
515
+
Enables an administrator to associate a given printer with a specific Workflow application. This parameter does not allow the administrator to override the device-app association that was made using the device metadata service.
516
+
517
+
518
+
```yaml
519
+
Type: WorkflowPolicyEnum
520
+
Parameter Sets: ap, port
521
+
Aliases:
522
+
Accepted values: Uninitialized, Disabled, Enabled
489
523
490
524
Required: False
491
525
Position: Named
@@ -494,6 +528,21 @@ Accept pipeline input: False
494
528
Accept wildcard characters: False
495
529
```
496
530
531
+
### -Confirm
532
+
Prompts you for confirmation before running the cmdlet.
This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVariable`, `-InformationAction`, `-InformationVariable`, `-OutVariable`, `-OutBuffer`, `-PipelineVariable`, `-Verbose`, `-WarningAction`, and `-WarningVariable`. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
563
+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
515
564
516
565
## INPUTS
517
566
518
-
### None
567
+
### System.String
519
568
520
569
## OUTPUTS
521
570
522
-
### None
523
-
571
+
### System.Object
524
572
## NOTES
525
573
526
-
- The WhatIf switch doesn’t work if the **ConnectionName** parameter set is used.
574
+
- The WhatIf switch doesn't work if the **ConnectionName** parameter set is used.
0 commit comments