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

How to delete a character ?

Hi all, I know how to delete a character but I try first to understand why it's appearing in order to decide the way to delete it. I do not catch it yet. Here is the problem:I create a file with some...

View Article


Assistance with remoting

Our normal users are not allowed to install fonts on their win 7 pc's.Is there a way I can remotely grant this ability using powershell  remoting ?

View Article


Need to do a multi-key sort on a legacy text file that has no delimiters

I need to do a multi-key sort on a legacy text file that has no delimiters. This is a relatively simple task on Unix but the Windows Command Shell cannot sort based on multiple keys - for example -...

View Article

#PSTip How to identify “memory limited” servers using PowerShell

Yesterday, I got a call from one of our BI managers. Listen, he says, I suspect that one of my BI servers is working too hard. It’s a physical server with 64GB of RAM and I think it doesn’t utilize all...

View Article

PowerShell is King–Use PowerShell to find out the file information in a file...

This morning I was scheduled to install some software, one part of HP Service Pack was not installed, so I made the decision to just install that component, rather then re-running that Service Pack...

View Article


Running Javascript inside PowerShell with PowerShellJS

Some time ago I started a project to host a JavaScript engine within PowerShell. I initially called it PowerChakra because, well the engine was IE’s Chakra engine, however I’ve renamed it PowerShellJS...

View Article

From PowerShell One-Liner to Script

You’re pretty far along in using PowerShell as a great timesaving tool with one-liners like this one from last month:Read More

View Article

Tips for Connecting to Office 365 using PowerShell in Hybrid Environments

The Office 365 portal and Exchange Admin Console are fairly powerful to allow you to manage your tenant and on-premises environments. But as you are no doubt aware, there are many administrative tasks...

View Article


Adding reference to PowerShell dll in Visual Studio

Just another quick tip today. I wanted to create a Runspace to run some PowerShell code from C#. When I launched Visual Studio, and tried ...Read More

View Article


help with this script

i want a script to capture the current CPU usage for every process above 0 CPU usage.i create this script but i see that the script doesn't report a right CPU usage like task manager show because it...

View Article

Media File Thumbnail

Hi all,I'm hoping someone out there can help me with pulling out the cover art or Windows thumbnails for a video file. I'm using Powershell 3.I have a library of my ripped DVDs and Blu-rays on my...

View Article

Use PowerShell to Send Email

Q: Can I send an email from PowerShell?A: Provided you have an available SMTP server, you can easily send email from PowerShell. Use the following simple command:Read More

View Article

Lock down configuration drift with an automation deployment strategy

Administering servers, both on-premises and in the cloud, is a tall order. It requires hundreds of deployments as well as constant monitoring to see if someone has added or removed unintended software...

View Article


Introducing DayBreak. A Chinese language “DSL” on top of PowerShell

One thing early on I liked about PowerShell was that you could quite easily use it to create your own language structures because of its flexibility, often in just a few lines of code.Read More

View Article

Search for PowerShell Script Samples Directly in the Windows PowerShell ISE

The majority of PowerShell administrators like to use the simple command window to write and execute PowerShell scripts. But, a new download from Microsoft makes the PowerShell ISE a bit more valuable...

View Article


How to call a PS script from a batch script but suppress PS Window and...

I have two requirements:1. Call a PS script from a batch script but PS Window could be suppressed or appear and disappear2. The Batch Script needs to evaluate the Exit code from PS before...

View Article

Script Browser for Windows PowerShell ISE

Microsoft has released a new ISE add-on, developed by Microsoft Customer Services & Support (CSS) team,  that enables you to easily search and download scripts from  the  TechNet Script Center,...

View Article


ConfigMgr2012 PowerShell Module v1 Released!!!

Today I’d like to announce the v1 release of my own custom PowerShell Module for use with ConfigMgr 2012 R2.  This module was developed over the course of the last year (as I’ve had time) to address...

View Article

7 reasons why you should learn PowerShell

As a technical college teacher I’m always changing up our program to give my students the best chance of landing good IT jobs. Because of this, I have been pushing PowerShell  as a must-have skill for...

View Article

Help Make Script better

Hello Experts,I have written a script to stop anti-virus service on few servers.  Everything's working as expected.  I wanted to get your guy's input on how I can make this script better or if there...

View Article
Browsing all 8411 articles
Browse latest View live