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
Export-RegEx -Name Digits, Decimals -As Script # Creates a script that embedes the expressions and Use-RegEx
31
47
```
32
48
49
+
50
+
33
51
---
52
+
53
+
34
54
### Parameters
35
55
#### **Name**
36
56
@@ -47,7 +67,6 @@ The name of the regular expression. If not provided, this can be inferred if th
47
67
48
68
49
69
50
-
---
51
70
#### **Path**
52
71
53
72
The export path.
@@ -64,7 +83,6 @@ If this is not provided, it will export regular expressions to the user's Irregu
64
83
65
84
66
85
67
-
---
68
86
#### **As**
69
87
70
88
How the expression will be exported.
@@ -96,7 +114,6 @@ Valid Values:
96
114
97
115
98
116
99
-
---
100
117
#### **Noun**
101
118
102
119
If provided, will rename -RegEx commands with the provided -Noun.
@@ -114,27 +131,35 @@ It prevents name conflicts with Irregular.
114
131
115
132
116
133
117
-
---
118
134
#### **WhatIf**
119
135
-WhatIf is an automatic variable that is created when a command has ```[CmdletBinding(SupportsShouldProcess)]```.
120
136
-WhatIf is used to see what would happen, or return operations without executing them
121
137
#### **Confirm**
122
138
-Confirm is an automatic variable that is created when a command has ```[CmdletBinding(SupportsShouldProcess)]```.
123
139
-Confirm is used to -Confirm each operation.
124
-
140
+
125
141
If you pass ```-Confirm:$false``` you will not be prompted.
126
-
127
-
142
+
143
+
128
144
If the command sets a ```[ConfirmImpact("Medium")]``` which is lower than ```$confirmImpactPreference```, you will not be prompted unless -Confirm is passed.
0 commit comments