Published Books
Recommended Content
Recommended Blogs
-
Recent Posts
- SQL Performance Tips for MEMCM – Part 2
- SQL Performance Tips for MEMCM – Part 1
- Upgrade MEMCM site Windows Server 2012 to Server 2016 – Lessons learned
- Create the Optimize Database Solution using PowerShell and dbatools
- SQL Server recommendations for Microsoft Endpoint Configuration Manager environment Whitepaper Review
Visitor Info
Archives
- March 2022
- February 2022
- August 2021
- June 2020
- December 2019
- May 2019
- March 2019
- January 2019
- December 2018
- October 2018
- August 2018
- July 2018
- May 2018
- March 2018
- January 2018
- December 2017
- September 2017
- August 2017
- June 2017
- May 2017
- March 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- October 2015
- September 2015
- August 2015
- July 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- July 2013
- June 2013
- May 2013
- April 2013
- February 2013
Recent Comments
Categories
- 2015 Dev Connections
- Active Directory
- Always ON
- Android
- Azure
- Azure SQL Server
- ConfigMgr
- DBA
- GPO
- High Availability
- Intune
- Microsoft
- Migration
- MMS
- MMS 2013
- MMS 2014
- MMS 2018
- MMS 2019
- MSI
- MVP
- OSD
- Power BI Report Server
- PowerBI
- PowerShell
- SCCM
- Server 2012
- Softchoice
- Software Center
- SQL
- SQL Server
- SQL Server 2012
- SQL Server 2014
- SQL Server 2016
- SQL Server 2019
- SQLTuesday
- SSRS
- System Center 2012 R2
- T-SQL Tuesday
- TechEd 2014
- UD-B407
- Uncategorized
- VBScript
- Windows 10
- Windows 8
- Windows Server 2012
- WSUS
About
Category Archives: PowerShell
Create the Optimize Database Solution using PowerShell and dbatools
As a follow on to a frequently referenced, and still accurate blog post: Optimizing SCCM Databases Revisited – Let’s automate the creation of this optimization solution using PowerShell and DBATools. Let’s get building! If you have not used dbatools, read … Continue reading
Posted in DBA, PowerShell, SQL Server
6 Comments
TSQL2sday #94–SQL Server and PowerShell
T-SQL Tuesday (#tsql2sday), I’ve been absent for a few, figured it was time to jump back in! SQL and PowerShell, what a great combination. First, let me thank the sponsor, you can find his site from the following link. One … Continue reading
Posted in PowerShell, SQL Server
Leave a comment
Use PowerShell to Install Server 2012 roles and features for CM
Using PowerShell to install the Server 2012 roles and features for Configuration Manager is really super easy. Discovered an issue installing several features as the script needed access to the server 2012 source. Open PowerShell as an administrator, modify the … Continue reading
Posted in ConfigMgr, PowerShell, Server 2012
1 Comment
SCU 2015 – Top 10 ConfigMgr 2012 Issues – SQL Content Links
Kent Agerlund and Johan Arwidmark; aka Robin and Batman (below) presented a great list of top 10 ConfigMgr 2012 Issues at the System Center Universe 2015 event in Irving, TX. Appreciated the shout out to my blog for a few … Continue reading
Posted in ConfigMgr, PowerShell
Leave a comment
PowerShell – SQL Audit Script
As demonstrated at TechEd 2014, here is the PowerShell script. Actually there are two scripts. The first script is contained in this page, copy/paste (as Johan says ‘steal with pride’ 😉 and name the first: ‘SQLAuditv02.ps1’ The second was … Continue reading
Posted in PowerShell, SQL Server, TechEd 2014
20 Comments
TechEd 2014 – MVP Experts Panel
On Monday, May 10 2014, 5 MVPs presented at TechEd. I had the privilege of appearing on stage with Greg Ramsey, Jason Sandys, Johan Arwidmark and Kent Agerlund. Session bio: In this session, Configuration Manager MVPs demonstrate how to take … Continue reading
Posted in ConfigMgr, PowerShell, Server 2012, TechEd 2014
Leave a comment
Running Powershell as an SQL Server Agent task
In my prior post about Using Powershell to automate SQL Server database restore, I mentioned a follow-up post on setting this up. It actually worked fine, until I upgraded SQL Server 2008 R2 to SQL 2012. Then it broke. More … Continue reading
Posted in PowerShell, SQL, SQL Server
2 Comments
Using a PowerShell Script to automate SQL Server database restore
Recently we moved our remote ConfigMgr 2012 database to our site server. The plan was to leave the existing remote server in place to support the “ad hoc” users. Now, how to refresh that database on a daily basis? … Continue reading
Posted in ConfigMgr, PowerShell, SQL Server
2 Comments