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

Code to share folder to everyone with full rights.

Please someone let me know PowerShell code to share folder to everyone with full rights, so that anyone can access that folder from network path.    Manually what I preper to do is add 'everyone' in...

View Article


modifying mapirecipient with powershell

I would like to set the mapirecipient field from $True to $False for a contacts in Active Directory ( These are contacts and are not mail enabled) by loading the Exchange shell I can get the...

View Article


2.3.2.1 Production

Release 2.3.2.1 implements SQLPSX as PowersShell version 2.0 modules. SQLPSX consists of 13 modules with 163 advanced functions, 2 cmdlets and 7 scripts for working with ADO.NET, SMO, Agent, RMO, SSIS,...

View Article

PowerShell DSC Security Context

One of the first challenges I ran into with PowerShell Desired State Configuration (DSC) custom resources was the security context in which the custom resources were running (System).  The custom...

View Article

Managing custom configuration using property bags and PowerShell (SP 2010/2013)

This script helps you to automate the process of storing custom SharePoint configuration in the property bags instead of web.config.Read More

View Article


Basic PowerShell Cmdlets for ConfigMgr 2012 (SCCM 2012)

Native PowerShell support for ConfigMgr 2012 was introduced with SP1. Microsoft have published a Configuration Manager Cmdlet Reference in the Technet Library. Read More

View Article

SPRoutingMachineInfoPipeBind constructor

Initializes a new [SPRoutingMachineInfoPipeBind] object from the specified [SPRoutingMachineInfo] objectRead More

View Article

SPServiceApplicationProxyPipeBind.Read method

Retrieves the c that corresponds to the parameters that were passed to the current SPServiceApplicationProxyPipeBind object when it was constructed.Read More

View Article


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
Browsing all 8583 articles
Browse latest View live