Hi
I didn't find a forum for powershell so i'm my query here itself.
I'm runnung a powershell script and i want to redirect the output to a xml after redirecting the output i need to search a pattern in the outfile and print on the console.
is the below is correct
filename.ps1 |out-file abc.xml | search-string -pattern "Status"
I didn't find a forum for powershell so i'm my query here itself.
I'm runnung a powershell script and i want to redirect the output to a xml after redirecting the output i need to search a pattern in the outfile and print on the console.
is the below is correct
filename.ps1 |out-file abc.xml | search-string -pattern "Status"
Comment