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

User Profile Hive Cleanup Service

The User Profile Hive Cleanup service helps to ensure user sessions are completely terminated when…

Terminal Service Auditing – Generate Report of RDP Sessions with Certain Login Dates

# getLoginEvents.ps1 function getLoginEvents{ param( $computername=$env:computername, $daysLimit=30 ) $ErrorActionPreference='stop' try{ $logins=Get-WinEvent -ComputerName $ComputerName -LogName "Microsoft-Windows-TerminalServices-LocalSessionManager/Operational"|…

Testing NFS Between Linux Server & Windows Client

On Linux server:1. Turn of selinux/ipchains/iptables during the test. This could be turned on at…
Other project: DragonCoin.com