Quantcast
Channel: Windows PowerShell forum
Browsing all 21975 articles
Browse latest View live

Compare folder structures and report differences

I have a large amount of folders from which the data needs to be copied into a new folder structure.before I start, I would like to compare each folder with the new structure and report the...

View Article


Powershell script to find PC's that have dropbox installed

I have been using the get-installedapps.ps1 a ton for finding different apps that are installed on my domain. I am now trying to find any computers that has dropbox installed. Dropbox doesn't put it's...

View Article


Get-Eventlog script to return certain parts of -Message

Hello,So i run this script against one of my Backup servers $Machine = "Machine1"Get-Eventlog -Logname Application -Source "Backup Exec" -EntryType Warning -ComputerName $Machine  -After...

View Article

MD5 Hash and File Check on 2012+ Servers

Hello Gurus!   I've been working on a script for the past few weeks to check specific paths for certain file extensions and doing comparisons to the previous days check to find files that have been...

View Article

Powershell HASH

I created thisscriptinPowershellto read aDBrecord andcreate ahashof itsaltyand insert it backin atable,goodscriptworksfine the wayI need,butwhat sticksis the delay9 millionrecordtwo days.I needifanyone...

View Article


Constrained Delegation For Remote Powershell Sessions

Consider the case of a client (let's call it Client) doing a remote Powershell session to a server (ServerA). In this Active Directory environment, the client has full administrative permissions over...

View Article

"get-date -format u" returns local time, not UTC

Greetings,I'm struggling with converting and formatting date/time with the get-date cmdlet ...According to https://technet.microsoft.com/en-us/library/ee692801.aspx   get-date -format "u"should return...

View Article

Help w/ CSV Parsing

Hi Everyone,I'm working through a test to see how CSV parsing in relation to folder and subfolder creation works. The script I have is as follows:$File = "C:\Projects\Folders\folders.csv" $Data =...

View Article


Some groups show no members in Get-ADGroup

So I have a question about strange PowerShell behavior with Get-ADGroup. If I use it on a group I created, I can get members just fine. But on some (not all) built in groups, includingDomain Users, it...

View Article


'A positional parameter cannot be found that accepts argument '$null'.

I am trying to execute below PowerShell script to audit a file share for filenames starting with S. This script is executed by a SQL job every 10 seconds.Script also tries to create a Log file each day...

View Article

Powershell script to compare files.

Hi...I am looking for a script to compare 2 different .CSV files to check if there is any name entry to pop-up a message with the entry name. Also we have to do this regularly, hence I would like to...

View Article

Apostrophe within a sngle quote string

Hi, I am contructing a query where the email address has to be contained within single 'quotation' marks.  am having an issue where a user has an apostrophe in their name. I have tried to escape the...

View Article

Combine 6 .xlsx files to into 1 .xlsx file with 6 sheets

HelloIs something like this possible to do with powershell? I'm using excel 2013. The script should create the 1 excel file by itself.Thank you.

View Article


prevent PS script contents from being read

Helloif we have created a valuable script & we are going to deliver it to a company so that they be able to run it but unable to see its contents & our code, is there any solution?thanks

View Article

Powershell script to install Pidgin

Hello,I want to install Pidgin in all the computers on the network and I want to do it via Powershell. I modified a script that i found and it looks like this:$computers = Get-Content...

View Article


migrating on premise site collections to SharePoint online using powershell

Hi folks,Intention:-migrating on premise site collection to SharePoint online.Is there any power-shell script or list availabe products.Please give idea and let me know that script.Thanks,

View Article

Powershell and SCCM Task Sequences

Does anyone know if there is any way to modify the sequence propery of an sms_tasksequencepackage object with Powershell?  I am trying to migrate a task sequence from one site to another and want to...

View Article


Password RegEx Check

I'm trying to use RegEx to validate the password strength for a Cisco UCS password. Due to the complexity requirements I'm having a bit more trouble than I expected. This is what's expected: If you...

View Article

Ignore the powershell execution policy on remote servers

I have a powershell script that I need to run remotely on around 500 servers. The script runs successfully on few of the servers but on few it fails because of the execution policy. The script fails on...

View Article

Dynamic Access Control from PowerShell

Hi Guys  Please I need your help, I am working with AD Dynamics Access Control (AD DAC)  and Windows Powershell (PS), the Idea is create a menu for AD DAC in PS, Everything is OK but I have a problem...

View Article
Browsing all 21975 articles
Browse latest View live


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