Книга: Windows Server 2012 R2 Storage, Security, & Networking Pocket Consultant

Disconnecting a network drive

Disconnecting a network drive

In Windows Server 2012 R2, you disconnect a network drive using NET USE and Remove-PsDrive. The syntax for NET USE is:

net use DeviceName /delete

DeviceName specifies the network drive to remove, such as:

net use g: /delete

The syntax for Remove-PsDrive is:

Remove-PsDrive -Name DriveLetter

DriveLetter is the network drive to remove, such as:

Remove-PsDrive -Name g

NOTE If the network drive has open connections, you can force remove the network drive using -Force parameter.

In File Explorer, you can disconnect a network drive by following these steps:

1. When you open File Explorer, the This PC node should be opened by default. If you have an open Explorer window and This PC is not the selected node, select the leftmost option button in the address list, and then select This PC.

2. Under Network Location, press and hold or right-click the network drive icon, and then tap or click Disconnect.

Оглавление книги

Оглавление статьи/книги

Генерация: 1.249. Запросов К БД/Cache: 3 / 1
поделиться
Вверх Вниз