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

EMC XtremIO and PowerShell

I have had the opportunity to work with XtremIO quite a bit lately. One of the benefits of working for an EMC partner is lab gearJ. XtremIO hast a REST based API and I wondered what others in the...

View Article


Add Users to Web Application Policy Using Powershell in SharePoint

Consider a scenario where you need to add users to the user policy for multiple web applications in multiple Farms. PowerShell is useful for that. In this article I will outline how to add users or...

View Article


PowerShell Script to Create Publishing Page using Custom PageLayout in...

In this blog we will about create a custom page in SharePoint 2013 using PowerShell method. We need to create many pages based on a Custom Page Layout in our Site Collection for our development...

View Article

Tool to manage DNS zones integrated to an Active Directory (Powershell)

Through a friendly interface, this tool allows your DNS Administrators to manage their DNS zones without having to do a lot of manual tasks.The script allows you to work with authorized ranges where...

View Article

HOW TO HANDLE WINDOW?

HAY PEOPLE,I AM DEVELOPING WINDOWS FOR MY APPLICATIONS.I AM USING WINDOWS POWER SHELL, NET FRAME WORK, AND WINDOWS PRESENTATION FOUNDATION TO DO THIS.AND I AM USING SYSTEM.WINDOWS.WINDOW CLASS FOR...

View Article


How to supress the stdin?

Redirect to NULL? I have read about this (not quite sure), but can not remember where.I want to read entered key, but suppress key input at allExample: foreach ($i in 1,2,3,4,5,6,7) { $i if...

View Article

LDAP Query using ADSI

All the new user accounts created in Active Directory are kept as disabled and the option "user must change password on next login" is ticked. This accounts will remain as disabled for 7 days and in...

View Article

Monitor print queue status Windows 7

Hi All,I was wondering if there was a way to get the status of a remote printer using a powershell script, in Windows 7.  Any assistance would be appreciated!Thank you!Larry

View Article


Powershell : Server's remote inventory

Create a inventory of servers remotely in powershell.Read More

View Article


Windows 10 How to Add Remove Applications to System Startup List Using...

In windows 10, we can’t use “MSCONFIG” to disable or enable the system startup programs/applications.Read More 

View Article

Automating DCOM ACL with PowerShell

Sometimes you need to set explicit permissions on DCOM objects. You can do this using dcomcnfg.exe. With dcomcnfg.exe you can set permissions on all DCOM objects on a computer.Read More

View Article

Use PowerShell to Create a Linux VM in Azure

The goal in this blog article is to build a CentOS based OpenLogic 7.0 VM in Azure except using PowerShell instead using the Azure portal website (GUI):Read More

View Article

Creating a ConfigMgr SUG for Multi-Reboot Patches with Powershell

The script I had been working on originally created the SUG using a text file with the individual updates listed (it was initially designed for general use in creating a SUG from any list of KB...

View Article


Convert Bat to PS Script

Hi All,I have a GPO to uninstall/install application. Uninstall is PS script and set in GPO to run first. Then following bat file to install the app. but I want to convert this to PS Script with...

View Article

Help with a line of code

I got this snippet of code from another script that someone had written.  I have a script that emails managers of users who have not logged on recently to ask where they are and I wanted to put the...

View Article


PowerShell management Library for Hyper-V

I just bought a new laptop so I can setup Hyper-V and start to setup virtual machines so I can learn more PowerShell.  I am just about finished with the boot, "PowerShell and WMI" by Siddaway.  In...

View Article

PSWA and Exchange

Hi!I have just installed Powershell Web Access on a separate Windows 2012R2 server and would like to connect further in to my Exchange 2013 servers to run Exchange commands, like get-mailbox. Any...

View Article


Sorting an array fails

I have been trying to sort this array that I populate in run-time but it doesn't seem to sort.What am I doing wrong here? Help please!! foreach($k in $c){ if($k.SideIndicator -eq "=>") {...

View Article

Reading and piping out result.

hi all,(DECLAIMER I only been playing with powershell for a week now.)I have hit a wall in trying to figure out why this is not working, any help is greatly appreciated.what I am trying to do is read a...

View Article

Controlling System Restore with PowerShell

Create new restore points, kick off a rollback, and see existing restore points with just a few cmdletsRead More

View Article
Browsing all 6937 articles
Browse latest View live