Skip to content

When testing for a valid mount point, only the local computer is tested #1

@andrewtobin

Description

@andrewtobin

Hey guys,

I'm trying to get VSS Application-Consistent snapshotting to dev and test working and have had real troubles with finding a good guide, but I'm working my way thru the powershell in the SSMS tooling to get this working for us.

I am having trouble requesting that the backup be mounted to a mount point and I noticed that in the ValidateDriveLetter function it tests if you have passed in a drive letter, and it also tests if that is instead a mount point, but the code only runs:
if ($False -eq (Test-Path -Path $DriveLetter))

To my understanding of powershell, this will only run on the current computer and not the remote computer that we check from the ComputerName being passed in?

This has stopped us from running this scripting on a remote server.

Thanks

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions