Batch files, Powershell, domains.....oh my!
I am trying to create a batch file, that will call a powershell script on my network. The below info in my batch file works, but only when I'm logged in as my on the domain. I am using the Master.ps1...
View ArticlePowerShell And PGP
I am hoping someone can help me. I am very new to PowerShell. I am trying to see if powershell can even do what i need it to. I have an encryption key that i need to use to encrypt files. Is it...
View ArticleExport EVENT VIEWER APPLICATION to EVTX file using BATCH
Hello,How to export EVENT VIEWER APPLICATION to EVTX file using BATCH ?Regards,
View ArticlePowershell Command Line
OK I am very new to powershell. I have a script started. I need it to open a file for me then encrypt a fileHere is the code $file = 'path to file to encrypt' $cert = 'path to key.asc' $out...
View ArticlePowerShell Script to run multiple child script with different instances...
Hello Scripting Guys,I am trying to get data from Oracle 11G(32 bit) & save it to SharePoint 2013(64 bit)I had tried many permutations & combinations but unable to wrote a single script to do...
View ArticleHelp WIth powershell Script
Hello Guys,Sorry for the silly issue, but i am trying to retrive all LastLogon data from each domain controller, but i got an error and i don't know how to go on, can you help? $DCs =...
View Articlepowershell does not recognize the path environment variable
Hi, I am running powershell in ws2012 r2 version and when i attempted to run executable whose path is defined in the env:path variable, it can not run. Here is the output. How do I make the path...
View ArticleAdd System Protected folders in Batch Delete Process
I need to add system folders to this script in order to get rid of old Internet Explorer Maintenance data that is conflicting with new group policy settings.*taskkill /F /IM iexplore.exechoice /C X /T...
View ArticleVBS - control printers desktop shortcut
Hello Everyone, I am making a .vbs script for desktop shortcuts at startup. Files and folders I have succeeded. It just can not manage to create a shortcut control panel printers. Could someone can...
View ArticleNeed to run a .cmd file which is on remote server through powershell script
Hi,I have a batch file on a server1111 which is executing a Powershell script file for restarting PatrolAgent service of a remote server.--- Service is successfully started ---- Now I need to check the...
View ArticleTamper Monkey App download button is greyed out
Why can't I download the Tamper Monkey app? The button is not clickable, it's greyed out.
View ArticleHow to check if a specific list of user accounts are disabled in AD, using...
Hi guys, I have a list of user accounts in txt format.I need to check every user by the sAMAccountName and determine if their account is disabled or not.The catch is that I cannot use a powershell...
View ArticlePowershell Field called Password will not update
Hi All,Having fun this week with SQL commands - I cannot get the bolded text work to update a column named Password in an excel file. If the column is called "uPassword" then it is fine. I tried the...
View ArticleHow do I use @{add='jbloggs'} syntax with c# remote runspace
Hi,I need to add/remove from a mailbox -GrantSendOnBehalfTo attribute in Office 365 using c# and remote powershell. However I am having problems with the syntax in c# with dotnet 3.5. I have...
View ArticleHow to set Microsoft Edge startup page(s) on many PCs in batches?
I know that the setting of startup page(s) of Microsoft Edge is stored in the registry keys located below:"HKEY_CURRENT_USER\SOFTWARE\Classes\Local...
View ArticleVBScript for outlook signature from Active Directory
Hi, I have been asked to put together a vb script for my company to be able to use to pull signatures from AD. I have put together a script and it works fine and the info is the way it should be. Just...
View ArticleHow to delete bulk user accounts from a .txt list with VBS/PS2.0/CMD,...
Hello Scripting Guys!In short: - I have a .txt list of sAMAccountNames that I need to delete from AD - Before deleting the account, I need to perform a check to see whether they are disabled. If they...
View ArticleDoes Powershell script run on MAC OS X
Hi All,Here is what I'm trying to achive, I have a login script in batch format that runs very well on all versions of Windows, but due to the popularity of Mac many MAC systems are getting added in...
View Articleneed a powershell command to imput the email address then output the username...
My apologies but I have limited experience with writing scripts in powershell.need a powershell command to imput the email address then output the username of the user? then print this list.Also need...
View ArticleAdd routes locally Via Powershell
This scriptis used toadd static routesusingviaPowerShelllocally.You must copythe.ps1and.CSVfilelocally.In the CSV it is necessay the columns:EXEM:ServerName;Network;Gateway;Netmask;metric...
View Article