I have 2 .csv files that I am trying to get values from and if they match, add 1 count to the counter field in file 2.
1. Zipped XML file from one folder to the other.
2. Append the XML file with current date and unzip it.
Using power shell script.
I am receiving Expected end of statement error. Anyone can help? I am trying to folder/file permission using CACLS.
I am trying to generate an email with Voting buttons using powershell.
The Send-MailMessage cmdlet doesnt seem to include an option for voting manipulation.
Net.Mail.MailMessage also does not ap…
I want to view which folders on a netapp a security group is granted NTFS permssions.
How can this be accomplished? Powershell?
The website has changed some. To me the layout looks the same it just looks like the shapes and colors were changed a bit
None the less the code worked perfectly now it cant seem to find the tags.…
User: RUS\UserName (russia.lab.com)
Workstation: EUR\WS (europe.lab.com)
Remote workstation: TST\WS (test.local)
Remote polling servers: TST\remoteSRV[1..10]
NO: Firewalls, Antiviruses
It seems that using New-PsDrive from Task Scheduler does not work.
So I use 'net use x: /user:name password,' but I would rather use PScredentials with New-PsDrive. Also the New-PsDrive cmdlet doesn'…
I was wondering if Enabling File and Printer Sharing on all servers is vulnerability?
The purpose of this is so that we can copy files btw servers. Do we need to enable it? What if we run Powersh…
I wanted to ask you how can I run this command on multiple computers at once?
The best way would be to specify server list in servers.txt and then run this on multiple servers.
o netsh adv…
A procedure for exporting installed hotfix details of remote computers using powershell
I would like to modify the attached spreadsheet.
I would like a script to look into each field which contains the UPC code, and compare Year 1 to Year 2 to Year 3.
If some UPC codes are not shown in…
I would like to sort through the Data in Sheet 1, and produce the output shown in Sheet 2.
I will add much more data to Sheet 1, perhaps over 600 rows and perhaps it may grow.
Can someone help me ei…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office 365 via Windows PowerShell using Exchange Online tr
Hi, could someone assist with an example of a powershell script that I could edit for my network environment?
I have a need to update (overwrite) a file on all PC's in a particular department in o…
We have a piece of software that runs a powershell command at startup to match the username and match it with active directory.
This works perfect on server 2008R2 but does not on server 201…
I've a list of Samaccountname and request is to get firstname, lastname, emailaddress. I can do that but at times, out of the list, few samaccountnames are not in AD. I want a script to write down in …
I need a powershell script to get details of all disabled accounts in an OU. OU name is Test
Can someone help?.
Thanks in advance.
I have to two variables. The first one contains computernames (ex. COMP01, COMP02, COMP03) and the second one also contains computernames, but with some extra fillings (ex. INFO_COMP01.txt, INF…
I've got this powershell code by one of the expert in this forum to display all services with the name like "App1" for the servers in certain OU location running perfectly fine exporting to…
I am new to powershell. this is my learning script. I created try and catch and in the catch it suppose to create file with failed computers.
Below is the line. It created failedcomp.txt but …
I had this question after viewing Powershell script- running set owner command on multiple servers at once (https://www.experts-exchange.com/questions/28983784/Powershell-script-running-set-owner-comm…
I am trying to find out how I can enroll the local machine with our enterprise CA using powershell.
I know it's possible using certutil, but I am try to avoid having to use StdErr + streamreading to …
I’m trying to run a Task with a PowerShell Script and the last run result is 0x41301.
The Technical User is an Administrator and has the needed permission on the Script path.
What am I…
A customer can't delete a file.
The error we get.
Remove-Item : Der Pfad "C:\Users\test\Downloads\nre WG Wichtige Informationen zur Umstellung der Telefonie in ihrem Amt am 08 06 201…