Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Browsing all 8583 articles
Browse latest View live

Geek School: Learn How to Use Jobs in PowerShell

PowerShell has four types of jobs – Background Jobs, Remote Jobs,WMI Jobs and Scheduled Jobs. Join us as we find out what they are and how we can use them.Read More

View Article


Creating Add-ons, Plugins, and Tools for the PowerShell ISE

We frequently get questions asking if the PowerShell ISE supports a feature that it doesn’t. For example, variable watch windows, function browsers, or “find all matches in the current document”.Read...

View Article


Help loading contents of file in to multiple arrays...

In my latest pursuit, I'm attempting to use secedit.exe to dump out the local security config of a server and check the settings against a configuration checklist.So far, I can dump the text file using...

View Article

Using Windows PowerShell to download a file from a SAS Workspace session

In a previous article, I described how to use Windows PowerShell to connect to a remote SAS Workspace, run a SAS program, and retrieve the results. In that example, the only results I retrieved were...

View Article

SCVMM PowerShell module trick: Skip the management tool install

With PowerShell Remoting, you can now use VMM cmdlets to remotely manage SCVMM from any computer, without installing the SCVMM management tools. This can be a huge time saver for admins or consultants...

View Article


Annual Review of Documents Using PowerShell in SharePoint

In your SharePoint travels you may come across a requirement to have users review documents based on a timeframe.  For instance, the requirement may say something like:Read More

View Article

Geek School: Learn How to Extend PowerShell

PowerShell offers two ways for you to extend the shell. You can either use snapins, which are binary only and developed in a fully-fledged programming language like C#, or you can use modules, which...

View Article

Getting full path for remote shares

I'm having a bit of difficulty with this and don't want to have to resort to dumping to excel and filling in the "\"s. or using ShareEnum and dumping the whole network.I can get a list...

View Article


Executing a command with a switch on a remote machine

Good morning everyone,Let me start by saying thank you for all the advice!  Good and bad, we noobs learn from both.  Please forgive me if this has already been addressed a thousand times.Here is my...

View Article


Selecting everything after a colon on a string

 I have a text file of the form. SERVER_NAME:  blahSERVER_NAME:  halbSERVER_NAME:  harryI'm trying to strip off all the 'SERVER_NAME: " in the text file.  Any clues? 

View Article

In Residence Courses?

If a person wanted to go to any in residence powershell courses, are there any you would recomend?

View Article

Geek School: Learning PowerShell Variables, Input and Output

As we move away from simply running commands and move into writing full blown scripts, you will need a temporary place to store data. This is where variables come in.Read More

View Article

Geek School: Learn to Use Remoting in PowerShell

One of the best features PowerShell offers is the ability to remotely manage your Servers. It even lets you manage a bunch of them at once as well.Read More

View Article


Get the Active Power Plan of Multiple Servers with PowerShell

It is a widely known and discussed performance hit when you don’t have an optimal power plan set on your database servers.  This is one of those easy ways to get great gains by simply flicking a...

View Article

MMS 2013: Leveraging PowerShell 3.0 CIM Cmdlets and the iDRAC/Lifecycle...

IntroductionThis week at the 2013 Microsoft Management Summit in Las Vegas we’re demonstrating system management features that improve datacenter efficiencies and platform management with Windows...

View Article


Building a VM in Windows Azure using PowerShell in a few quick steps

Hello folks, its Rick here. In a previous post Michael gave you nice overview of Windows Azure Services and helped you setup your own VMs in cloud using the free trial thru the Azure portal. Today I...

View Article

How can I get my powershell script to terminate with a failure code without...

I'm trying to get my powershell script to exit with a fail status, but I want to suppress the write-error output.  Can somebody help me terminate my script without this message? Thanks

View Article


ByPass UAC on Windows 7 from PowerCLI

Hi All,I just tested my script where I'm changing an IP from a dev system to a target system. I kept getting the following error: Set-VMGuestNetworkInterface "Error occured while configuring the...

View Article

How can I transfer a file via POST and Powershell?

HelloI have to upload a file via POST (HTTP) to a webserver and download it via Powershell.The Download with the command "System.Net.WebClient" works great, but I don't know how I can implement the...

View Article

Extracting Cisco hardware data from Rancid

Hi all,I have extracted data from RANCID using egrep across the CVS to provide information on the device FDQN, Chassis Type, Serial No and the part number and serial numbers of any cards or slots...

View Article
Browsing all 8583 articles
Browse latest View live