Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| powershell_file_operations [2021/10/29 23:08] – mgupton | powershell_file_operations [2022/02/23 17:45] (current) – mgupton | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | |||
| + | === Delete file if exists and recreate it === | ||
| + | |||
| + | <code powershell> | ||
| + | $filename = " | ||
| + | </ | ||
| + | |||