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

Archive Fies older than X days.

HelloI have been using the script that Marc Johnson provided on Powershell.com. I have an issue when the script complets the first time everything runs ok and the files get moved to the archive...

View Article


whats the best way to clean up or remove the server names?

HelloI am writing a script to audit and clean up our print scripts. The script will will get all of the printers out of text files in a network share. The design should get all unique printers mapped...

View Article


Bi-Directional Communication option of the Xerox Printers

How can i disable the di-directional communication option of the Multifunctional Xerox Printers.I wrote this Powershell script, but it doesn't work for Xerox Printers#_$PrintServers = @("PRT01",...

View Article

Determine OS Architecture and run application

I have a program I want to copy to a number of computers, but first I want powershell to determine OS Architecture, and copy over the appropriate program for that OS before execution. I just have this...

View Article

Controlling PowerPoint with PowerShell

I have been set a challenge:Find a way to synchronise PowerPoint on several machines running the same presentation. The reason for this is that we want to run some presentations over a 10Mbps WAN. The...

View Article


ConsoleHelper.psm1

Some helper functions for getting/setting the output buffer and command history size in PowerShell.exe native.Read More

View Article

Need help in Object.

Hi All,I need help in running the code which will get the ping status. Now requirement is i have textbox which will take user input of multiple machine name and i need to display in one out...

View Article

Automated Permissions Auditing With Powershell and T-SQL: Part 2

In Part 1 of this series, I presented a T-SQL query that will return a summary of login permissions within a SQL 2005/2008 database. I also mentioned that SQL 2000 requires a slightly different...

View Article


Prodding the innards of SharePoint classification with a PowerShell stick

Ever wondered why classification via SharePoint doesn’t return the tags that you expect but been unable to find out why? No? Guess it’s just me then. Well in that case, I’m writing this post so that I...

View Article


#PSTip Clear clipboard content

Have you ever wondered how to clear the contents of the clipboard? There are certainly many ways to do that in PowerShell. Let us see a couple of them.Read More

View Article

Windows PowerShell Examples for Content Management

Overview This article covers some basic content management usage scenarios using Windows PowerShell for System Center 2012 R2 Configuration Manager. Included are examples on how to create a site system...

View Article

How to disable Direct Access via Powershell

In order to disable Direct Access on Windows 8.1, you can run the following powershell script (as administrator)Read More

View Article

install MSI application on a remote machine

Hello experts,I am trying to install an MSI application on a remote server from my system. I have got all the necessary access rights to that box. I am running the below command to install this on...

View Article


Manage Windows Azure AD using Windows PowerShell

Well I am a huge fan of Microsoft Office 365 and we are not only using this in our company, I am also using Office 365 for my mothers restaurant. It helps us organzise stuff very easily and allows us...

View Article

Time out for Splash Screen

I have created a  splash screen for the GUI I am working on and I cannot get the Splash Screen to disappear after 3 seconds.Here is the code:<#Program:Personal Information Manager...

View Article


Registry find and change

I have been tasked lately with changing some registry entries found by security scans.  The scan finds that services are missing quotes in the image path and this is for some reason not secure. The key...

View Article

Copy SCCM 2007 Programs with PowerShell

Often times I find myself wanting to create almost identical programs for packages with maybe a slight change here or there.  Example:  I have a package that installs an application where I want one...

View Article


Windows PowerShell Examples for Content Management

This article covers some basic content management usage scenarios using Windows PowerShell for System Center 2012 R2 Configuration Manager.  Included are examples on how to create a site system and...

View Article

Automated Permissions Auditing With Powershell and T-SQL: Part 3

In this episode, I’m going to start introducing some of the Powershell elements that tie this audit process together.Read More

View Article

Get PowerShell Version with WMI

With the release of PowerShell 4.0, it is possible you might end up with a mix of systems in your environment. I know I do because I do a lot of writing, testing and development that requires multiple...

View Article
Browsing all 8583 articles
Browse latest View live