Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.
/ DSCPullServerAdmin Public archive

PowerShell module to provide a better Admin oriented DSC Pull Server experience.

License

Notifications You must be signed in to change notification settings

bgelens/DSCPullServerAdmin

Repository files navigation

DSCPullServerAdmin

master dev psgallery
Build status Build status PowerShell Gallery
codecov codecov

A module to work with the DSC PullServer EDB (ESENT), MDB (Access) and SQL databases and provide a better Admin oriented Pull Server experience.

Update 12/11/2018: As of version 0.4.0, the module is able to handle MDB Databases! (For now this requires Windows PowerShell with an additional installation of Microsoft Access Database Engine 2016 Redistributable)

Update 11/20/2018: As of version 0.3.0, the module is able to handle the EDB with all features again. Get/Set/Remove/New is (in experimental) support!

The module enables you to move data from the EDB or MDB database to a SQL database. This allows you to "upgrade" your Pull Server implementation to make use of the SQL backend introduced in Windows Server RS4 (1803) and Server 2019. It is also capable of doing migrations from any source database type to any destination database type as of version 0.3.0!

The module supports accessing, manipulating, removing Devices (Legacy LCMv1, ConfigurationId), Registrations (LCMv2, AgentId) and StatusReports (LCMv2). All this data can be easily moved over to SQL as well.

Note that the current state of this module is experimental. Use at your own risk and if possible always create a backup!

Thanks!!

A big thank you goes out to @rdbartram and @gaelcolas who both brought in some major contributions. Thank you both!

Examples

EDB

Connect with EDB (the database cannot be in use by another process!) and get Devices and Registrations out of it.

edb01

Get StatusReports out of the EDB.

edb02

edb03

SQL

Connect with SQL and Get, Set, Create and Remove data.

sql01

sql02

sql03

Copy Data EDB to SQL

All data can be copied over.

Note, the function has been renamed to Copy-DSCPullServerAdminData as it is now capable of handling any source database type to any destination database type!

edb2sql01

edb2sql02

Class diagram

This project is PowerShell class based. Find here the Class diagram structure:

Diagram

About

PowerShell module to provide a better Admin oriented DSC Pull Server experience.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •