# Invoke-RASImportProviderRemotePCStatic.md

## NAME

Invoke-RASImportProviderRemotePCStatic

## SYNOPSIS

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

## SYNTAX

\*\*Invoke-RASImportProviderRemotePCStatic \[[Id](#id-string)] *(uint)* -[FilePath](#filepath-string) *(string)* \[*(*[*CommonParameters*](#CommonParameters)*)*]

\*\*Invoke-RASImportProviderRemotePCStatic \[-[InputObject](#inputobject)] *(*[*RemotePCStaticProvider*](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/remotepcstaticprovider)*)* -[FilePath](#filepath-string) *(string)* \[*(*[*CommonParameters*](#CommonParameters)*)*]

\*\*Invoke-RASImportProviderRemotePCStatic \[[Server](#server-string)] *(string)* \[\[-[SiteId](#siteid-string)] *(uint)*] -[FilePath](#filepath-string) *(string)* \[*(*[*CommonParameters*](#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.

```
        Required?                    true

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Server (string)

The name of the target Provider server.

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

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## 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.

```
        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Id (uint)

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

```
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## InputObject

([RemotePCStaticProvider](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/remotepcstaticprovider)) An object representing the Provider server to modify.

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

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       true (ByValue)

        Accept wildcard characters?  false
```

(CommonParameters)

```
        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation. 
```

## INPUTS

[RemotePCStaticProvider](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/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.

## RELATED LINKS

* [Get-RASProvider](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/get-rasprovider)
* [Set-RASProvider](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/set-rasprovider)
* [Add-RASProviderRemotePCStatic](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/add-rasproviderremotepcstatic)
* [Get-RASProviderRemotePCStatic](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/get-rasproviderremotepcstatic)
* [Set-RASProviderRemotePCStatic](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/set-rasproviderremotepcstatic)
* [Remove-RASProviderRemotePCStatic](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/remove-rasproviderremotepcstatic)
