mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-08 20:54:38 +02:00
Improved the scripts
This commit is contained in:
@ -8,10 +8,11 @@
|
||||
|
||||
param($Filename = "")
|
||||
|
||||
if ($Filename -eq "" ) {
|
||||
$Filename = read-host "Enter the M3U playlist filename"
|
||||
}
|
||||
|
||||
try {
|
||||
if ($Filename -eq "" ) {
|
||||
$Filename = read-host "Enter the M3U playlist filename"
|
||||
}
|
||||
$Lines = get-content $Filename
|
||||
|
||||
add-type -assemblyName presentationCore
|
||||
|
Reference in New Issue
Block a user