=Edit-MountUnit start development

This commit is contained in:
Szkolnik Media Master 2022-01-30 22:14:18 -05:00
parent 4bf2ff19f4
commit 40cb17d419
1 changed files with 10 additions and 0 deletions

View File

@ -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