-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-aboutArea - About_ topicsArea - About_ topics
Description
Type of issue
Code doesn't work
Feedback
First block of example code does not work.
begin block does not have access to value in $LiteralPath when piped to the function it's an empty string.
Get-ChildItem : Cannot bind argument to parameter 'LiteralPath' because it is an empty string.
At line:53 char:49
+ $Files = Get-ChildItem -LiteralPath $LiteralPath -File
+ ~~~~~~~~~~~~
Still helpful with parameter sets, but code is misleading if trying to figure this topic out.
Page URL
Content source URL
Author
sdwheeler
Document Id
e0a2ba15-cff9-4560-35a9-cd4440ef1d84
Metadata
Metadata
Assignees
Labels
area-aboutArea - About_ topicsArea - About_ topics