=Edit-MountUnit start development
This commit is contained in:
parent
4bf2ff19f4
commit
40cb17d419
|
@ -0,0 +1,10 @@
|
|||
[CmdletBinding()]param(
|
||||
[string]$MountPath,
|
||||
[switch]$NoAutoMount
|
||||
)
|
||||
|
||||
$local:pathChar = [IO.Path]::DirectorySeparatorChar
|
||||
$MountPath = Get-Path $MountPath
|
||||
$local:MountName = $MountPath -replace '-','\\x2d' -replace $pathChar,'-' -replace '^-','' -replace '-^',''
|
||||
|
||||
$MountName
|
Loading…
Reference in New Issue