Quantcast
Channel: The Official Scripting Guys Forum! forum
Browsing all 15028 articles
Browse latest View live

powershell read-host into array format problem.

i'm having trouble getting my line 2 'read-host' command to input the computer names into the array properly.  when i put the computer names in the CMD prompt i get an RPC error, if i put them inside...

View Article


Can't get VM to start with script

Hello,I am using Microsoft Azure and am running a virtual machine.  I found a script that allows you to automate when your virtual machine is started....

View Article


BAT file to write to a folder that has random name

I am trying to create a BAT file that will write a file to a folder that is named something different within each users profile.I would like to copy a file to the following...

View Article

How to use powershell to compare two string array

Hi GuysWe have two server list txt file likea.txt contains some servers ,like server 11,server 12,server13b.txt contains other servres, like server 11,server 13,server14i need a script to find out that...

View Article

Looping through text file

Hi AllI need to change a text file that read top to bottom to a left to right .csv file.Group Name: ABC123Rule Name: ABC-OutRemote Network: xxx.xxx.xxx.xxxRule Name: ABC-InLocal Network:...

View Article


Sending Email Notification Script When the Computer Up

Dears,Kindly I need email notification script when the window server up after shut down, we have windows updates to deploy and some of our servers are critical, users should know the duration of...

View Article

Using Hash Table as Parameter in Function

Hi all,I'm currently building a PowerShell function. Whilst I've done a lot of scripting before, I've never really created any functions, so I'm a bit of a newbie.I'd like to be able to pass a...

View Article

Scripting for exchange room mailbox in office365

Hi There,   I have 180 users I need to give reviewer rights to 7 different newly created Resource Room Mailboxes.What is the best way to script this using a csv file?Andydev

View Article


Exporting logs to .CSV on multiple computers

Hi everyone,I am trying to export server logs to .csv on multiple computers in a way where each servers log will have its own name and its own .csv.I do not want to export all servers logs to one exel...

View Article


Image may be NSFW.
Clik here to view.

Script to change -manager attribute in AD

I am trying to put together a script that takes a csv from our HR system and updates attributed in AD. I have been using syntax like this for other attributes with no issues:Import-Csv $Importedcsv |...

View Article

Switching to a new window opened by an existing IE COM object

We are trying to automate a functionality test of a web app that we manage.  The app starts with a splash page that has an "accept" button on it.  Clicking the accept button launches a new IE window...

View Article

I want find string using dictionary file

Hello.I need some help about script.A.txt file has below text============================== blablablablablabla (0001) blablablabla blablablablablabla (0001) blablablabla blablablablablabla (0201)...

View Article

How to use Powershell to add network latency to Windows server 2008 R2 &...

Hi,I am trying to figure out how to use Powershell commands to add network latency to my Windows Server systems to simulate application behaviors in production.Something similar to the tc command with...

View Article


Powershell DHCPserverv4lease output to csv file

I am new to powershell scripting and need a help to resolve a problemI have retrieved information from DHCPserver for particular IP but I want to use the command in script to traverse all IPs in file...

View Article

New-DNSRecord using gives error Invalid Namespace

Hi Team, i am using the following cmd and getting following error .----------------------------                 New-DnsRecord -Name VM1 -RecordType A -Zone <DNSdomainname> -IPAddress...

View Article


I want change date format in text file

Hello,I need help about powershell. I make some script for date format change.A.txt has date below ============================= Aug 21 2015 blablablabla Nov 22 2015 blablablabla Jun 25 2015...

View Article

Scripting a "new toolbar" in Windows 7

This may be a long shot but does anyone know how to script a "new toolbar" in Windows 7? I want the script to run when a user logs in a map the new toobar to a folder.

View Article


How to disable "Open in Immersive Browser" in IE 11

Hello,<o:p></o:p>I am trying to stop our users from using the Immersive Browser in Windows 8.1 and IE11, as our filtering is done by a local application using a plugin. This BHO does not...

View Article

Exchange server full Permission issue

 Dear Team,Please clarify below Issue, We have 2 users like User-A, User-BYou grant User-B Full Access Permission for User A’s Mailbox:can user-A send mail to anyone from User-B Mail Box?Is it possible??

View Article

Export member of tab of users in a text file

HiI have list of users for whom i want to export the memberof tab for each users.Eg: abc user is member of domain admin, printerfirst user etc.thanksRegards Sushain KApoor

View Article
Browsing all 15028 articles
Browse latest View live


Latest Images

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