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

SharePoint; PowerShell; site collection size

Let’s say we have to display SharePoint site collection size using PowerShell. We can easily use Client Object Model and PowerShell to accomplish that. Let’s do it step by step: Read More

View Article


SP2013 ActiveDirectoryImport Property Mapping through PowerShell

When I first heard of the new option in SharePoint 2013 for importing user properties directly from Active Directory, without using FIM (Forefront Identity Manager), I was quite happy. There happened...

View Article


Saving Passwords (and preventing other processes from decrypting them)

This question is nothing new: “How do I save credentials in PowerShell so I don’t have to enter a password every time the script runs?” An answer to that question has been in PowerShell for a very long...

View Article

PowerShell: Get-ADUser to retrieve password last set and expiry information

In this post we’ll look retrieving password information to find out when a user last changed their password and if it is set to never expire.Read More

View Article

OpsMgr PowerShell script to reset all unit monitors

Issue:Looking for PS script to reset all unit monitors (similar as GreenMachine utility for SCOM 2007)Read More

View Article


Need script to run for each site then create site report then email to site...

All I'm currently having issues with combining multiple scripts into one. What I need is to run my script against each site ou then create the site specific csv file by site name then email it to the...

View Article

Download 180 different print drivers 32/64 bit to single directory

I have a task go go out and download 178 printer drivers from various companies both 32 and 64 bit for deployment to a new print server. I have a spreadsheet with the specific models.Rather than start...

View Article

can you convert objects? System.Object to SMO

Hi all, trying to play around with a restore script to pull out random full backup file and then restore it. im having issues with the -relocatefile in "restore-sqldatabase", ive got the answers i need...

View Article


Windows Management Framework and PowerShell 3.0

Windows Management Framework 3.0 makes some updated management functionality available to be installed on Windows 7 SP1, Windows Server 2008 R2 SP1 & Windows Server 2008 SP2. Windows Management...

View Article


SQL Server: Using Powershell to Move Logins between Instances

Moving logins between instances is one of the critical migration activities. Let’s see how it can be done in powershell with the help of SMO.When transferring logins, two things need to be looked...

View Article

Review Database File Properties with PowerShell

One of the things a database administrator needs to keep track of is the usage of the file systems where the database files are kept. One of the features of the Windows operating system is the...

View Article

Developing Powershell scripts with Notepad++

Not sure how many are using Notepad++ for developing Powershell, but I am using Notepad++ every time I develop. Being Powershell developer, it helps alot due to following reasons: Read More

View Article

Managing VMware with CIM and PowerShell

In PowerShell 3.0, Microsoft introduced the Common Information Model (CIM) cmdlets as a way of working with WMI information. The advantage was that instead of connecting to WMI over RPC and DCOM, which...

View Article


PowerShell Cmdlets availabe for Microsoft Dynamics CRM

Need to identify the various PowerShell Cmdlets available for Dynamics CRM ?Read More

View Article

Change Header Names in Export-CSV Script

Good afternoon, we have a script that runs at x period of time. Its job is to get a set of data from a SQL server then output that data into a csv file for distribution.The script is full operational...

View Article


onjects and methods

I am trying to move an email object from one variable to another.The first is $todays_email_msg.item($TodaysItemCounter)and when I type this in I get the email that I expected.The second is...

View Article

Extracting Data from XML

It has been a long time since I have posted here, but I'm stuck on a powershell/xml question.I've written a powershell script that reads in a lot of data from some cmdlets and generates an XML...

View Article


RDP and Network configuration verify script..

I have two script and i am trying to compile it to one. But while compiling these two i am not getting the expected output.   Remote network status verification  [cmdletbinding()]param (...

View Article

Updating AD user information with Powershell

Ok I am very new to this. I have been watching videos and reading through various forums to learn what little powershell I currently know. Any help with this is greatly appreciated.I currently have to...

View Article

PowerShell to cleanup expired "Client Operations" tasks

Deleting old, unused Client Operations tasks in the Configuration Manager 2012 Console is a pain because you cannot delete multiple items; you have to delete one by one....The following PowerShell...

View Article
Browsing all 6937 articles
Browse latest View live