mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Update help content about the PowerShell flag -NonInteractive (#17952)
This commit is contained in:
1 parent
da7fa3f771
commit
d02c59addc
1 file changed
+4
-3
@@ -393,9 +393,10 @@ All parameters are case-insensitive.</value>
|
||||
|
||||
-NonInteractive | -noni
|
||||
|
||||
Does not present an interactive prompt to the user. Any attempts to use
|
||||
interactive features, like Read-Host or confirmation prompts, result in
|
||||
statement-terminating errors.
|
||||
This switch is used to create sessions that shouldn't require user input.
|
||||
This is useful for scripts that run in scheduled tasks or CI/CD pipelines.
|
||||
Any attempts to use interactive features, like 'Read-Host' or confirmation
|
||||
prompts, result in statement terminating errors rather than hanging.
|
||||
|
||||
-NoProfile | -nop
|
||||
|
||||
|
||||
Reference in new issue
Block a user