Skip to content

Commit 13c6d81

Browse files
committed
Drag file or folder to get path
1 parent 1b80458 commit 13c6d81

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
$tip = [tiPS.PowerShellTip]::new()
2+
$tip.CreatedDate = [DateTime]::Parse('2024-09-23')
3+
$tip.Title = 'Drag File or Folder into PowerShell to get the path'
4+
$tip.TipText = @'
5+
You can drag a file or folder from the File Explorer into PowerShell to get the full path.
6+
'@
7+
$tip.Example = ''
8+
$tip.Urls = @(
9+
'https://lazyadmin.nl'
10+
)
11+
$tip.Category = [tiPS.TipCategory]::Terminal # Community, Editor, Module, NativeCmdlet, Performance, Security, Syntax, Terminal, or Other.
12+
$tip.Author = 'Rudy Mens (LazyAdmin)' # Optional. Get credit for your tip. e.g. 'Daniel Schroeder (deadlydog)'.
13+
#$tip.ExpiryDate = [DateTime]::Parse('2024-10-30') # Optional. If the tip is not relevant after a certain date, set the expiration date. e.g. Announcing a conference or event.
14+
15+
# Category meanings:
16+
# Community: Social events and community resources. e.g. PowerShell Summit, podcasts, etc.
17+
# Editor: Editor tips and extensions. e.g. VSCode, ISE, etc.
18+
# Module: Modules and module tips. e.g. PSScriptAnalyzer, Pester, etc.
19+
# NativeCmdlet: Native cmdlet tips. e.g. Get-Process, Get-ChildItem, Get-Content, etc.
20+
# Performance: Tips to improve runtime performance. e.g. foreach vs ForEach-Object, ForEach-Object -Parallel, etc.
21+
# Security: Security tips. e.g. ExecutionPolicy, Constrained Language Mode, passwords, etc.
22+
# Syntax: Syntax tips. e.g. splatting, pipeline, etc.
23+
# Terminal: Terminal shortcuts and tips. e.g. PSReadLine, Windows Terminal, ConEmu, etc.
24+
# Other: Tips that don't fit into any of the other categories.

0 commit comments

Comments
 (0)