Skip to content

Enable HPOVMSDSC

Chris Lynch edited this page Dec 10, 2020 · 32 revisions

HPE OneView 4.10 Library

Enable-HPOVMSDSC

Enable Microsoft DSC Support

SYNTAX

Enable-HPOVMSDSC [<CommonParameters>]

Detailed Description

Using this cmdlet will create and/or modify UseMSDSC (REG_DWORD) located at HKCU:\Software\Hewlett-Packard\HPOneView, to 1 (True). By enabling support, the module will overload Write-Host, and instead issue Write-Verbose commands.

Use Disable-HPOVMsDSC to disable support.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

None. You cannot pipe objects to this cmdlet.

Return Values

None.

Examples

 -------------------------- EXAMPLE 1 --------------------------

Enable-HPOVMSDSC

Configures Registry value to overload Write-Host, which then uses Write-Verbose.

Related Links


HPE OneView 4.00 Library

Enable-HPOVMSDSC

Enable Microsoft DSC Support

SYNTAX

Enable-HPOVMSDSC [<CommonParameters>]

Detailed Description

Using this cmdlet will create and/or modify UseMSDSC (REG_DWORD) located at HKCU:\Software\Hewlett-Packard\HPOneView, to 1 (True). By enabling support, the module will overload Write-Host, and instead issue Write-Verbose commands.

Use Disable-HPOVMsDSC to disable support.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

None. You cannot pipe objects to this cmdlet.

Return Values

None.

Examples

 -------------------------- EXAMPLE 1 --------------------------

Enable-HPOVMSDSC

Configures Registry value to overload Write-Host, which then uses Write-Verbose.

Related Links


Wiki Table of Contents

Clone this wiki locally