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

PowerShell Past and Future with Lee Holmes

PodcastRead More

View Article


renaming multiple folders not successful

Helloin my server, in C:\RootFolder  i have many folders which their names are:f1, f2, f3,....(as shown, their name starts from digit 1 )for some reasons, i need an script so that system renames all...

View Article


Question regarding variable

I'm parsing a list of machines to get a list of profiles, and a list of admin shares.If I check individually, it works.  If I call the functions I created, in the same pass, only the first returns...

View Article

Checking .Net Framework configuration

Many of my previous posts are related to things we are required to do from an Information Assurance compliancy standpoint.  This is yet another, and is somewhat a follow-on to my last post. What I'm...

View Article

How To Do Math Using PowerShell, Part 1

Most of the PowerShell scripts that I have seen over the years are relatively straightforward. They tend to use a sequence of cmdlets and various operators and parameters. However, a script consisting...

View Article


Automate the Creation of Scheduled PowerShell Scripts Here's how to set it...

Have you ever needed to schedule a PowerShell script? While you may not need to execute the script right away, you may have a process that must be done daily, monthly or somewhere in between. Common...

View Article

3 Easy Steps To Configuring Azure With Powershell

Recently, I had to automate some tasks in Azure. This is the easiest way I could get started. Before we begin, ensure that you have a administrative powershell window and have set the execution policy...

View Article

Use SharePoint Online Powershell to Manage External Users

Let’s face it, sharing content with outside users, clients, customers or vendors is often an important part of business. After all, the information needs to get around so everyone's up to speed. As...

View Article


PowerShell: Add Unique IDs to Your Objects

If you’re developing interactive PowerShell scripts, that frequently prompt for user input, it is often desirable to uniquely identify objects. Enabling the end user to select the object that they wish...

View Article


Announcing Full PowerShell Cmdlet Support for Azure Automation

You asked, and we answered! This week marks the release of the latest version of the Azure PowerShell module, and along with it 23 new PowerShell cmdlets for managing Azure Automation, locally in the...

View Article

Delete virtual machines on Hyper-V server with Powershell

PowerShell script to delete virtual machines that are on Hyper-V server.I developed this scrip when I got tired of having to manualy delete the machines every time I want to start over with a new...

View Article

Powershell Quick Parameters for Scripts

I was working on a script recently to manage a particular process and wanted to make it generic by allowing the user to pass in a parameter. I have seen lots of examples, especially those that work...

View Article

Server/ DC Uptime using Powershell Script

Hi I got below script from technet link (https://technet.microsoft.com/en-us/magazine/2008.12.heyscriptingguy.aspx) for server/DCs UPtime in percentage form. I am trying to run it for multiplese domain...

View Article


use power shell to delete user's home folder

So we have a big list of users that are Disabled ( not locked out )and we exported the into a txt file stored as:Account type in the exported file is like: Firstname.Surname@domain.ltd.grpHome folder...

View Article

Shared Drive Document Search

Hello Guys, Is there a script to search the Windows shares to check if there is any files with the below format*CV*.doc*CV*.pdf*resume*.doc*resume*.pdf and also give the path to the files with created...

View Article


research active directory script

I have a text file with Serial number of Computers.In the active Directory, all computers have Serial number in the name.I research a script that find all the computer with the serial number in the...

View Article

Powershell Get Group Membership with lastlogon date

I am trying to create a powershell script that will allow me to get the details of a security group and also show me the last login date for a user that is the member of that group.This is what i have...

View Article


ok, here's a toughy... for me anyways.

i have a trading platform called NinjaTrader.i am able to download historical data for virtual trading.only thing is i have to download each day separately.a few years back when Posh 1-2 where out i...

View Article

DSC Local Configuration Manager Refresh Modes in WMF 5.0

In the WMF 5.0 Preview February release, a new DSC RefreshMode setting is added to the LCM meta-configuration. If you have worked with first release of DSC or any of the earlier WMF 5.0 Previews, you...

View Article

Start Dynamics NAV Windows Client (RTC) from PowerShell

After my sessions during “conference season”, I promised to blog about my scripts. I decided to do this on small pieces of scripts .. and this one is so useful, though I only realised it was useful...

View Article
Browsing all 6937 articles
Browse latest View live