Top "Drive-mapping" questions

Getting command line output in VBScript (without writing to files)

I'm using VBScript, and my goal is to be able to substitute a drive letter for a path of my …

windows vbscript subst drive-mapping
Net.exe use 'Error: A command was used with conflicting switches.' while using /savecred

I am trying to use following command to map a drive in persistent mode, and I don't want it to …

networking windows-services command-prompt drive-mapping
Jenkins can't see mapped drive

I'm getting the following error when trying to execute a build in Jenkins: Started by user anonymous Building in workspace …

jenkins drive-mapping
WNetAddConnection2 returns 1219

I am using WNetAddConnection2 and WNetCancelConnection2 to map or unmap drives. What i am trying to do is as follows: …

.net networking drive-mapping wnet
New-PSDrive does not support credentials?

I am trying to map a drive in PowerShell 2.0 and getting this error? New-PSDrive –Name ftp –PSProvider FileSystem –Root “\\server\…

powershell-2.0 drive-mapping
How to create PSDrive using credentials?

When I connect to shared "\\ip_address\" folder without using credentials I connect successfully: $driveInfo = New-PSDrive ` -Name $driveName ` -PSProvider "FileSystem" ` …

powershell share remote-access drive-mapping
Mapped network drive via New-PSDrive disappears after exiting powershell script

I've tried looking for an answer for couple of days with no luck... I have a powershell (v3.0) script that …

powershell windows-server-2012 drive-mapping
Cannot add "-persist" to New-PSDrive - getting error "network resource type is not correct"

As the title says, if I try to add -persist to the cmdlt, it returns an error: New-PSDrive : The network …

powershell windows-scripting drive-mapping powershell-v5.1 new-psdrive