Find-DriveMapping
SYNOPSIS
Find the mapping associated with a specified drive letter.
SYNTAX
DESCRIPTION
This function searches for the mapping of a specified drive letter in Active Directory and logon scripts. It retrieves the mapping details from AD groups and logon scripts to identify the corresponding network path.
EXAMPLES
EXAMPLE 1
Searches for the mapping associated with the drive letter "H" in Active Directory and logon scripts.
EXAMPLE 2
Uses the alias `WhatDrive` to find the mapping for the drive letter "Z".
PARAMETERS
-letter
The drive letter to search for. Must be a single character between 'A' and 'Z'.
Type: Char
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.