Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. > function test { dir -r -fil *.vbproj | ft directory, name }
  2.  
  3. $function:test
  4.  
  5. ${function:test-function}
  6.  
  7. (Get-Command test).Definition
  8.  
  9. (Get-Command Test).Definition
  10.  
  11. Get-ChildItem Function::
  12.  
  13. $metadata = New-Object system.management.automation.commandmetadata (Get-Command Get-EventLog)
  14. [System.management.automation.proxycommand]::Create($MetaData) | out-file C:Get-EventLog.ps1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement