Posted On August 15, 2019

PowerShell: Quick 1-Liner to Locate Path to Executable

kimconnect 0 comments
blog.KimConnect.com >> Windows >> PowerShell: Quick 1-Liner to Locate Path to Executable
PS C:\Users\tester> (get-command robocopy.exe) | select Definition

Definition
----------
C:\Program Files (x86)\Windows Resource Kits\Tools\robocopy.exe
C:\Windows\system32\Robocopy.exe

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Converting from IOPS to MB/s

Conversion factors: from IOPS to MiB/s Throughput is a function of Input/Output per second (IOPS)…

PowerShell: Deploy Certs on Remote Windows Servers

Quick Script for Local Machines: $certPath="C:\kimconnect_cert.pfx" $certPlaintextPassword='PASSWORD' $certEncryptedPassword=ConvertTo-SecureString $certPlaintextPassword -AsPlainText -Force Import-PfxCertificate -CertStoreLocation Cert:\LocalMachine\My -FilePath…

User Account Group Membership Copy

This is the quick snippet to be executed in the context of a Domain Administrator:…
Other project: DragonCoin.com