mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-22 09:58:19 +02:00
Set permissions for execution
This commit is contained in:
parent
3ea90eaf4d
commit
ec33cb8829
@ -5,7 +5,7 @@
|
||||
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
||||
.EXAMPLE
|
||||
PS> ./cd-scripts.ps1
|
||||
📂C:\Repos\PowerShell\scripts entered (has 644 scripts).
|
||||
📂C:\Repos\PowerShell\scripts entered (has 645 scripts)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -16,7 +16,7 @@ try {
|
||||
$path = Resolve-Path "$PSScriptRoot"
|
||||
if (-not(Test-Path "$path" -pathType container)) { throw "PowerShell scripts folder at 📂$path doesn't exist (yet)" }
|
||||
$files = Get-ChildItem $path -attributes !Directory
|
||||
"📂$path entered (has $($files.Count) scripts)."
|
||||
"📂$path entered (has $($files.Count) scripts)"
|
||||
Set-Location "$path"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
|
0
scripts/convert-dir27z.ps1
Normal file → Executable file
0
scripts/convert-dir27z.ps1
Normal file → Executable file
0
scripts/convert-history2ps1.ps1
Normal file → Executable file
0
scripts/convert-history2ps1.ps1
Normal file → Executable file
0
scripts/install-fonts.ps1
Normal file → Executable file
0
scripts/install-fonts.ps1
Normal file → Executable file
0
scripts/new-tab.ps1
Normal file → Executable file
0
scripts/new-tab.ps1
Normal file → Executable file
0
scripts/play-drug-wars.ps1
Normal file → Executable file
0
scripts/play-drug-wars.ps1
Normal file → Executable file
0
scripts/reboot-into-bios.ps1
Normal file → Executable file
0
scripts/reboot-into-bios.ps1
Normal file → Executable file
0
scripts/write-progress-bar.ps1
Normal file → Executable file
0
scripts/write-progress-bar.ps1
Normal file → Executable file
0
scripts/write-story.ps1
Normal file → Executable file
0
scripts/write-story.ps1
Normal file → Executable file
Loading…
Reference in New Issue
Block a user