Skip to content

Instantly share code, notes, and snippets.

@jespernohr
Created October 18, 2016 12:26
Show Gist options
  • Save jespernohr/e49db3ec23aa835b69c6c472214c1d49 to your computer and use it in GitHub Desktop.
Save jespernohr/e49db3ec23aa835b69c6c472214c1d49 to your computer and use it in GitHub Desktop.
new-item -path E:\pki -type directory
write-output "This is a sample CPS. Modify as needed." | out-file E:\pki\cps.txt
new-smbshare -name pki E:\pki -FullAccess SYSTEM,"fabrikam\Domain Admins" -ChangeAccess "fabrikam\Cert Publishers"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment