# Get-RASDayPlan

## NAME

Get-RASDayPlan

## SYNOPSIS

Retrieves information about day plan properties.

## SYNTAX

**Get-RASDayPlan** \[\[-[Id](#Id)] _\<uint>_] -[ObjType](#ObjType) {LogonHours} \[_<_[_CommonParameters_](#CommonParameters)_>_]

**Get-RASDayPlan** \[\[-[Name](#Name)] _\<string>_] \[\[-[SiteId](#SiteId)] _\<uint>_] -[ObjType](#ObjType) {LogonHours} \[_<_[_CommonParameters_](#CommonParameters)_>_]

## DESCRIPTION

Retrieves information about day plan properties.

The cmdlet returns an object of type day plan properties.

## PARAMETERS

-**Name \<string>**\
Name of the object to retrieve the day plan from.

```
        Required?                    false

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**SiteId \<uint>**\
Site ID for which to retrieve the specified day plan of the object type specified.

If the parameter is omitted, the Site ID of the Licensing Server will be used.

```
        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**Id \<uint>**\
The ID of the object to retrieve the day plan from.

```
        Required?                    false

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**ObjType <**[**DayPlanObjType**](../classes-and-enumerations/dayplanobjtype)**>**\
The Object Type for which to retrieve the Day Plan settings from.

Possible values: LogonHours

```
        Required?                    true

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

\<CommonParameters>

```
        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation. 
```

## INPUTS

-none-

## OUTPUTS

[PermittedHourPlan](../classes-and-enumerations/permittedhourplan)

## EXAMPLES

**---------- EXAMPLE 1 ----------**

Get-RASDayPlan -Name "My Logon Hours" -ObjType LogonHours | Format-List

Retrieves information about the day plan properties specified by name from the Licensing Server Site.\
&#xNAN;**---------- EXAMPLE 2 ----------**

Get-RASDayPlan -Id 1 -ObjType LogonHours

Retrieves information about the day plan properties specified by ID from the Licensing Server Site.

## RELATED LINKS

* [Set-RASDayPlan](set-rasdayplan)
* [Get-RASLogonHours](get-raslogonhours)
