powershellscripts.com

Tutorials  PowerShell Cmdlet Help for New-WebFtpSite



NAME
New-WebFtpSite

SYNOPSIS
Create a new FTP7 Site

SYNTAX
New-WebFtpSite [-Name] [-Id ] [-Port ] [-IPAddress ] [-HostHeader ] [-Phys
icalPath ] [-Force] [-WarningAction ] [-WarningVariable ] []


DESCRIPTION
Creates a new FTP site. FTP7 or later is required.


PARAMETERS
-Name
The name of the new FTP site.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Id
The ID of the new FTP site.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Port
The port number of the new FTP site.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-IPAddress
The IP Address of the new FTP site.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-HostHeader
The host header of the new FTP site.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-PhysicalPath
The physical path to the new FTP site. The folder specified must already exist.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Force
Forces the new FTP site to be created.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningAction


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES




-------------- EXAMPLE 1: Adding a new FTP binding --------------

C:\PS>New-WebFtpSite -Name testFtpSite -Port 21 -PhysicalPath c:\test -HostHeader mySite -IPAddress 127.0.0.1


Creates a new FTP site named "testFtpSite" (works with FTP7 only).






RELATED LINKS