Quantcast
Channel: SQLServerCentral » Programming » Powershell » Latest topics
Viewing all articles
Browse latest Browse all 467

Programmatically create a New Network Location link Windows 7

$
0
0
Still trying to programmatically create a New Network Location link.I've got it down to -- [i]I think[/i]:$Newlink = New-Object System.IO.DirectoryInfo "$MyPath"But I can't figure out how to set the target, which is a \\Server\Drive$Any ideas?

Viewing all articles
Browse latest Browse all 467

Trending Articles