Why wont this RUN and Set a New-Service..?

PS C:\WINDOWS\system32> New-Service -Name RunSafe -BinaryPathName C:\Users\3steveco33_01\Skydrive\Documents\Adminstartup.ps1
-DisplayName 'Active Protraction Service' -Description Safety and Security -StartupType Manual -Credential 'Admin_01' -Depen
New-Service-NameRunSafe-BinaryPathNameC:\Users\3steveco33_01\Skydrive\Documents\Adminstartup.ps1-DisplayName'*******
********** ******* '-DescriptionSafetyandSecurity-StartupTypeManual-Credential'Admin_01'-DependsOnSystem
dsOn System
New-Service : A positional parameter cannot be found that accepts argument 'and'.
At line:1 char:1
+ New-Service -Name RunSafe -BinaryPathName C:\Users\3steveco33_01\Skydrive\Docume ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [New-Service], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.NewServiceCommand
As can be plainly seen here there is no positional paraaaaameter with the argument and as indicated in the error message...WTF
s.mcknight
As can be plainly seen here there is no positional paraaaaameter with the argument and as indicated in the error message...WTF It work yesterday...I deleted it last night with a successful operation message and today this....it is more than frustrating....I
am clever, tenacious and persistent...and this one now has me stumped...!

Hi S.mcknight,
It seems you have solved this issue, if there is anything else regarding this iisue, please feel free to post back.
If you have any feedback on our support, please click here.
Best Regards,
Anna Wang
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Similar Messages

  • I have an ipod touch and now it doesnt sync properly. It gets to stage 1 of 3 of syncing( Which is 'backing up') Then it stops and itunes closes. Why wont this sync and what can I do about it?

    I have an ipod touch and now it doesnt sync properly. It gets to stage 1 of 3 of syncing( Which is 'backing up') Then it stops and itunes closes. Why wont this sync and what can I do about it?

    Hello,
    I am currently an owner of an Ipod Touch 4th generation. I see you are having problems with your Ipod Touch, so I will try to find a solution to your problem.
    Restart the Computer. This sometimes happens to me when I keep my Windows 7 on Sleep, and I try to sync my Ipod
    Make sure you have the latest version of Itunes
    Hope that helps!
    If none of the above solutions work, can you please respond back ASAP as I will try to find another solution to your problem (This might even help others with the same problem!)
    Cheers!
    Pizza98704

  • HT4993 Everytime i plug my phone into itunes it says it cant connect because the phone is locked well i restored my phone twice and set a new passcode the last time and it still wont work . I even deleted itunes and reinstalled it , it dosent work . HELP

    Everytime i plug my phone into itunes it says it cant connect because the phone is locked well i restored my phone twice and set a new passcode the last time and it still wont work . I even deleted itunes and reinstalled it , it dosent work . HELP PLZ !!

    I had the same issue. I tried everything unchecking / rechecking, formatting Iphone and restoring from backup etc etc.
    In the end it was a simple issue which might of might not help you.
    A number of months ago I relocated by Itunes folder to a NAS drive. It appears when I did the last I tunes update Itunes set the destination path of the Itunes media to the default location, the result was Itunes couldn't install music,apps, video until I set the correct destination path.
    The bit that confused me was it was transferring some media. This was of course the media I had downloaded since the last Itunes update which had gone to the default location.
    I hope that makes sense and is off some help.

  • Only one track is downloaded per album on itunes on my iphone 5. Every time I download a new track it deletes the previously downloaded track on that album. Why is this happening and how can I switch it off?

    Only one track is downloaded per album on itunes on my iphone 5. Every time I download a new track it deletes the previously downloaded track on that album. Why is this happening and how can I switch it off?

    Most YouTube content requires the Flash plugin. Sometimes it's necessary to uninstall then reinstall that plugin.
    Uninstall the Flash plugin then reinstall new >  Troubleshoot Flash Player | Mac OS
    Very important to uninstall the currently installed plugin first.
    Now launch Safari and try a video.
    If you have the ClickToFlash extension installed, that can prevent Flash based video from streaming. It can also be installed as a plugin in /Library/Internet-Plug-Ins.
    And check to see if Safari is running in 32 bit mode. Right or control click the Safari icon in your Applications folder then click Get Info. If the box next to:  Open in 32 bit mode  is selected, deselect, quit then relaunch Safari.
    You may also need to delete the cache associated with Safari .
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type or copy/paste:   ~/Library/Caches/com.apple.Safari
    Click Go the move the Cache.db file from the com.apple.Safari folder to the Trash.
    Quit and relaunch Safari. Try a video.

  • My Boyfriend has lost all of his contacts on his phone after down loading the new iphone soft wear why would this happen and how can he get them back                          how can you get back your contacts after down loading the new iphone soft wear

    My boyfriend has lost all of his contacts on his phone after downloading the new iphone softwear. why would this happen and how can he get it all back

    You don't have to post the same question at one minute intervals.  Somebody will answer it, but perhaps not in 60 seconds.

  • I use Firefox 6.0.2. When I shut the browser and try to reopen it I get a message saying that Firefox is still running and that I should reboot. This happens constantly. Why does this happen and is there a way around it?

    I use Firefox 6.0.2. When I shut the browser and try to reopen it I get a message saying that Firefox is still running and that I should reboot. This happens constantly. Why does this happen and is there a way around it?

    There are a few possible causes for that error, for details see [[Firefox is already running but is not responding]].

  • I want to start with audio on a timeline and add photos. Why is this not possible in the new confusing version of iMovie?

    I want to start with audio on a timeline and add photos. Why is this not possible in the new confusing version of iMovie?
    Yrs,
    Unspeakably Frustrated

    Yes, you can do this. Drag the music track to the background and start adding your pictures. A great way to do this is to use beat markers so your photos will change on the beat.
    A really fast way to do this is to line up your photos in an iPhoto album in the order you want them. You can drag the whole album into iMovie at once.
    Here is a tutorial on the beat marker feature.
    Here is a sample of a slideshow made by dragging in the music first, adding beat markers, and then adding photos.

  • HT201514 I keep getting this message "Unable to complete back up an error has occurred while creating back up folder" Why is this happening and is it time to purchase a new tim machine?

    I keep getting this message “Unable to complete back up an error has occurred while creating back up folder” Why is this happening and is it time to purchase a new tim machine?

    Check out the Apple Support Communities Time Machine expert Pondini's troubleshooting article on this exact topic. Hopefully, it will help.

  • I purchased a new iPhone and did the upload before but was unable to retrieve my photos from my iCloud download. Why did this happen and can it be fixed?0

    I didn't receive my photos in the download on my new IPhone. Why did this happen and can it be corrected?

    Are my pictures lost or can they be retrieved?

  • Tries to load a page from site but never loads, Then need to close Mozilla and reopen it. Told that it is already running, not, then often have to do a hard turn off to shut it down. Why is this happening, and what can be done?

    This happened many times today. There is no specific page. I usually have a page open and try to redirect from that page. It shows "connecting", but never does. I have run many scans which all turn up clean. Why is this happening and what can be done to fix it?

    Maybe here:
    http://www.windowserrorhelps.com/itunes-error-11-how-can-i-fix-itunes-error-11-i nstantly
    Is the iPod jailbroken?

  • My MacBook Pro (Mountain Lion) seems to be making copies of files in my download folder.  Why is this happening and how do I stop it?

    My MacBookPro with Mountain Lion seems to be making copies of files in my download folder.  Why is this happening and how do I stop it?

    This issue has nothing to do with Time Machine or local snaphsots. No built-in feature of OS X does what you describe.
    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then either copy or drag it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click the line of text below to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' 
    Copy (command-C) the selected text to the Clipboard. Then click anywhere in the Terminal window and paste (command-V). Post the lines of output (if any) that appear below what you just entered. You can do that by copy-and-paste as well. Omit the final line ending in “$”. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}' 
    This time, you'll be prompted for your login password, which you do have to type. It won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}' 
    Step 4
    ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null 
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • When my 6 year old daughter plays the free games that I have downloaded for her IPAD and IPOD, I am now getting upgrade charges on these free games to my AMEX Card. WHy is this happening and how do I get my AMEX card off of the IPAD and IPOD?

    When my 6 year old daughter plays the free games that I have downloaded for her IPAD and IPOD, I am now getting upgrade charges on these free games to my AMEX Card. Why is this happening and how do I get my AMEX card off of the IPAD and IPOD?

    She is making in app purchases. Probably not knowing what that means to your monthly credit card bill. Use the Settings app to enable restrictions and turn on restrictions for iTunes, App Store and in app purchases, mabe some others too. The restrictions will be set with a passcode to prevent your daughter from changing them.
    Settings > General > Restrictions

  • Iphone 6 automatically turn on even not connect to charger, why would this happen and how to solve it?

    iphone 6 automatically turn on even not connect to charger, why would this happen and how to solve it?

    I'm not an apple expert or anything, but after hearing this from a coworker (and doing a quick google search) many of the generic chargers do not work in the 5s (especially after the most recent update.) I'm thinking this may be the problem in your case...the charger is not working so the phone just needs a good charge from either an apple certified charger or a generic that will actually work with the phone. I've read some people are able to pull the cable out, turn it around and then plug it back in facing the opposite direction to get it to work. Many have reported, however, that even when this remedies the cable issue, its still won't charge the phone while it is completely dead (which is likely the case since it won't power on at all.) So if you haven't fixed your problem by now, go buy a new charger and see what happens. You might be able to go into and apple store and borrow a charger there for a few minutes to see if this actually IS the problem. That way you don't waste your money before buying.

  • TS1702 I'm getting an " application" cannot be downloaded at this time message. With any app I try to download/update. Why is this happening and what can I do about it ?

    I'm getting an " application" cannot be downloaded at this time message. With any app I try to download/update. Why is this happening and what can I do about it ?

    I am fighting the same error. I gifted an album to mydaughter and she got that when she tried to cash it in. iTunes support was quick to respond saying the would refund in 5 to 7 days. That was 13 days ago and they will not respond now. Try to contact support to see if they can help. Also be sure you do not have restrictions enabled in settings. If your parental controls are set to block certian content ratings this will give you an error as well.
      You could also try to purchacs through the iTunes program on Mac or PC. Check your restrictions there too. If your device is company owned your employers may have restrictions enabled preventing certian apps from being installed. Hope that helps.
               E

  • Why does stuffit open and create a new folder every time I save a pages document?

    Why does stuffit open and create a new folder every time I save a pages document?

    Because you are saving it to the desktop, Pages documents are actually zipped files and Stuffit is set to uncompress desktop files.
    Either don't save to the desktop (bad practice) or check the preferences in Stuffit to see if you can turn off unstuff files on desktop.
    Peter

Maybe you are looking for

  • Boots to windows startup screen, flashes blue screen, restarts and repeats

    HP ENVY H8-1414 Product #H3Z00AAR Windows 7 Ultimate 64-bit Alright, so here is my issue. I turn on my pc and it gets as far as the windows startup screen, flashes a blue screen error for about half of a second and then restarts it self. My HDD is re

  • This item is free in the store

    hi I have problem downloading One of the apps i paid for, "WhatsApp" I had problem last night i changed my pin code and forgot the code, so i went and erased the content and restored from iCloud, everything went perfectly, but I have noticed that the

  • RFC connection (SM59) fails with load balancing enabled.

    Hello All, We have an RFC connection setup between two SAP systems. The RFC connection works fine if it points to the destination system. But if we enable load balancing, the connection fails with this error: ERROR                partner not reached

  • Out of disk space, /usr takes 11GB...

    When I first installed Arch I figured 25GB would be large enough for the filesystem because I'm keeping large files on another partition so I can share them with Windows. Unfortunately I've been battling the system for a while now to keep my storage

  • Suitable card for three stepper motors

    Hello everyone,  I want to ask which DAQ card would be suitable for controlling three (X,Y,Z stage) stepper motors using continuous and/or finite pulse generation.  X and Y stages have to be independent on each other (i.e. diagonal movement), Z one d