Quantcast
Channel: Scripting Blog
Browsing all 2129 articles
Browse latest View live

Join the PowerShell tenth birthday celebration

SUMMARY: Microsoft Scripting Guy Ed Wilson announces November 14, 2016 as date for PowerShell 10th anniversary celebration Can you believe that PowerShell is nearly 10 years old (that is a long time in...

View Article


PowerShell regex crash course – Part 5 of 5

Summary: Thomas Rayner, Microsoft Cloud and Datacenter Management MVP, shows the basics of working with regular expressions in PowerShell. Hello! I’m Thomas Rayner, a proud Cloud and Datacenter...

View Article


Image may be NSFW.
Clik here to view.

PowerTip: Know the difference between the .split() method and ‘-split’

Summary: Cloud and Datacenter Management MVP, Thomas Rayner, shows how to split a string by using a string instead of just a character. I am trying to split the string “this is my amazing string” on...

View Article

Image may be NSFW.
Clik here to view.

Open Source PowerShell – Part 1

Summary: Find and install the Open Source PowerShell software for Linux or Windows. I was reading up about a great new change in PowerShell. I heard that the newest version was Open Sourced on GitHub....

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Capture error code of a PowerShell session in Linux or macOS

Summary: Capture the status code of a PowerShell session in Linux or macOS. Could you show me how to run a PowerShell script in Linux or macOS and capture the status of whether that script succeeded or...

View Article


Image may be NSFW.
Clik here to view.

How to avoid reinventing the wheel in Azure Automation

Summary: Take advantage of existing scripts to create your own solutions.   Automation is the number one technical skill that IT needs to have to thrive in today’s quickly changing world. My...

View Article

Image may be NSFW.
Clik here to view.

Part 3 – Use Azure Automation DSC to Configure Linux and execute PowerShell...

Summary: Learn how to configure and use PowerShell, Bash, and DSC with Linux. Hi, my name is Stefan Roth (Blog: http://stefanroth.net / Twitter: @stefanroth_net), and I am a Cloud and Datacenter MVP....

View Article

Image may be NSFW.
Clik here to view.

Manage SharePoint Online site collections and the web templates with PowerShell

Summary: PowerShell commands can manage site collections and the web templates that create site collections. Christopher Weaver is a Microsoft Premier Field Engineer (PFE) who focuses on SharePoint and...

View Article


Image may be NSFW.
Clik here to view.

Open Source PowerShell – Part 2

Summary: Use PowerShell scripts within Python and Bash (and those within PowerShell). I am curious just how much I can use Open Source PowerShell within Linux and macOS.  Is it an isolated environment,...

View Article


Image may be NSFW.
Clik here to view.

PowerTip: Get the status code of a PowerShell script in Bash

Summary: Identify the results of a script running in Open Source PowerShell in a Bash environment. Is there any way to see the results of a PowerShell script? For example, if somebody sent an “Exit...

View Article

Image may be NSFW.
Clik here to view.

Open Source PowerShell – Part 3

Summary: Pass and return data correctly between Bash and Open Source PowerShell. Could you show me some examples of actually passing and returning values between PowerShell and Bash? Honorary Scripting...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: Return a status code to Linux from PowerShell

Summary: Pass a result code back to a calling Linux environment from Open Source PowerShell. How can I pass a numeric value back to a calling Bash Shell to indicate an error? Just simply supply the...

View Article

Image may be NSFW.
Clik here to view.

Open Source PowerShell – Part 4

Summary: Install and Configure SSH for Open Source PowerShell remoting. With PowerShell, up to this point, one thing that I love is the ability to connect various systems in my environment and run...

View Article


Image may be NSFW.
Clik here to view.

PowerTip: Capture the output of a Linux application in PowerShell

Summary: Use the built-in features of PowerShell to obtain data produced by a Linux application. Can I run a Linux application like ls and capture its output in PowerShell? You certainly can!  It’s no...

View Article

Image may be NSFW.
Clik here to view.

Get started with PowerShell development in Visual Studio Code

Summary: Learn about the features in Visual Studio Code that help you write PowerShell code. Since the PowerShell integrated scripting environment (ISE) shipped with Windows PowerShell 2.0 in 2009, the...

View Article


Image may be NSFW.
Clik here to view.

Make Visual Studio Code more like the integrated scripting environment

Summary: Learn some handy tips to make Visual Studio Code work more like the ISE. I was very intrigued with the release of Visual Studio Code last year. An editor that is light-weight and integrated...

View Article

Image may be NSFW.
Clik here to view.

Curly Blue and the meaning of scripting – Part 1

Summary: Curly Blue learns how to automate cleaning of old data files by using PowerShell. This week, in the spirit of the holidays (and of course the previous six years!), Hey, Scripting Guy is...

View Article


Image may be NSFW.
Clik here to view.

PowerTip: Limit Get-Childitem to a limited depth in the tree

Summary: Use the new -depth parameter to control how far down a directory you can search. I have a large file structure to search but I only want to go two folders deep on the search.  Is there a way...

View Article

Image may be NSFW.
Clik here to view.

Curly Blue and the meaning of scripting – Part 2

Summary: Curly Blue learns how to use built-in PowerShell script examples in Windows. Yesterday we met our new friends, Curly Blue and Linux. Curly had started his new job as a IT Professional at...

View Article

Image may be NSFW.
Clik here to view.

PowerTip: List locked-out accounts in Active Directory with PowerShell

Summary: Use Active Directory cmdlets to identify locked-out user accounts and computer accounts. Is there a quick and easy way to find all users who are locked out in Active Directory by using...

View Article
Browsing all 2129 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>