Search notes:

PowerShell cmdLet New-PSDrive

$password = convertTo-SecureString 'oneTwoThree' -asPlainText -force
$cred = new-object System.Management.Automation.PSCredential ('someDomeain\tq84, $password)
new-psDrive -name O -psProvider fileSystem -root '\\srv.xy\abc' -credential $cred # -Persist
Hmm‥
PS: 13 C:\Users\rene> new-psDrive V -psProvider fileSystem -root '\\rene\shared'
new-psDrive : Cannot process the drive name because the drive name contains one or more of the following characters that are not valid: ; ~ / \ . :


PS: 14 C:\Users\rene> new-psDrive V -psProvider fileSystem -root '\\rene\shared'                                              
Name      Used (GB)     Free (GB) Provider      Root                      CurrentLocation
----      ---------     --------- --------      ----                      ---------------
V                                 FileSystem    \\rene\shared

TODO

What's the thing with @SSL and DavWWWRoot:
new-psDrive V -psProvider fileSystem -root '\\rene@SSL\DavWWWRoot\shared'

Alias

mount is an alias for new-psDrive.
Compare with the shell command mount

See also

The command parameter -credential.
Powershell command noun: psDrive
Compare with net.exe use.
The new-smbMapping cmdlet.
Accessing Sysinternals tools via WebDAV.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1759365456, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/PowerShell/command-inventory/noun/psDrive/new(74): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78