Portion From Batch To Power-shell?

Sep 16, 2011

Im starting to work with powershell and try to port my old batch files.

1)I got this lines of Code, and I dont know who to convert them to power shell.The goal is to uninstall a software using the string found in the registry.[code]

2) In former times I used PsExe to remotly execute scripts on remote positions.What would be the best practice for power shell.

3) Another question is if it is posible with power shell to tell the system (Windows 7 and/or Xp)to do a Windows System Update and install all critical updates?

View 2 Replies


ADVERTISEMENT

Can I Do A Software Update Through Power Shell

Nov 5, 2011

So I have used Terminal in Fedora and I noticed we have power shell which seems much like Terminal, but what do you use it for? With Windows you can point and click on things I used Terminal in Fedora because I had to do certain updates or app installs that way.Can I do a software update through power shell? Where can I read how to start using Power Shell.

View 1 Replies View Related

Can Power-shell Replace Win-bash

Apr 14, 2011

i have been playing around with an industrial Linux-powered scanner, and was making okay progress under XP.This was made easier as I just ran some of the bash scripts through win-bash.Since moving to Windows 7 of course this no longer works, even if I disable UAC completely.I can only guess that the reason is that win-bash no longer works with Windows 7.My question is will powershell fill the gap?i.e. if this is my win-bash script what would the powershell equivalent look like, or am I barking up the wrong tree?ow I need an alternative sooner rather than later?

View 2 Replies View Related

Power-shell Script To Create User Folders And Set Permissions?

Nov 18, 2010

I am grabbing a text file with a list of users in it. I want to then create folders for all those people and then set explicit permissions on those folders to only allow the users and admin access to it. So for the create user folder, I have...

$Users = Get-Content "C:Users.txt"
ForEach ($user in $users)
{
$newPath = Join-Path \mycomputerUsers$ -childpath $user
New-Item $newPath -type directory
}

This works great as I now have 100 folders created. But how do I use something like....

$acl = Get-Acl "\mycomputerusers$"
$permission = "mydomain$users","FullControl","Allow"
$accessRule = New-Object System.Security.AccessControl.FileSystemAccessRule $permission
$acl.SetAccessRule($accessRule)
$acl | Set-Acl \mycomputerusers$$user

When I try to loop these together it says the folder already exists or the setaccessrule identity references could not be translated. how I loop it in with creating the folder? Or is there a way to just say...create folder based on this username, then take that username and make it the only admin on the folder along with the system admin?

View 3 Replies View Related

Create A Batch File That Runs 3 Other Batch Files

Jul 1, 2011

I am trying to create a batch file that runs 3 other batch files. Right now, it works fine using the call command on each other batch file. However, these other batch files take awhile to run. and so the entire process takes a very long time, since each "sub" batch file is run only after the previous one is finished.I was wondering if there is a command or way to start a batch file fro the top-level batch file, then go on and start the next batch file before the previous one is finished. In other words, I want the sub batch files to run in parallel in the background. (similar to the '&' in Unix).

View 1 Replies View Related

Cannot Click On Anything At Top Portion Of Screen

Sep 21, 2012

I can not get my cursor to recognize or click on anything in top portion of screen, for instance in Facebook, the top blue bar with notifications on it, I can not click anything on it, even this post could not be edited until I scrolled it down below the "dead zone" (top 2 inches on my 15" laptop screen above the )

View 1 Replies View Related

Recovery Portion Only Being Used On Computer

Nov 16, 2012

I reinstalled my windows 7 home premium on my computer all of my old data files such as music, videos etc are still on the drive but it wont access it its only using the recovery part and how can I get it to use all of the hard drive on my computer because the recovery is only holding 15 gb and my actual hard drive has 600 gb on it and it doesn't use it.

View 2 Replies View Related

DVD: Very Low Volume, Non Vocal Portion Normal

Nov 25, 2009

I have an issue with DVD playback in both MP and MC. This doesn't happen with every DVD I play, but with many of them. The volume on the vocal portion is very low to the point of being inaudible. The background noises and music are all perfectly loud. I'm guessing it's because DVD audio is on multiple channels and there's something wrong with the way my system is handling one of them?

I'm using a SB Audigy SE.

The issue persisted after installing the drivers and utilities from the CD and after installing the Shark007 codec/filter pack. This computer is my media center so I really need DVD playback to work.

Any ideas?

View 2 Replies View Related

Cloning C Drive And System Reserved Portion?

Dec 26, 2012

I installed a new ssd drive and cloned my c drive onto it. It also cloned my system reserved partion [about 25 megabytes]. I then, at a later date, cloned my c drive [now my new ssd drive] again back to my old primary drive so that i have an up to date copy of my primary drive. But it also cloned my system reserved partion. Can i delete some of these system reserved partions. I now have 3 of them! It makes my computer look very untidy. What ones should i leave or do i need to leave them all?

View 1 Replies View Related

Remove The Day-date Portion Of The Clock Display With Windows 7?

Jan 31, 2012

I am running Windows 7 premium. The taskbar/notification/clock area @ the bottom of my desktop is huge, like nearly an inch. The Time, Day and Date are one below the other. This takes up so much space especially when u have multiple toolbars, address bar etc @ the top not 2 mention the additional loss of space (of nothingness) @ the top. Leaves less working space than I'm happy with. How do I gain back the use of that half inch in the taskbar?Is it possible 2 gain back the lost area @ the top as well?.I have already gone to Properties and changed the settings there (use small icons). It made no difference at all.

View 7 Replies View Related

How To Setup Secure Portion On Drive To Hide Files

Jul 26, 2012

How to set up a secure portion or drive on my pc where I can hide files to secure them. I have had so many problems with PC hack I just got a new pc and it is starting again. How to search for the entrance they use would be great !!! I have a mirage of YouCam Cyberlink and I don't know what that is either? I am would like to lock this pc down --- I am running Norton 360 . I have windows 7 HP pavilion g4 it is a go between because my other PC was beyond repair --- in regards to security I threw it out !!!

View 7 Replies View Related

All Maximized Windows Show Upper Portion Of Desktop Above Menu Bar?

Jan 11, 2012

Seen several different posts about this issue but really no definitive answer as to why is occurring. Never happened with XP or Vista only Windows 7. Seems most users with this issue report having a Dell computer but mine is a Toshiba Satellite L505. I just find it very annoying to have approximately half inch of desktop space visible on top of any type maximized window, browser window, explorer window, whatever.

View 2 Replies View Related

Shell Command

Mar 9, 2009

How to Use and See All Windows 7 Shell Commands ?

View 0 Replies View Related

Use Explorer Classic Shell?

Jun 4, 2011

How does Explores Classic Shell looks like? Does it looks like previous Windows XP File Explorer? Welcome to Classic Shell As there apepars more and more essential functions missing in Windows 7, I just installed onto Windows 7 a Classic shell Explorer 3.1 (not a Start menu or IE9)I checked accordingly Classic shell home page FAQ what to do if:What to do when Classic Explorer doesn't show up?But how do I know that it doesn't show up? How does Explores Classic Shell looks like?I don't notice anything new in File Explorer - still selection is lost when I sort files from column header and there New is only Windows 7 missed status bar - now I can see how big is content of a folder and how much spare room is on the destination drive.

View 8 Replies View Related

Undeletable Shell Folders

Dec 21, 2009

I have set up custom paths for the shell folders in Windows 7. It works like it's supposed to except for one small detail. The system creates the folders "Pictures" and "Videos" in the default path (C:UsersUsername). As I mentioned I already have "My Pictures" and "My Videos" at another drive, so these folders shouldn't be there but when I try to delete them the system re-creates them. If I try to delete them again I get an error message stating I don't have permission to remove the folder, and if I try to open it it says "Access denied".

View 1 Replies View Related

How To Get Shell Extension Icon

Jul 19, 2010

I used ShellExView utility and found it can get the shell extension icon. Now i have a question, can anyone please tell how to get the extension icon? [code] but no icons in the file "rarext.dll", how to get the right winrar context menu icon?

View 7 Replies View Related

Windows 7 Shell Common DLL?

Dec 5, 2009

I have been getting Windows Shell Common DLL crashes when accessing and modifying properties in my Sound Panel. (I recently connected my SPDIF out to my receiver;I've also been having trouble getting my headphones to work again, but that's another problem) It's shown up in my Reliability Monitor and I've had the "Critical Event" "Windows Shell Common Dll" "Stopped Working" and it has reduced my reliability score from 10 to about 2. When I "Check for a solution" it says there aren't any available. I've checked all drivers and they are up to date. Any idea how to fix this? I've done alot of searching, and all i could find was one guy dl'ing a new SFComm64.dll file and replacing it in his system, which he said worked, but Windows 7 saw as a security threat (?). So, I'm not quite sure what to do - do I try and dl a new SFComm64.dll file? And if so, where do I dl from?

View 12 Replies View Related

Windows 7 On Shell Mode?

Nov 6, 2011

I recently installed windows 7 64 bit on my computer. Its been fine. But last night I went to sleep, and when I woke up my computer was in this mode thing. I have no idea what it is. It says "startup.nsh" I tried it nothing happens, and press ESC in 5...4...3...2...1 seconds, but doesn't work either

View 1 Replies View Related

Shell And Kernel Of Xp And Windows 7?

Apr 15, 2012

what is the difference in shell and kernel of XP and WINDOWS 7?

View 2 Replies View Related

Stuck In SafeMode Alternate Shell

May 1, 2011

I actually selected Alternate Shell minimal safe mode and now I'm stuck in it.How do I get out of this and into regular Safe Mode (with a GUI)?Alternate Shell is all command line so please reply with actual cammands.

View 1 Replies View Related

System Shell Notification Icon?

May 22, 2012

When I start up the computer, I get a message that it cannot create the system shell notification icon. What does this mean?

View 1 Replies View Related

Windows Shell Dll Has Stopped Working

Oct 5, 2012

Windows shell dll has stopped working

View 2 Replies View Related

Windows Shell Common Dll Has Stopped Working?

Jan 2, 2012

I installed Battlefield 3 right after Christmas and just today noticed that I was unable to access my mouse settings via Control Panel. I know that this is a small issue but I'm concerned that it might continue to grow. As I have updated a number of drivers and other programs since then I am reluctant to hit the restore button and loose half a day of work. Can I simply "repair" Windows shell and go on?I ran (as administrator) sfc/scannow and if found no integrity errors. I also ran Control Panel / Action Center / Maint / Review Reliability and found no issues

System Information:

OS NameMicrosoft Windows 7 Home Premium
Version6.1.7601 Service Pack 1 Build 7601
Other OS Description Not Available
OS ManufacturerMicrosoft Corporation
System NamePORT-HP
System ManufacturerHewlett-Packard
System ModelHP Pavilion dv7 Notebook PC

[code].....

View 1 Replies View Related

Windows 7 Shell Common Dll Has Stopped Working?

Nov 9, 2012

Whenever i start my laptop (OS WINDOWS 7 HOME BASIC EDITION) this message appears that "windows shell common dll has stopped working"[CODE]

View 1 Replies View Related

Light Weight Windows 7 Shell Replacement?

Jan 15, 2013

I have a PC running Windows 7 Home Premium 32 bit, with 1 GB of RAM, and a single core AMD 64 CPU at 2.2 GHz. Is there a lightweight shell replacement to make this machine run faster?

View 2 Replies View Related

Ht Access Association To Windows 7 Shell Common?

Apr 16, 2011

I changed the "open with" association of my htaccess to open with notepad... the file name (htaccess) suddenly disappeared.How do I bring it back to the default? I think the dll file is windows shell common, but I can't find it in the "open with"

View 2 Replies View Related

Windows Shell Common Dll Has Stopped Working

Nov 1, 2011

I cannot run windows media player.I checked the playback, and would open it, but I got this:

[Window Title]
Windows Shell Common Dll
[Main Instruction]
Windows Shell Common Dll has stopped working

[Content]A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

[Close program]I ran a sfc /scannow But it didn't helped

View 6 Replies View Related

Open With Using The Windows 7 Shell Common File?

Apr 1, 2012

I had a file that had that open with format, I mistakenly changed it to a Windows Media Player format, and now can not change it back.I was thinking that I may have to reinstall the shell32.dll itself, but I saw the file on my computer. So maybe I should just find it in the Browse folder directory, then click okay and it's fix. Not sure completely where it is located or if that will work.

View 9 Replies View Related

Setting Shell Folders To Network Locations

Oct 16, 2009

I have a number of PCs connecting to a server where we house our personal folders. The server also houses music, basketball games, our photos, applications (like drivers and updates etc). On XP and vista I could update shell folders in registry to point each of the various locations (Like My Videos, My Documents, My Pictures etc), to a location on the server.

I updated the shell folder locations in registry only to find that it says location is unsupported because the network locations are not indexed

I have turned indexing off because it is a total waste of resources. We have everything stored on separate drives by category of item. For us, sedarching is not required, stuff is easy to find.

So how can I point the shell folders to a network location without turning on indexing?

View 2 Replies View Related

Open File With Windows Shell Common

Mar 22, 2012

how do i open files with windows shell common

View 2 Replies View Related

Revert Back To Default Shell In Windows 7(64 Bit)?

Dec 8, 2012

i have installed a new desktop customization tool in my laptop running Windows 7.the default shell got replaced,and now i can't see the start menu, my wallpaper isn't there,the right click on desktop doesn't work,all in all i am stuck.now i want to revert back to the default windows shell,i don't want to format my computer because i have so many softwares installed.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved