ExportPSSessionCommand.NoClobber Property
Gets and sets the value of the NoClobber parameter of the Export-PSSession cmdlet.
Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Utility (in microsoft.powershell.commands.utility.dll)
Usage
Syntax
'Declaration
<ParameterAttribute> _
Public Property NoClobber As SwitchParameter
[ParameterAttribute]
public SwitchParameter NoClobber { get; set; }
[ParameterAttribute]
public:
property SwitchParameter NoClobber {
SwitchParameter get ();
void set (SwitchParameter value);
}
/** @property */
public SwitchParameter get_NoClobber ()
/** @property */
public void set_NoClobber (SwitchParameter value)
public function get NoClobber () : SwitchParameter
public function set NoClobber (value : SwitchParameter)
Property Value
If the parameter is specified, the cmdlet will not overwrite an existing file.
Remarks
This topic is included in this SDK for completeness only. For more information about this cmdlet, see Export-PSSession in the Microsoft TechNet library.
For Help at the command line, type:
PS>get-help export-pssession
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP
Target Platforms
Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP
See Also
Reference
ExportPSSessionCommand Class
ExportPSSessionCommand Members
Microsoft.PowerShell.Commands Namespace