Skip to content

Commit

Permalink
fix: invoke-robocopy issue #142
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTaylorLee committed Jan 22, 2024
1 parent 777d4cd commit 48c454f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion modules/AdminToolbox.FileManagement/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,5 @@
* **1.15.115** CI Maintenance Release
* **1.15.116** CI Maintenance Release
* **1.15.117** CI Maintenance Release
* **1.15.118** CI Maintenance Release
* **1.15.118** CI Maintenance Release
* **1.16.119** Fix invoke-robocopy /xd and /xf parameter data types
Original file line number Diff line number Diff line change
Expand Up @@ -596,9 +596,9 @@ function Invoke-Robocopy {
[Parameter(ParameterSetName = 'Default')]
[string]$ExcludeAttributes,
[Parameter(ParameterSetName = 'Default')]
[switch]$ExcludeFileName,
[string]$ExcludeFileName,
[Parameter(ParameterSetName = 'Default')]
[switch]$ExcludeDirName,
[string]$ExcludeDirName,
[Parameter(ParameterSetName = 'Default')]
[switch]$ExcludeChanged,
[Parameter(ParameterSetName = 'Default')]
Expand Down Expand Up @@ -1031,14 +1031,14 @@ function Invoke-Robocopy {
OriginalName = '/XF'
OriginalPosition = '0'
Position = '2147483647'
ParameterType = 'switch'
ParameterType = 'string'
NoGap = $False
}
ExcludeDirName = @{
OriginalName = '/XD'
OriginalPosition = '0'
Position = '2147483647'
ParameterType = 'switch'
ParameterType = 'string'
NoGap = $False
}
ExcludeChanged = @{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@
{
"Name": "ExcludeFileName",
"OriginalName": "/XF",
"ParameterType": "switch",
"ParameterType": "string",
"Description": "File Selection Options \neXclude Files matching given names/paths/wildcards.",
"ParameterSetName": [
"Default"
Expand All @@ -454,7 +454,7 @@
{
"Name": "ExcludeDirName",
"OriginalName": "/XD",
"ParameterType": "switch",
"ParameterType": "string",
"Description": "File Selection Options \neXclude Directories matching given names/paths.",
"ParameterSetName": [
"Default"
Expand Down

0 comments on commit 48c454f

Please sign in to comment.