About Me

My photo
HANUMANGARH, RAJASTHAN, India

Saturday, 22 February 2025

Extract Disk Info from Remote host

 # Define the remote hostname or IP address

$remoteHost = Get-Content "C:\temp\RemoteServer.txt"


# Define the output CSV file path

$outputCsv = "C:\temp\RemoteDiskReport.csv"

Extract Disk Info from Remote host

 # Define the remote hostname or IP address $remoteHost = Get-Content "C:\temp\RemoteServer.txt" # Define the output CSV file path...