Skip to content

Latest commit

 

History

History
99 lines (58 loc) · 1.69 KB

ConvertFrom-WmiDateTime.md

File metadata and controls

99 lines (58 loc) · 1.69 KB
external help file Module Name online version schema
PSDates-help.xml
PSDates
2.0.0

ConvertFrom-WmiDateTime

SYNOPSIS

Converts a Wmi Time value to a datetime value

SYNTAX

__AllParameterSets

ConvertFrom-WmiDateTime [-WmiTime] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

This function will return the datetime based on a WMI datetime string.

EXAMPLES

Example 1: EXAMPLE 1

ConvertFrom-WmiDateTime -WmiTime '20190912173652.000000-300'
Gets datetime for the Wmi time 20190912173652.000000-300

PARAMETERS

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Accepted values: 

Required: True (None) False (All)
Position: Named
Default value: 
Accept pipeline input: False
Accept wildcard characters: False
DontShow: False

-WmiTime

The WmiTime value to return the datetime for

Type: String
Parameter Sets: (All)
Aliases: 
Accepted values: 

Required: True (All) False (None)
Position: 0
Default value: 
Accept pipeline input: False
Accept wildcard characters: False
DontShow: False

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.

OUTPUTS

The datetime value based on the wmi time

NOTES

RELATED LINKS

Fill Related Links Here