Skip to content

New-RpAppDataPath

SYNOPSIS

Creates a directory for RemotePro app data, adapting logic from MilestonePSTools for path handling.

SYNTAX

New-RpAppDataPath [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

This function, New-RpAppDataPath, combines LOCALAPPDATA with a subdirectory specific to RemotePro. It ensures or creates this directory using modified item management techniques from MilestonePSTools. Returns the full path. See link for MilestonePSTool's explanation of AppData usage.

EXAMPLES

EXAMPLE 1

New-RpAppDataPath

This example creates the RemotePro app data directory and returns the full path.

PARAMETERS

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
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.

INPUTS

OUTPUTS

System.String

NOTES

https://www.milestonepstools.com/commands/en-US/Connect-Vms/#description

https://www.remotepro.dev/en-US/New-RpAppDataPath