Microsoft
Software
Hardware
Network
Question : Powershell foreach-object, supply values for the following parameters
I am trying to run this command:
Import-Csv $sourceMachinesList | ForEach-Object
{
# some code
}
I get no error messages, but I do get this message asking for a parameter
"cmdlet ForEach-Object at command pipeline position 2
Supply values for the following parameters:
Process[0]:"
Answer : Powershell foreach-object, supply values for the following parameters
btw... if you want to keep your orginal format you can escape the EOL like this
Import-Csv $sourceMachinesList | ForEach-Object `
{
# some code
}
Random Solutions
how do I write Stored Procedure where in SQL query 'FROM' clause is selected from dropdownlist!!!!!
How can I get PageNumber in SQL Report body?
Mainframe
PPTP VPN and Local Area Connection conflict
How can I send email from within MS Word without losing information.
PC failing to start
how to hide my application from tasklist? (delphi)
Default Recipient policy setting
webmail service down
Using "find" with "rm to delete files