Skip to content

Commit ad7946e

Browse files
committed
func: update alias for Open-HostsFile function
* Added 'hostsfile' as an additional alias for the Open-HostsFile function.
1 parent dffc24c commit ad7946e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/AdminToolbox.Networking/Public/Open-Hostsfile.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
function Open-HostsFile {
1515
[CmdletBinding()]
16-
[Alias('hostfile')]
16+
[Alias('hostfile', 'hostsfile')]
1717
param()
1818

1919
notepad c:/windows/System32/drivers/etc/hosts

0 commit comments

Comments
 (0)