mirror of
https://github.com/Set-OutlookSignatures/Set-OutlookSignatures.git
synced 2026-04-26 18:55:53 +03:00
[GH-ISSUE #8] Passing empty value for AdditionalSignaturePath leads to error #2
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Set-OutlookSignatures-Set-OutlookSignatures#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GruberMarkus on GitHub (Jun 30, 2021).
Original GitHub issue: https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/issues/8
Passing an empty value for parameter AdditionalSignaturePath leads to an error on line 744 of Set-OutlookSignatures.ps1 (v1.6.0).
Log output :
Script started
Script notes
Script: Set-OutlookSignatures.ps1
Version: 1.6.0
Author: Markus Gruber
License: MIT License (see license.txt for details and copyright)
Web: https://github.com/GruberMarkus/Set-OutlookSignatures
Check parameters and script environment
Script name: 'C:\ALexclude\Set-OutlookSignatures\Set-OutlookSignatures.ps1'
Script path: 'C:\ALexclude\Set-OutlookSignatures'
SignatureTemplatePath: '.\templates\Signatures DOCX'
ReplacementVariableConfigFile: '.\config\default replacement variables.txt'
DomainsToCheckForGroups: '*'
DeleteUserCreatedSignatures: 'False'
SetCurrentUserOutlookWebSignature: 'True'
SetCurrentUserOOFMessage: 'True'
OOFTemplatePath: '.\templates\Out of Office DOCX'
AdditionalSignaturePath: ''
AdditionalSignaturePathFolder: 'Outlook signatures'
Join-Path : Das Argument kann nicht an den Parameter "Path" gebunden werden, da es sich um eine leere Zeichenfolge
handelt.
In C:\ALexclude\Set-OutlookSignatures\Set-OutlookSignatures.ps1:744 Zeichen:49
CategoryInfo : InvalidData: (:) [Join-Path], ParameterBindingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.Join
PathCommand
Problem connecting to, creating or reading from folder ''. Deactivating feature.
UseHtmTemplates: 'False'
@GruberMarkus commented on GitHub (Jun 30, 2021):
Fixed in the commit above and in release v1.6.1.