Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (get-content -path file) | set-content -path file -value { $_ -replace 1,2 }
- set-content : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the
- input and its properties do not match any of the parameters that take pipeline input.
- At line:1 char:28
- + ... ntent -path file) | set-content -path file -value { $_ -replace 1,2 }
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidArgument: (111:PSObject) [Set-Content], ParameterBindingException
- + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.SetContentCommand
- set-content : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the
- input and its properties do not match any of the parameters that take pipeline input.
- At line:1 char:28
- + ... ntent -path file) | set-content -path file -value { $_ -replace 1,2 }
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidArgument: (111:PSObject) [Set-Content], ParameterBindingException
- + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.SetContentCommand
- set-content : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the
- input and its properties do not match any of the parameters that take pipeline input.
- At line:1 char:28
- + ... ntent -path file) | set-content -path file -value { $_ -replace 1,2 }
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidArgument: (111:PSObject) [Set-Content], ParameterBindingException
- + FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.SetContentCommand
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement