Skip to content

Commit

Permalink
fix(vss): add missing -File for powershell vss script policy setup (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanMelly committed Nov 2, 2023
1 parent fde0dfd commit 77bac54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/content/docs/Advanced/Actions/_index.md
Expand Up @@ -245,8 +245,8 @@ if (([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::
To install the actions:

```shell
kopia policy set <target_dir> --before-folder-action "powershell -WindowStyle Hidden <path_to_script>\before.ps1"
kopia policy set <target_dir> --after-folder-action "powershell -WindowStyle Hidden <path_to_script>\after.ps1"
kopia policy set <target_dir> --before-folder-action "powershell -WindowStyle Hidden -File <path_to_script>\before.ps1"
kopia policy set <target_dir> --after-folder-action "powershell -WindowStyle Hidden -File <path_to_script>\after.ps1"
```

### Contributions Welcome
Expand Down

0 comments on commit 77bac54

Please sign in to comment.