Posted On March 31, 2019

Quick 1-liner: Secured File Transfer using PSCP

kimconnect 0 comments
blog.KimConnect.com >> Codes >> Quick 1-liner: Secured File Transfer using PSCP
pscp.exe c:\origin\ root@serverIP:/path_to_destination

Leave a Reply

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

Related Post

PowerShell: Function to Wait for Service to Be Back Online (After Server Reboots)

Function waitForService{ $testSucceeded=(Test-NetConnection $server -port $port).TcpTestSucceeded $null=Set-PSBreakpoint -Variable rightNow -Mode Read -Action { $global:testSucceeded =…

Linux: How To Use Dig

Checking Name Server(s) kim@kim-linux:~$ dig @8.8.8.8 microsoft.com ; <<>> DiG 9.16.1-Ubuntu <<>> @8.8.8.8 microsoft.com ;…

Last Logon Dates of List of AD Accounts

import-module activedirectory$output=""Get-Content C:\Users\kimconnect\Desktop\targetAccounts.txt | Foreach-Object -Process{ #  cast an array object as string before using…
Other project: DragonCoin.com