Quantcast
Channel: PowerShell
Browsing all 15370 articles
Browse latest View live

Command list for Powershell Form building? (GUI)

I am trying to build forms in powershell, but I am having the hardest time finding a list of usable commands.Could someone point me to a good site where I could explore different types of objects and...

View Article


Condense a Powershell elseif statement.

So on a powershell script I wrote, I have a 34 line else if statement. Multiple else if's for applying a security group. Is there a way I could condense that down to just a few lines? I was thinking...

View Article


Getting my feet wet with Powershell

I was asked to take a list of usernames, and for the ones that have disabled in the second column, check with the AD to make sure they are indeed disabled. I'm so excited to have been asked to do this,...

View Article

Odd behavior with Powershell Copy-Item (Working in Windows 8 but not Windows 7

I've come across an interesting issue. This script works fine on a Windows 8 machine but running the same script in Windows 7 returns all my paths with Null values.Any ideas would be appreciative....

View Article

Image may be NSFW.
Clik here to view.

Introduction to PowerShell hash tables

In PowerShell, a hash table is just a (non-indexed) two-column list of names and values. You define them as name/value pairs in a string surrounded by @{ and }. A tutorial at WindowsITPro provides all...

View Article


Using Powershell and WMI to copy files based on computer name

Okay, here goes. I've got some experience with Powershell and scripting, but this is pretty much beyond my current abilities at the moment. Problem is, I still have to come up with a solution by the...

View Article

Score!

YES! so I was looking into a new project I am working on.In IPTV we have a local channel for the island that we live on where customers can submit videos and we throw it into the line-up and people can...

View Article

Powershell to move files

Hi, I am trying to find the right powershell command to move files off our live server to an archive server. I am looking to move files that haven't been accessed in the last 24 months.I have been...

View Article


Background Job stuck when using remote New-PSDrive

Hello,I've a little Powershell script, it creates New Background Job, who contains New-PsDrive and...

View Article


Powershell arrays

I'm trying to get this script up and running so one of our users can remotely reboot some render nodes. I've been working through Powershell in a Month of Lunches, and have come up with the...

View Article

Finding date difference and save as CSV

HiI need a help in updating a CSV. I have tried my hands and partially got succeed. My aim is to get the difference between current date and assigned date and create a new column, save the result and...

View Article

The Shell vs. the Host, PowerShell vs. Windows

Great article published from PowerShell.org from Don Jones (co-author of Learning PowerShell in a Month of Lunches). I think might help clear some confusion about what PowerShell is, and isn't!The...

View Article

common security groups

Hello,Anyone know of a script that would find help find a common group from a list of users?Thanks

View Article


VBS to PowerShell

I am looking for your help to write the below block of the VBS code in PowerShell in an efficient way using the power of PowerShell Set objTS = objFSO.OpenTextFile(strInputCSVFile, ForReading) Do Until...

View Article

Importing Bulk Printers With Powershell

I've been racking my brain since yesterday on bulk importing about 100 printers. I did a print server migration of 300+ printers and never again that just sucks. Using printbrm and modifying isn't very...

View Article


What was your PowerShell project this week? 9/19/2014

Can you believe another week has gone by already?  What's your PowerShell story?

View Article

Getting error when generating mailbox permissions report using powershell

Hi,I am trying to get a report of who has access to which mailbox in my organisation but it is returning an...

View Article


Spliting PowerShell variables

I'm writing a rather complex (for my skill level) script and I want to run a foreach against a variable that contains several install strings listed in it. One Global variable would have all the needed...

View Article

get avg min values hourly

Below is the data that I have in my text file right now. As mentioned above I need to get the log entries hourly and then perform avg, min and max values for the elapsed time at the end and display it...

View Article

PowerShell Version Control

What is everyone using for version\source control? I've never really needed this before, but I can see some real benefit with the project I'm working on. The code is about 900 lines right now and I...

View Article
Browsing all 15370 articles
Browse latest View live


Latest Images

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