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 `Export-Alias` cmdlet exports the aliases in the current session to a file.
35
-
If the output file does not exist, the cmdlet will create it.
36
+
The `Export-Alias` cmdlet exports the aliases in the current session to a file. If the output file
37
+
does not exist, the cmdlet will create it.
36
38
37
-
`Export-Alias` can export the aliases in a particular scope or all scopes, it can generate the data in CSV format or as a series of Set-Alias commands that you can add to a session or to a PowerShell profile.
39
+
`Export-Alias` can export the aliases in a particular scope or all scopes, it can generate the data
40
+
in CSV format or as a series of Set-Alias commands that you can add to a session or to a PowerShell
The description appears as a comment at the top of the file, following the header information.
148
+
Specifies the description of the exported file. The description appears as a comment at the top of
149
+
the file, following the header information.
141
150
142
151
```yaml
143
152
Type: System.String
@@ -157,8 +166,9 @@ Forces the command to run without asking for user confirmation.
157
166
158
167
Overwrites the output file, even if the read-only attribute is set on the file.
159
168
160
-
By default, `Export-Alias` overwrites files without warning, unless the read-only or hidden attribute is set or the **NoClobber** parameter is used in the command.
161
-
The **NoClobber** parameter takes precedence over the **Force** parameter when both are used in a command.
169
+
By default, `Export-Alias` overwrites files without warning, unless the read-only or hidden
170
+
attribute is set or the **NoClobber** parameter is used in the command. The **NoClobber** parameter
171
+
takes precedence over the **Force** parameter when both are used in a command.
162
172
163
173
The **Force** parameter cannot force `Export-Alias` to overwrite files with the hidden attribute.
Indicates that this cmdlet prevents `Export-Alias` from overwriting any files, even if the **Force** parameter is used in the command.
226
+
Indicates that this cmdlet prevents `Export-Alias` from overwriting any files, even if the **Force**
227
+
parameter is used in the command.
219
228
220
-
If the **NoClobber** parameter is omitted, `Export-Alias` will overwrite an existing file without warning, unless the read-only attribute is set on the file.
221
-
*NoClobber* takes precedence over the **Force** parameter, which permits `Export-Alias` to overwrite a file with the read-only attribute.
229
+
If the **NoClobber** parameter is omitted, `Export-Alias` will overwrite an existing file without
230
+
warning, unless the read-only attribute is set on the file. **NoClobber** takes precedence over the
231
+
**Force** parameter, which permits `Export-Alias` to overwrite a file with the read-only attribute.
222
232
223
-
*NoClobber* does not prevent the **Append** parameter from adding content to an existing file.
233
+
**NoClobber** does not prevent the **Append** parameter from adding content to an existing file.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
342
+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
0 commit comments