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
cisco "sdm express" save changes?
Can I mirror two exchange servers in different sites so they both have same mailboxes?
Poor MTA? how to correct
VPN license limit
Migrate imap Linux surgemail to Exchange 2007
how to use logger in Linux.
NavigatetoURL problem with Javascript call
Disk quota entries: "Account Information Unavailable" - what should I do with these?
Hardest SEO Job Questions
How do I retrieve a lost contact entry from my contact folder