Hi,
Can anyone tell me a wat to create RDP shortcuts using powershell?
I have written a script for mountpoints where in it compares the mountpoints with the mounpoints in the text file
for Ex:-
$volume= get-wmiObject -class win32_volume -computername $server | Where-object{$_.DriveLetter -eq $null} | select label, name, Freespace
$volume gives me C:\Yo-01
$test="C:\Y0-01"
if ($volume -contains $test)
{
return (Pass) } else {return (Fail)}
when i execute, i get pass not Fail though the mountpoints names are different. And please let me know how to create shortcuts as well?