drive-mapping Questions

4

I've tried looking for an answer for couple of days with no luck... I have a powershell (v3.0) script that checks for a Network drive and maps it if it is not already mapped. The script itself wor...
Savill asked 10/6, 2014 at 8:14

3

I am using WNetAddConnection2 and WNetCancelConnection2 to map or unmap drives. What i am trying to do is as follows: I mapped a folder(eg:Folder1) on server(eg:myserver). so the path is \\myserv...
Parol asked 1/6, 2011 at 20:32

3

Solved

I'm getting the following error when trying to execute a build in Jenkins: Started by user anonymous Building in workspace C:\Users\mryan\git\AML [AML] $ cmd /c call C:\Users\MRYAN~1.ASA\AppData\L...
Scriptwriter asked 14/7, 2014 at 9:59

1

As the title says, if I try to add -persist to the cmdlt, it returns an error: New-PSDrive : The network resource type is not correct At line:1 char:1 + New-PSDrive -Name P -Root <redacted> ...

3

Solved

I am trying to map a drive in PowerShell 2.0 and getting this error? New-PSDrive –Name ftp –PSProvider FileSystem –Root “\\server\folder” -Credential $credential The provider does not support the ...
Seessel asked 11/6, 2013 at 5:15

2

Solved

I am trying to use following command to map a drive in persistent mode, and I don't want it to ask login credentials everytime I reboot the machine: net use P: \\server\folder Password123 /user:us...
Asynchronism asked 1/8, 2013 at 14:27

1

Solved

I'm using VBScript, and my goal is to be able to substitute a drive letter for a path of my choosing. I need the D drive, and if it's not available I need to check if it's already mapped to the rig...
Undergraduate asked 22/3, 2011 at 15:10
1

© 2022 - 2024 — McMap. All rights reserved.