Skip to content
dev
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

THIS MODULE HAS BEEN DEPRECATED

It will no longer be released. Please use the 'PowerShellExecutionPolicy' resource in ComputerManagementDsc instead.

xPowerShellExecutionPolicy

The xPowerShellExecutionPolicy modules contains the xPowerShellExecutionPolicy DSC resource for configuring the PowerShell execution policy.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Branches

master

Build status codecov

This is the branch containing the latest release - no contributions should be made directly to this branch.

dev

Build status codecov

This is the development branch to which contributions should be proposed by contributors as pull requests. This development branch will periodically be merged to the master branch, and be released to PowerShell Gallery.

Contributing

Please check out common DSC Resources contributing guidelines.

Resources

xPowerShellExecutionPolicy

  • ExecutionPolicy: Specifies the desired PowerShell execution policy.
  • ExecutionPolicyScope: Specifies the scope of the desired PowerShell execution policy. Defaults to 'LocalMachine'.

Versions

Unreleased

3.1.0.0

  • Deprecated this module. This resource module will no longer be released. Please use the PowerShellExecutionPolicy resource in ComputerManagementDsc instead.

3.0.0.0

2.0.0.0

  • Converted appveyor.yml to install Pester from PSGallery instead of from Chocolatey.
  • Added optional -Scope parameter

1.1.0.0

  • Added test cases and Set now throws most exceptions

1.0.0.0

  • Initial release with the following resources
    • xPowerShellExecutionPolicy

Examples

Setting the PowerShell execution policy to Bypass

In the Examples folder, SetPowerShellExecutionPolicy.ps1 is a sample configuration that demonstrates how to use xPowerShellExecutionPolicy to set the execution policy.

About

THIS MODULE HAS BEEN DEPRECATED Please use PowershellExecutionPolicy instead: https://github.com/PowerShell/ComputerManagementDsc

Resources

License

Stars

Watchers

Forks

Packages

No packages published