script doesnt map on windows 7 64 bit
I have the following script running for all my 32 bit machines how ever when i add a 64 bit PC to the domain the script does not map the public share ? does anyone have any insight on this? Below is...
View Articlepowershell script to check an application is not responding
I want to create a powershell script to check an application running in windows 7, if running ignore and keep checking every 1 minute, if the application stops, restart the application. Also if the...
View ArticleSearch string within multiple files
How do I script the following using vbscript:1. Prompt User for numbers or strings2. Search that number or string in all files (text files) in a folder. a) Start searching (if possible from end of...
View Articlebatch file to check for os versions
what command should i use to check for os versions?windows xp, windows 7, windows 2008,R2, 2012?
View ArticleHow to add additional mailboxes in outlook for exchange
In VB is it possible to use a script to add additional shared mailboxes from an exchange server in Outlook for a user. I know you can use a PRF file to autoconfigure outlook for a user to connect to...
View ArticleCscript is not working on Windows 7
HiCscript on my Windows 7 x64bit machine stopped working. I am not sure what screwed it up and since when it stopped working. However below is the behavior.When I execute just "Cscript" in the cmd, it...
View ArticleRemove-Item Save to log
I'm doing this simple line and I don't understand why i can't get any output in the file.remove-item c:\test.txt | out-file -filepath c:\log.logLog.log is coming out empty. Can someone explain?Thanks,
View ArticleScripting Remote Windows Updates
Windows 2008R2OK, I have to install updates regularly on two servers. It is a delicate if monotonous task. I have to shut off all the services, and then patch one and then after the DB comes back,...
View ArticleI used powershell remoting to copy a file from shared drive from one system...
I used powershell remoting to copy a file from shared drive from one system to other system, but nothing copied. Hers is the code.I tried to copy a file from view-xxx9 to view-xxx007. System view-xxx9...
View ArticleWSUS products and classifications
Hi, Does anyone have a powershell script to list the products and classifications enabled on a wsus server?Any assistance on this would be greatly appreciated.Rick
View ArticleVB Script to search complete registry for a value and delete it.
Hi I have a value say test. I don't know the path in registry and I want to search the complete registry for the value and delete the value . the value may appear several times in the registry I want...
View ArticlePS: retrieve install date from remote computer
How do I retrieve the Windows install date from a remote computer? By using ([WMI]'').ConvertToDateTime((Get-WmiObject Win32_OperatingSystem).InstallDate) I can get the info for my local machine but...
View ArticleUUID For update KB976002 (Browser Choice)
Hi Guys/GirlsI am currently working with a powershell script to install some updates and i want to do the following to not install the browers choice screen but i am struggling to find the UUID for the...
View Articleproblems using ntfssecurity CMDLETS
Hi,I am using NTFSSecurity CMDLets to set permissions for AD groups to NTFS filesystem:http://gallery.technet.microsoft.com/scriptcenter/1abd77a5-9c0b-4a2b-acef-90dbb2b84e85The Script is working ok for...
View Articlescript to extract security group members
I would like to extract the members of specific security groups. Is it possible to get a script where I can input the information of security groups in CSV and it can extract the members of those...
View ArticleHow to Search a Server for all Network Shares and their total size -...
Hi Guys,I've been struggling with this for a few days now,I can take in a list of servers from a text file and script will go off and find all the shares on that particular server (see code...
View ArticleElliptic Curve Encryption of Text Using Powershell
I know how to encrypt text using an RSA certificate, but when I try the same thing with a certificate based on an Elliptic curve, I seem to be missing pieces necessary to complete the encryption phase....
View ArticleHelp regarding a HTA
Team,I've a HTA script which will be sent to all users in a department as a voting tool via Email. This HTA file output will be sent to a asset database which is password protected and that password is...
View ArticlePowershell consolidate and rename logs based on last written date
I am trying to copy audit logs from a list of servers in the same location on each server to a central location. The logs are all named audit.log, audit1.log, audit2.log. Because of this in the...
View ArticleAutomating Office 365 user licensing and mailbox moves to the cloud in hybrid...
Hi,I spent quite a bit of time trying to figure out how to automate the move of (student) accounts to the cloud. Most of my struggle, in the end, was understanding how to automate a credential object....
View Article