-
Recent Posts
Categories
- App-V (2)
- Applications (6)
- Azure (1)
- Hyper-V (1)
- ManageEngine (2)
- Office (1)
- Powershell (24)
- SCCM (20)
- Server 2012 R2 (2)
- SQL (3)
- Uncategorized (3)
- Windows 10 (5)
- Windows 7 (13)
- Windows 8 (15)
- Windows XP (1)
Recent Comments
- admin on PowerShell and Windows Forms
- Kou on PowerShell and Windows Forms
- Jacob Moritz on Configure two tier PKI hierarchy
- Dakota Brooks on Remove characters from file names with PowerShell
- Powershell new object system windows forms form on PowerShell and Windows Forms
Archives
- September 2018
- May 2017
- October 2016
- September 2016
- August 2016
- July 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- October 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- September 2013
- July 2013
- April 2013
- March 2013
- January 2013
- December 2012
- November 2012
- October 2012
Meta
-
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
Monthly Archives: January 2015
Create and use a PowerShell console file
When writing scripts, sooner or later you will realize that you add the same snap ins all over again in different scripts. What you can do in this case is to export all loaded PowerShell snap ins from a console … Continue reading
Posted in Powershell
Tagged -PSConsoleFile, Console, Console File, Export-Console, Powershell, Snap In
2 Comments
Read XML-file in PowerShell
Today I will show you how to read a XML-file, something with endless possibilities. An example is if you have a file that contains information about users and you need to create new accounts in the Active Directory.
Query SQL database from PowerShell
I’ve been working on a larger script where I needed to query a database to see if a value was present or not, something I thought was pretty much straight forward. However, this turned out to be a bit harder … Continue reading
Install SQL Server PowerShell Module (SQLPS)
When installing SQL server, the PowerShell modules are installed by default, but if you wan’t to run scripts or commands from a computer/server that hasn’t got an installation of SQL, you need to install these manually.