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

Powershell - check all groups in AD that do not have a "manager" assigned.

HI Guys, I am new to powershell and learning as i go along, for the meantime i require help with the following script, I am sure this is fairly easy for most of you all but would appreciate the...

View Article


SharePoint (2010) Farm Backup

Version 2.3 Changelog Read More

View Article


PowerShell Web Access: Testing

We're back with our in-depth, multi-part look at PowerShell Web Access (PSWA). In the first article I showed how to install PowerShell Web Access remotely on a new web server from a Windows 8 client...

View Article

Monthly Update to Public Folder Contact List

I have a task that I have to start doing once a month to update a list of contacts to a public folder.  A former co-worker has done this for our company in the past and I have inherited this duty and...

View Article

New User Creation Script Help

Team, I need you help hopefull this is an easy one iam trying to create a single user account with script that uses input. Every time i run the script i am recieving an error for new-qaduser cmdlet see...

View Article


Computer inventory script

Greetings everyone,I've hacked together a script to get some basic computer info using wmi. The below script works, the problem I have is getting the IP address info. I don't get any error just don't...

View Article

slow script

Hello experts I spent some time constructing the below script to retrieve BIOS data from remote computers.however, the script seems to run for a very long time, I mean hours...While it runs, the excell...

View Article

How to Clear Printing Subsystem (PowerShell)

This script will demo how to identify services using a particular user account in PowerShell. Read More 

View Article


Open defined functions in the PowerShell ISE

This function will open the content of one or more functions in a new PowerShell ISE tab.Read More

View Article


Windows PowerShell 3.0 language specification available for download

Microsoft released Windows PowerShell 3.0 Language specification to the public. This is a 334 pages of documentation and has tons of information on how the language is implemented. This specification...

View Article

Using Powershell to clean up folder

Hi I am trying to create a powershell script that will look at a specific folder and remove folders whose names are "older that 31 days". Here is the catch - I want to delete them based on their folder...

View Article

Extracting number fields read from a CSV file

We have created a script that gets each users mailbox size than send an email to user over a certain size.  I am trying to pull just the number out but with no luck so far.Examples:  878 MB...

View Article

Creating Custom Objects in different parts of the script

So, I have a script that i'm working on that I want to create custom objects based on results of part of the script for example..  I have a list of servers, lets say 10 servers$servers = gc...

View Article


Issues with the Contains Method of System.String

I am writing a tool that requires me to categorize text files based on the values supplied at a given portion of the file. Specifically, on line 26 of the file there is a statement such...

View Article

Create User & Mailbox

Hello Gurus I have a win2008 R2 domain controller. I also have another member server which has Exchange 2010. I have to create 124 Users in 1 specific OU with their mailboxes in Exchange 2010. I need...

View Article


using Quest CMDlets to return all groups that contain disabled users

Hi all, i have a new question :)i wish to return all the groups in a domain that have disabled members. I've looked at doing this via Get-Qadgroup | Get-Qadgroupmember but i couldn't get it to work. So...

View Article

Using test-path for Large folder enumeration over RDP

How can we measure the time taken by explorer to enumerate large folders (say 50k sub folders) using powershell ? I have tried test-path as below:$Time1 = Get-Date -DisplayHint Time$TestPath =...

View Article


Monitor folder for creation of directories

I am wanting to create a powershell script to monitor a particular directory for creation of directories then list these in a log file.How can I do thisVery new to powershell

View Article

Converted ps1 script to exe using Make-Ps1ExeWrapperWithArgs.ps1 by Keith Hill

I converted my powershell script to exe using the Make-Ps1ExeWrapperWithArgs.ps1 script by Keith Hill.  My script is a complete GUI interface and so I do not need the powershell console window sitting...

View Article

PowerShell 3's PSDrive Persistence

One of the frustrations for many PowerShell beginners is how PSDrives correlate to drives that are visible in Windows Explorer. In PowerShell 2, you could add a new PSDrive, say to a network share, but...

View Article
Browsing all 8583 articles
Browse latest View live