Invoke-RASImportProviderRemotePCStatic

NAME

Invoke-RASImportProviderRemotePCStatic

SYNOPSIS

Imports a list of Remote PC Static to a Provider from a file.

SYNTAX

Invoke-RASImportProviderRemotePCStatic [-Id] <uint> -FilePath <string> [<CommonParameters>]

Invoke-RASImportProviderRemotePCStatic [-InputObject] <RemotePCStaticProvider> -FilePath <string> [<CommonParameters>]

Invoke-RASImportProviderRemotePCStatic [-Server] <string> [[-SiteId] <uint>] -FilePath <string> [<CommonParameters>]

DESCRIPTION

Imports a list of Remote PC Static to a Provider from a file.

PARAMETERS

-FilePath <string> Specify a CSV file path containing a list of PCs to be added to a provider.

The columns in the file must be: hostname, MAC address.

-Server <string> The name of the target Provider server.

This must be the actual server name used in the RAS farm.

-SiteId <uint> Site ID in which to modify the specified Provider server.

If the parameter is omitted, the site ID of the Licensing Server will be used.

-Id <uint> The ID of the Provider server to modify. To obtain the ID, use the Get-RASProvider cmdlet.

-InputObject <RemotePCStaticProvider> An object representing the Provider server to modify.

To obtain the object, use the Get-RASProvider cmdlet.

<CommonParameters>

INPUTS

RemotePCStaticProvider

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ----------

Invoke-RASImportProviderRemotePCStatic -Id 1 -FilePath "C:\RemotePCStatic.csv"

Imports a list of Remote PC Static to the Provider with Id 1 from the specified file.

Last updated