{"id":18036018,"url":"https://github.com/amtwo/sql-server-estate-manager","last_synced_at":"2026-02-17T23:03:10.662Z","repository":{"id":52971405,"uuid":"356266540","full_name":"amtwo/sql-server-estate-manager","owner":"amtwo","description":"A small project to monitor your estate, patching, and license compliance","archived":false,"fork":false,"pushed_at":"2022-11-28T10:34:16.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-23T10:44:15.421Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amtwo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-09T12:40:54.000Z","updated_at":"2022-10-26T23:04:24.000Z","dependencies_parsed_at":"2023-01-22T16:45:09.268Z","dependency_job_id":null,"html_url":"https://github.com/amtwo/sql-server-estate-manager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amtwo%2Fsql-server-estate-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amtwo%2Fsql-server-estate-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amtwo%2Fsql-server-estate-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amtwo%2Fsql-server-estate-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amtwo","download_url":"https://codeload.github.com/amtwo/sql-server-estate-manager/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245809582,"owners_count":20676013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T12:11:14.604Z","updated_at":"2026-02-17T23:03:10.635Z","avatar_url":"https://github.com/amtwo.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL Server Estate Manager\n\nA small project to manage your estate, patching, and license compliance\n\nThis project is licensed under [the 3-Clause BSD License](LICENSE).\n\n\n## Setup Instructions\n### To install\n* Clone this repo.\n* From the sql-server-estate-manager folder, run the install script:\n  * `./Install-LatestEstateDatabase.ps1 -InstanceName \"PRODSQL123\"`\n    * This will create a `sql_server_estate_manager` database on the server `PRODSQL123`. \n    * Optionally, you can use the `-DatabaseName` parameter to use a non-default database name.\n* Schedule `\\pwsh\\Get-SqlServerEstateInfo.ps1` to run on a schedule.\n  * If you've installed the database on `PRODSQL123` using the instructions above, you will want to schedule the execution of the following PowerShell command:\n    * `./Get-SqlServerEstateInfo.ps1 -InstanceName \"PRODSQL123\"`\n  * If you've used a non-default database name, you will need to use the `-DatabaseName` parameter to additionally specify the correct database:\n    * `./Get-SqlServerEstateInfo.ps1 -InstanceName \"PRODSQL123\" -DatabaseName \"EstateManager\"`\n  * You likely want to copy this script to a management server and schedule it to run on a daily basis, using the scheduling software of your choice. (SQL Agent works fine.)\n\n\n### To configure\nPopulate the `dbo.Servers` table with all servers in your environment. This table has two required fields: \n* **`ServerName`** - This is the \"normal\" host name of your server. ex) PRODSQL123\n* **`ServerFQDN`** - This is the fully qualfied domain name of your server. ex) PRODSQL123.contoso.com\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famtwo%2Fsql-server-estate-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famtwo%2Fsql-server-estate-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famtwo%2Fsql-server-estate-manager/lists"}