How can i filter two data extension?
hello together,
unfortunately code bellow didnt work ...
dir c:\users\whitehouse_obama\ -filter *.exe *.docx |
foreach-object { copy-item -path $_.fullname -destination \\hyperv1\shared\scripts }
greets
dir c:\users\whitehouse_obama\* -include *.exe,*.docx | copy-item -destination \\hyperv1\shared\scripts
or
copy-item c:\users\whitehouse_obama\* -destination \\hyperv1\shared\scripts -include *.exe,*.docx
Windows Server > Windows PowerShell
Comments
Post a Comment