You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The name of the regular expression. If not provided, this can be inferred if the pattern starts with a capture
@@ -55,7 +74,6 @@ The name of the regular expression. If not provided, this can be inferred if th
55
74
56
75
57
76
58
-
---
59
77
#### **Description**
60
78
61
79
The description
@@ -71,7 +89,6 @@ The description
71
89
72
90
73
91
74
-
---
75
92
#### **Path**
76
93
77
94
The path to the file. If this is not provided, it will save regular expressions to the user's Irregular module path.
@@ -87,7 +104,6 @@ The path to the file. If this is not provided, it will save regular expressions
87
104
88
105
89
106
90
-
---
91
107
#### **Temporary**
92
108
93
109
If set, will not save the regular expression to disk. Instead, it will alter the in-memory RegEx library.
@@ -104,7 +120,6 @@ To use the alias immediately, call Set-RegEx with the . operator (e.g. . Set-Reg
104
120
105
121
106
122
107
-
---
108
123
#### **TimeOut**
109
124
110
125
The timeout for the regular expression.
@@ -122,7 +137,6 @@ By default, this is 5 seconds
122
137
123
138
124
139
125
-
---
126
140
#### **PassThru**
127
141
128
142
If set, will output created files or commands.
@@ -140,29 +154,35 @@ Otherwise, will output the created files.
140
154
141
155
142
156
143
-
---
144
157
#### **WhatIf**
145
158
-WhatIf is an automatic variable that is created when a command has ```[CmdletBinding(SupportsShouldProcess)]```.
146
159
-WhatIf is used to see what would happen, or return operations without executing them
147
160
#### **Confirm**
148
161
-Confirm is an automatic variable that is created when a command has ```[CmdletBinding(SupportsShouldProcess)]```.
149
162
-Confirm is used to -Confirm each operation.
150
-
163
+
151
164
If you pass ```-Confirm:$false``` you will not be prompted.
152
-
153
-
165
+
166
+
154
167
If the command sets a ```[ConfirmImpact("Medium")]``` which is lower than ```$confirmImpactPreference```, you will not be prompted unless -Confirm is passed.
0 commit comments