Quantcast
Channel: PowerShell
Browsing all 15370 articles
Browse latest View live

Moving files up one level

There is a free app, LevelZap (https://levelzap.codeplex.com/) that moves files up a level. I have a bunch of mp3 files I want to move and for the life of me cannot figure out an easy way to do this....

View Article


Getting DNS Forwarder info for multiple DNS servers

Hello,Does anyone have a powershell script that uses Get-DNSServerForwarder and queries the current DNS forwarder IP's of each DNS server in the domain?I am able to get the info one at a time...

View Article


Change DNS setting on static IP machine - Windows 7 Pro

I need to change the dns setting on about 30 computers.  I have tried all kinds of ps commands.Sick of searching on the google machine and want to get this done over the weekend.  Anyone have an easy...

View Article

Another way to Multithread in PowerShell

If you've ever tried to do multithreading in PowerShell, you know how easy the built in PS Jobs are to use.  Submit a job, wait for it in the background and the retrieve the data out of it.  VERY cool...

View Article

managing windows 8 environment variables with PS

How can I remove (persistently) a value from the PATH variable?And how can I add one value (persistently) to the PATH variable?thanks

View Article


New user powershell

Hi guys, At my work we frequently get new people coming and going so often have to set people up with permissions to our systems. What I'd like to do is come up with a Powershell scipt that asks for me...

View Article

PS Script to Join Domain/Enable Bitlocker/Backup key, not working

I have a PowerShell script that I wrote that checks if the computer is on our network, signs into the VPN if needed, joins the domain and puts the computer in a specified OU, enabled BitLocker on the...

View Article

Overambitious script! Out of my depth now!

Hi, AllI was asked for something that should, in theory, be a relatively simple script.Instructions were:I need an output from AD, into an Excel Spreadsheet.This needs to be of the format:...

View Article


Listing Computer Names As A Variable

Arg!So I’m a PowerShell n00b, I know that. I’m a little over half way through reading PowerShell In Month of Lunches, and the current chapter (18) is discussing variables. Wicked cool, but I’m at a...

View Article


Grab All Computers in OU

I have been trying to grab and list all of the computers in an OU and need some help. I'm not sure if I just have my ordering wrong or not. Getting towards the end of the day so I'm asking for a little...

View Article

Windows Update Module for PowerShell Access Denied on Remote PC in Workgroup

Hi All,I'm getting an Access Denied error when I run certain commandlets from the Windows Update PowerShell ModuleWindows Update PowerShell Module:...

View Article

Invoke PowerShell on remote machine?

Guys, what do you use to invoke PowerShell script on remote machine? And how do you take care of error handling in this case? Thanks! :)

View Article

I am missing something simple

Hi guys, I know that I am missing something very simple, I just can't figure out what it is. I have a list of servers that I need to get a list of the DNS servers that they are pointing to. This is...

View Article


Office 365 Admin Module

If anyone is interested, I have moved my Office 365 Admin module to Github. So far you can use this to easily connect to Office 365 - for all services, not just Exchange - and do things like manage...

View Article

O365 Assign Licenses by Security Group

Hi All,I am attempting to assign a few licenses via powershell to a specific security group in our o365 environment. I have an older powershell script that assigns licenses ok if they don't have a...

View Article


powershell script-password changes

Hello all. How is everyone? I'm wondering how I would script a csv file with usernames/random passwords to change everyone's password with Powershell. I think I know how to do it, but I want to skip...

View Article

PowerShell: Where do you put the braces? What's your preference, and why?

I've seen a lot of this in different coding communities, where there's a lot of argument about which brace style should be used; I'm not looking for that, nor am I trying to figure out what I should...

View Article


What is the best way to add domain user(s) to pre-image computer from MDT?

We currently have an MDT server at work. We are finding better ways to be more efficient. But given the amount of notebooks and surface pro3 we deploy on a weekly basis for our newhires, we are finding...

View Article

PowerShell Style Guide

Hi Everyone,Another interesting find on the Interwebs.  This is unofficial but follows many of the guidelines the PowerShell community has come down with.  And it looks like mattmcnabb has also...

View Article

Running Scheduled Task Remotely via Command Prompt

I am trying to set up a command that will allow me to run a scheduled task on a remote server from a users machine via a batch script. Basically I have a .bat file I need to run on a server but has to...

View Article
Browsing all 15370 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>