Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Semicolons are not required in Secret Server #1

Open
wsmelton opened this issue Sep 10, 2021 · 0 comments
Open

Semicolons are not required in Secret Server #1

wsmelton opened this issue Sep 10, 2021 · 0 comments

Comments

@wsmelton
Copy link

NOTE: Secret Server scripts require semicolons so be careful to add and keep semicolons where ever a line break is needed when editing these scripts.

Secret Server does not require semicolons to be added as a line terminator.

A semicolon in PowerShell itself means nothing unless you are trying to combine command calls on one line. PowerShell's default command separator is the new-line character.

# executes both commands in sequence with "one" call
Get-Process; Get-ChildItem
@wsmelton wsmelton changed the title Semicolons are not required in PowerShell Semicolons are not required in Secret Server Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant