GetComputerRestorePointCommand.LastStatus Property
Gets and sets the value of the LastStatus parameter of the Get-ComputerRestorePoint cmdlet. This property is introduced in Windows PowerShell 2.0.
Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)
Usage
'Usage
Dim instance As GetComputerRestorePointCommand
Dim value As SwitchParameter
value = instance.LastStatus
instance.LastStatus = value
Syntax
'Declaration
<ValidateNotNullAttribute> _
<ParameterAttribute(ParameterSetName:="LastStatus", Mandatory:=True)> _
Public Property LastStatus As SwitchParameter
[ValidateNotNullAttribute]
[ParameterAttribute(ParameterSetName="LastStatus", Mandatory=true)]
public SwitchParameter LastStatus { get; set; }
[ValidateNotNullAttribute]
[ParameterAttribute(ParameterSetName=L"LastStatus", Mandatory=true)]
public:
property SwitchParameter LastStatus {
SwitchParameter get ();
void set (SwitchParameter value);
}
/** @property */
public SwitchParameter get_LastStatus ()
/** @property */
public void set_LastStatus (SwitchParameter value)
public function get LastStatus () : SwitchParameter
public function set LastStatus (value : SwitchParameter)
Property Value
When the parameter is specified, the cmdlet retrieves the status of the most recent system restore operation.
Remarks
This topic is included in this SDK for completeness only. For more information about this cmdlet, see Get-ComputerRestorePoint in the Microsoft TechNet Library.
For Help at the command line, type:
get-help get-computerrestorepoint
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
Target Platforms
See Also
Reference
GetComputerRestorePointCommand Class
GetComputerRestorePointCommand Members
Microsoft.PowerShell.Commands Namespace