Quantcast
Channel: PowerShell General
Browsing all 10624 articles
Browse latest View live

Shortcut Properties

I found this code on this site and it works. $shell = New-Object -ComObject WScript.Shell$Location = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs"$shortcut =...

View Article


Adding PowerShell Script to Primalform

I am trying to add a PowerShell script into a PrimalForm GUI and seem to be having difficulty getting it work. The script allows you to update Active Directory description on multiple machines listed...

View Article


show pop up message during script running

Is possible to show pop up message during script running without buttons?For example:1. scheduler run script2. current logged user get pop up information: "backup in progress do not turn off your...

View Article

cant get expected output.. any suggestions?

$computers=get-content"C:\scripts\class-lists\Test-Lab-Computers.txt"foreach ($computerin$computers){invoke-command-computer$pc-scriptblock {get-item c:\drc882c.log | format-table-property @{...

View Article

Deploying System Center Using the PowerShell Deployment Toolkit

What's in a name? With the name "PowerShell Deployment Toolkit," (PDT) one would be forgiven for assuming that this utility is some silly script created to assist those of us who are still living with...

View Article


Powershell Deployment Toolkit: Introducing Variables.XML

Following our previous post on how to use PowerShell Deployment Toolkit to deploy System Center, your PDT share is now in place and we can begin to leverage this great tool to help is quickly deploy...

View Article

Announcing PowerShell Information Server (PSIS)

Johan Akerstrom – PowerShell expert from Sweden – released a PowerShell module that can be used to start a PowerShell-based web server. He preferred to call it a PowerShell Information Server (PSIS)....

View Article

Leveraging PowerShell to seize control of a heterogeneous data center

Don't fight the trend of other virtualization platforms creeping into your data center. Businesses often need to lower costs or find alternatives, challenging IT pros to become just as heterogeneous in...

View Article


Powershell in a Month Day 15 – Jobs

This is part of my Powershell Challenge, to learn more about PowerShell (PoSh) using the Learn Windows Powershell 3 in a Month of Lunches book by Don Jones.Read More

View Article


Retrieving Status Through PowerShell's Graphical Windows Form

Prof. PowerShell is back with another alternative for displaying status messages in PowerShell.Read More 

View Article

#PSTip How to enable Web Deploy automatic backups using PowerShell

Web Deploy v3 introduced an automatic server-side backup feature for IIS 7 and above. When automatic backups are configured on the server and a user publishes to his site using Web Deploy, it will...

View Article

Another important milestone! PowerShell Magazine has published 500 posts!

You are reading the 500th post on PowerShell Magazine. Wow, what a journey! We had our share of ups and downs but kept this going for a good reason. And, that reason is you–the PowerShell community....

View Article

The Differences Between Running PowerShell in Normal Mode Versus...

If you're confused about which mode to run PowerShell in, there are some distinct differences and reasons why you would want to run one mode versus the other.Read More

View Article


6 Powerful PowerShell Tools and Utilities

Microsoft's PowerShell is a powerful command-line interface (CLI) and scripting language. However, it helps to have some GUI-based tools and utilities to make using PowerShell a bit easier.Read More

View Article

I'm Into That: Automation Tasks in PowerShell

It's easy to get confused when testing whether something is "in" something else or "contains" something else. Prof. PowerShell is here to clear some of the confusion.Read More

View Article


PowerShell for the Forgetful: The Tab Key

I use the Tab key quite a bit within the PowerShell command window, particularly with the "Get" cmdlet. I was using it the other day and someone looking over my shoulder wondered what the heck I was...

View Article

Powershell in a Month Day 18–Variables

I’m slightly behind here after holidays and some travel. Apparently my pop-up reminder for my own studies bears about as much value as quite a few other reminders that appear from people at work.I’ve...

View Article


How to add source IP address in this test-connection script ?

Hi everyone,Can anyone help me to modify this script to show the source IP address ?because at the moment it is only showing the target IP address and hostname.Test-Connection server1,server2, mail...

View Article

PowerShell Tip: Never Leave the Console for OS Commands

Here's something you may not be aware of. Did you know that the majority of OS commands can be run directly from within the PowerShell window?Read More

View Article

Hate to say it, but Powershell is cool!

There was Powershell. At first, I didnt quite understand its potential, and role in the Microsoft product suite. Then came the ‘not-quite-headless’ windows server. (I was like: oooh, It looks like...

View Article
Browsing all 10624 articles
Browse latest View live