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.
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.
PARAMETERS
-FilePath
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
The name of the target Provider server.
This must be the actual server name used in the RAS farm.
-SiteId
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
The ID of the Provider server to modify. To obtain the ID, use the Get-RASProvider cmdlet.
-InputObject
An object representing the Provider server to modify.
To obtain the object, use the Get-RASProvider cmdlet.
Type reference: RemotePCStaticProvider
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
RemotePCStaticProvider
OUTPUTS
None
RELATED LINKS
Last updated