PoshCode Archive  Artifact [847faa3c43]

Artifact 847faa3c43d2dd365b409cc8d04d1ee38f0cf7aec5e97a35528ef72b2373faeb:

  • File used-drive-letters.ps1 — part of check-in [00f2e57619] at 2018-06-10 13:50:08 on branch trunk — Fix (user: greg zakharov size: 396)

# encoding: ascii
# api: powershell
# title: used drive letters
# description: Fix
# version: 0.1
# author: greg zakharov
# license: CC0
# x-poshcode-id: 5110
# x-archived: 2014-04-26T17:39:48
# x-published: 2014-04-22T18:42:00
#
#
#looks for drive letters which are used with system at current moment (including subst)
[Char[]](65..90) | ? {cmd /c 2`>nul @($_ + ':') `&`& echo $_}