sidwelle
asked on
powershell add-content , set-content
Why do both of these commands prompt for values with some parameters and not others ?
Add-Content "c:\LastRun.txt" Get-Date #Prompts with...
cmdlet Set-Content at command pipeline position 1
Supply values for the following parameters:
Value[0]:
Add-Content $lf $e #Doesn't prompt, just writes to the file.
Add-Content "c:\LastRun.txt" Get-Date #Prompts with...
cmdlet Set-Content at command pipeline position 1
Supply values for the following parameters:
Value[0]:
Add-Content $lf $e #Doesn't prompt, just writes to the file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Found it !