Simple Powershell - what am I doing wrong?
OK, so this works:
Set-CMDistributionPoint -SiteSystemServerName DP01.test.com -EnablePxeSupport $True -AllowRespondIncomingPxeRequest $False -ComputersUsePxePassword $PXEsecure -EnableUnknownComputerSupport $True
I need this to work:
# Getting distribution point network path
$CM_DP = Get-CMDistributionPoint -DistributionPointGroupName "Test DP Group"
$CM_NOSP = $CM_DP.NetworkOSPath
# Need to change the DP Path to remove the starting \\
$CM_DPN = $CM_NOSP.TrimStart("\\")
#Prompt for PXE Password
$PXEsecure = Read-Host “Enter desired PXE boot password” -AsSecureString
#run DP Configuration
foreach ($CMDistributionPoint in $CM_DP)
{Set-CMDistributionPoint -SiteSystemServerName $CMDistributionPoint -EnablePxeSupport $True -AllowRespondIncomingPxeRequest $False -ComputersUsePxePassword $PXEsecure -EnableUnknownComputerSupport $True}
It doesn't and I cant work out why!?
There was a typo:
# Getting distribution point network path
$CM_DP = Get-CMDistributionPoint -DistributionPointGroupName "Test DP Group"
$CM_NOSP = $CM_DP.NetworkOSPath
# Need to change the DP Path to remove the starting \\
$CM_DPN = $CM_NOSP.TrimStart("\\")
#Prompt for PXE Password
$PXEsecure = Read-Host “Enter desired PXE boot password” -AsSecureString
#run DP Configuration
foreach ($CMDistributionPoint in $CM_DPN)
{Set-CMDistributionPoint -SiteSystemServerName $CMDistributionPoint -SiteCode EUR -EnablePxeSupport $True -AllowRespondIncomingPxeRequest $False -ComputersUsePxePassword $PXEsecure -EnableUnknownComputerSupport $True}
But I still get an error for this:
'Cannot access a disposed object.'
Similar Messages
-
I'm burning dvd's that won't play on a regular dvd player. What am I doing wrong? They play fine on computers but not on dvd players. Are there some simple things to check to figure this out? (Sorry, I know this has been asked many times). Created in DVD studio pro.
Hi
Just my thoughts to add to the excellent answers above.
• BRAND of DVD used - Matters when doing Video-DVDs
Memorex, NoName etc cheap brands usually do NOT work
I only Use Verbatim (more organic dye in these)
• Type of DVD - matters
- DVD+/RW - usually results in problems
- DL-DVDs are more problematic than SL-DVDs
- DVD+R are a more modern sort - BUT PLAYS BADLY or not at all on older DVD-players
I only use DVD-R
• BURN SPEED - matters
- Best in iDVD app - IS NOT BEST at all but results in lot's of Burn Errors = Doesn't play well or at all
I set this down to x2 or x4 max.
Yours Bengt W -
What am I doing wrong? Simple Code!
function more(id){
for (i=1;6; i++){
ulElement = document.getElementById("ul_item" + i);
ulElement.className = "closed"
ul = "ul_" + id;
ulElement = document.getElementById(ul);
ulElement.className = "open"
The code is meant to change the class of my navigation to make the pop downs visible. It also is mean to close any other navigation that is already open.
The Error I get is UL element is null (line 4).
The code works, in a way - it opens the navigation, but it doesn't close the other open navigations.
(HTML example)
<ul>
<li><a onmouseover="more('item1);" class="four">Main Link</a>
<ul id="ul_item1" class="closed">
<li>This should appear</li>
</ul></li>
<li><a onmouseover="more('item2');" class="four">Main Link</a>
<ul id="ul_item2" class="closed">
<li>This should appear</li>
</ul>
</ul>What am I doing wrong? Asking a JavaScript question in a Java forum.
You will have better luck in a [JavaScript forum|http://www.google.co.uk/search?q=JavaScript+forum.&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a].Good luck. -
Because of getting the message that I had to uninstall Apple Mobile Support Device and ITunes, in order to get my ITunes to be usable, I did that. While trying to re-install ITunes, all I get on the message is the choice to "save" or "cancel". It will not give me the "run" choice. What am I doing wrong? This should be fairly simple to reinstall, I thought.
I am running Windows XP on a desktop computer using Firefox.Thanks so much. This definitely worked. I'm sorry I did not think of using IE. I use Foxfire exclusively so seldom even think of IE as an alternative.
-
Temporary queue - what am I doing wrong?
I have two different apps - one server and many clients, both are working with OpenMQ 4.2 on SP1 Vista x86.
Conception is:
1. Server has an one permanent queue to whom clients send auth requests.
2. Each time client prepares authorization request it creates temporary queue, where response from server should arrive - one queue per each client.
3. Name of this temporary queue is attached to authorization request.
But it doesn't work =((((((((
Piece of code on client dedicated to temp queue:
dataQueue = session.createTemporaryQueue();
dataQueueName = dataQueue.getQueueName();then DataQueueName is being sent to server as simple String message (something like temporary_destination://queue/***.***.***.***/61253/1 )property where it tries to use this queue:
// processing received message...
dataQueue = new com.sun.messaging.Queue(receivedString);But it doesn't work, Connection not created exception occurs.
What am I doing wrong?
Thanks to everybody for your future answers.thanks for your answer!
I've tried to work with autocreated queues as you wrote and it works, great =)
but I have a problem when adopting your example
Queue tmp = m.getJMSReplyTo();
there is type mismatch here, tmp is an +com.sun.messaging.Queue+ object, but method +getJMSReplyTo()+ returns +javax.jms.Destination+ =(
Edited by: GlebHappy on 17.11.2008 0:11 -
Filesharing w/ two Dual 2.5 G5s using eithernet: What am I doing wrong?
Hello everyone.
I'm trying to setup a computer-to-computer ethernet connection between two Dual 2.5Ghz G5's, both running OS 10.4.6, however I am running into problems. I've never done this before, so I may be missing something very simple, so please bare with me.
I've followed the mac help file for setting up ethernet connections, but whenever I pushed "browse" neither computer would show up. Thus my search for answers turned online, and found instructions stating that I should see something like this, 'Other Macintosh users can access your computer at afp://xxx.xxx.x.xxx/"
I see this number for one G5 (right under the "service box") but there is no such number on the other G5. What caused this to happen?
And once again, when I choose "browse for computer name" it never connects to a different computer, regardless of which computer I start from.
I know my ethernet cables are good (I used them at school to connect to the internet), and according to many posts I've found, I do not need a special "crossover" cable as these macs are fairly new.
What am I doing wrong?
Thanks in advance for your help and reply.
Dual 2.5GHz G5 Mac OS X (10.4.5) 5Gb Ram, Logic 7.1.1 and other goodiesThree digits aren't necessary for a valid IP address. An IP in the form of x.x.x.x would be valid. The problem probably lies in the combination of IP address and subnet mask.
With the IP formats you have now, unless both of those IP addresses have corresponding subnet masks of 255.255.0.0, they won't be able to see each other.
It may be easiest to switch the built-in ethernet to obtain an address manually rather than letting OS X set a self-assigned address as it's doing now. If you were to set one machine with an IP of 192.168.0.2 and the other as 192.168.0.3, both with a subnet of 255.255.255.0, they should be able to see each other. -
I am trying to print redplum coupons and I can't, help. I have updated java, adobe flash, and made sure my printer was set on default. I am not sure what I am doing wrong. I have contacted redplum and no one will help.
No Apple response??? Redplum/Valassis will not help either. I searched, using the cups error message and though it is Unbuntu, same error so maybe useful...only problem: details would not display unless I join Unbuntu forum. What a pain to do anything with my Mac or find any help. I honestly regret buying this buggy OS.
Anyway, here is what I found, FYI:
http://ubuntuforums.org/showthread.php?t=483415
As the old saying goes: when in doubt, consult the manual. The problem appears to be that I added the printer using the KDE Add Printer Wizard. It was automatically given a "socket" URI instead of an "lpd" one. When I:
- altered the printer settings at http://localhost:631 (the CUPS admin page) as instructed in the manual for the printer, and
- copied the PPD file into a second place on the hard drive (as instructed on ubunutuforums, see the link above)
..everything started working.
It's still slower than windows, but I can live with that
Probably a simple fix. Change the socket I.P. to match the printer I.P. like this:
socket://192.168.1.86:9100. The thing I'm concerned with using socket:// is that AFAIK the printer I.P. must not change. In my case I'm able to assign a static I.P. address to the printer but it's something to consider.
I found that the only thing I needed to do was change socket to lpd (and remove :9100 off the end as well). See Solving Ubuntu printer broken pipe problem (DocuPrint C525A) . BTW thanks for steering me in the right direction - very grateful.
Solving Ubuntu printer “broken pipe” problem (DocuPrint C525A)
Posted on November 25, 2008
Are you having a problem with your printer under the latest versions of Ubuntu (perhaps it worked under an older version)? Are you able to print short documents, but not longer, or more graphics-intensive, documents? (e.g. the unfortunate people at http://ubuntuforums.org/showthread.php?t=625493). Do they sit there as Processing for ages and then switch to Held? If you have the same problem I had the solution I tried may work for you too. Firstly, check your cups error log:
sudo gedit /var/log/cups/error_log
If you see anything like the following, the solution may be simple:
[Job 201] Unable to write print data: Broken pipe
PID 13359 (/usr/lib/cups/backend/socket) stopped with status 1!
System > Administration > Printing and right click on your printer, selecting Properties. Settings > Device URI
If you see something like socket://your_printer_ip_address:9100 just change socket to lpd and remove the :9100 off the end. Then click on apply.
Apparently lpd is a more modern protocol which works with most printers whereas socket is more raw (and potentially faster but riskier in a network situation). Somewhere along the line, the default Ubuntu/Gnome setup for networked printers shifted from lpd to socket. Some primitive printers will have benefited whereas a larger number of more modern printers will have suffered.
Please correct me if I am wrong (which is highly possible) but the underlying problem could be that socket may make the printer wait a long time for a large file to be processed ready for printing. Some printers, such as the Fuji Xerox DocuPrint C525A, may drop the socket if things take too long to start coming through.
Changing timeout settings might work but lpd is better than socket so it is the preferred solution in any case.
If this works for you, please leave a comment to let others know (ideally with a description of the printer and Ubuntu version). Printer may be relevant if it doesn’t support the direct stream protocol properly. NB I may take a while to let your comment through because of the volume of spam. Sorry about that.
Finally, thanks to sphilli8 for the steer in the right direction at http://ubuntuforums.org/showthread.php?p=6245626.
http://ubuntuforums.org/showthread.php?t=483415 -
I'm trying to attach multiple photos to email. Sounds simple....except I don't see a "share" button on the lower left side In photo roll or when I touch the send/share button. Yes, that would be in photos. What am I doing wrong?
Tap the square with arrow on top right
http://i1224.photobucket.com/albums/ee374/Diavonex/edb18be9.jpg
http://i1224.photobucket.com/albums/ee374/Diavonex/c33705eb.jpg
Note: Maximum five photos -
I am trying to install the latest upgrade for Adobe Photoshop Lightroom 5.pkg but the program will not accept my password, which works when I log into Adobe. What am I doing wrong?
G¹Day Ned, Thank you very much. That worked. I like simple solutions. Thank
you, again, for taking the time to respond. Steve -
General error:out of memory. what am i doing wrong?
My free agent 721.5 GB free space, I have set my system settings all the the free agent memory. I have been working on a project with 3 sequences in them,JPEG, clips Mp4 . and had no problem playing them, editing them. Until now.... .. my minimum auto allowable free space on scratch disk is set to default: 2047 MB when I try to open my sequence says : general error.... I click ok, then another window opens saying, out of memory. my project opens, but only one sequence opens. the others have been edited more. plus The main video will not open. what am I doing wrong?
productivity wrote:
So I have been successfully able to edit my jpeg and .Mp4 in FCP. Its the mpeg-2 that dont work on FCP. MP4-quick time player plays my files.
QuickTime player plays your mp4 files. Because it's a playback codec (and more recently, an aquisition codec). It is not an editing codec. Why? Like MPEG2 it uses a Long GOP format.
What's a Long GOP codec? Simple explanation. It is a method of storing lots of video in a small space. It does this by throwing away "redundant" information. Frame 1 is a complete image, as is frame 15, 30, 45 etc. those in between only contain information on what's different or predict what it might be (Oooh artifacting). Think of someone standing in front of a plain colored wall, waving their arm. The difference is the arm movement. Everything else is more or less the same as in frame 1.
But you want to make a cut on frame 8. Wait. Frame 8 can't exist without information from frame 1. Frame 8 needs to be independent so you can make that cut. That can only happen if you transcode the footage so that every frame is independent. Because you want to cut right there and not kind of there. Of course, trancoding to an editable format turns the couple of gigs of footage you shot into considerably more.
So far, you have been lucky. You got away with editing a few simple cuts and probably had to render. But, if you choose your editing codec wisely and set FCP up properly, you won't have to render at all. When your editing gets more complex, using layers and compositing, grit your teeth and wait or ask whatever god you pray to for mercy.
Search terms for this forum: MPEG 4 (or MP4) is not an editing codec. H.264 is not an editing codec. Why don't my mp3 audio files work in FCP?
Things to Google: Long GOP format. (If you want the techie explanation.) -
When I try to convert a wav file to an mp3 it only gives me a 6 or 7 second mp3....what am i doing wrong?
Sorry you are having problems. Can you give an example preferably of some small publicly available file and the site you are trying to download it from ?
As a simple example of a download (ok it is a .png image file not not a .exe file) but can you try to download a copy of your avtar/icon, as used on these forums. In Windows one method is that you right click & should get an option save. <br/> Mine alongside uses the link
* https://support.mozilla.com/media/uploads/avatars/avatar-257447.png
Are you able to download such an image, then see it in your download manager, and find it on your computer.
Once you have got Firefox to save your binary file you can use it. In the case of the .exe file you are trying to download that should be usable as intended with your Windows Operating System, the avatar also should be easily opened and viewed.
P.S.
You could try installing the add-on https://addons.mozilla.org/en-US/firefox/addon/opendownload-10902/ if you wished to adapt Firefox to run .exe files instead of just save them. -
What am I doing wrong with Flex 3 and BlazeDS
I using Blaze, Flex3 and Cairngorm, I have a simple
application at the moment, in which I dispatch a Cairngorm event,
it gets picked up the Command is executed and the Delegate can send
data to the RemoteObject. I can see in the output that Blaze is
doing what it is supposed to do and returning what it is supposed
to return, but the data returned never makes it to the IResponder
result function. What am I doing wrong? Can post code if
needed.+I read on itunes help that I could import CDs to my library without internet connection, and did so to about 10 old ones and now cannot figure out how to get their track/artist names.+
You get the track/artist names off the back of the CD and type them in yourself.
You have to have internet for itunes to get them automatically from the gracenotes/CDDB online database.
Importing one-by-one and editing the info would have been a better scheme. Now you've got a hot mess!
Unless you know the songs well enough to recognize them when they're played, I don't see how you're going to get it all straight without importing them again. -
What am I doing wrong - size issue
Need some advice...as usual!
I designed a site on my 17" monitor and set the margins to 0
and table to 100%. However when I look at it on different screens
it looks rubbish...big gap at the bottom of the page with the
design cramp at the top. I wonder if someone would mind looking at
my code and see what's wrong with it. The site was designed using
various techniques including css for nav bars, tables, and
fireworks elements. the site can be viewed at:
www.shelleyhadler.co.uk/nerja.html
thanks for your help. Shell>Re: What ams I doing wrong - size issue.
Several things...
First, your 17" monitor has noting to do with web page
layout. What
resolution is your monitor set to? it could be 800 pixels
wide or 1280
pixels... wouldn't that make a difference? That aside, screen
resolution and
size are irrelevant anyway. What counts it eh size that your
viewers have
their web browser window set at.
I have a pretty large monitor, set to a very high resolution,
so I open
several windows at once and size them so I can see the
content in all.
Sometimes my browser is full screen and sometimes its shrunk
down to less
than 600 x 800. Your web site needs to accommodate that.
Every web viewer
out there is different and likes the way they have their
screens set up. So
you need to be flexible and your site needs to be flexible.
Next, Don't design in Fireworks and import to Dreamweaver.
Fireworks is a
superb web ready graphics and imaging processing program. The
authors
(mistakenly) threw in some web authoring stuff that works
very poorly.
Design your pages using Dreamweaver. Learn html markup and
css styling to
arrange it, then use Fireworks to create graphics to support
your content.
Along the way, be aware of the diffferant browsers in use.
Internet
Explorer is the most popular (or at least most in use) simply
by virtue of
the Microsoft market share, but it is also the least web
complient (by virue
of the Microsoft arrogance) so some things that work there,
(like your green
bands) won't on other browsers and vice versa.
That said... graphically, your site looks great. You have a
good eye for
composition and simple clean design. You just need to learn
to use html to
your best advantage to create some realy nice looking and
nicely working
sites.
"shelleyfish" <[email protected]> wrote in
message
news:[email protected]...
> Need some advice...as usual!
>
> I designed a site on my 17" monitor and set the margins
to 0 and table to
> 100%. However when I look at it on different screens it
looks
> rubbish...big
> gap at the bottom of the page with the design cramp at
the top. I wonder
> if
> someone would mind looking at my code and see what's
wrong with it. The
> site
> was designed using various techniques including css for
nav bars, tables,
> and
> fireworks elements. the site can be viewed at:
>
> www.shelleyhadler.co.uk/nerja.html
>
> thanks for your help. Shell
> -
Have tried to purchase an album today but cannot get it to download. what am I doing wrong
Have tried to purchase an Ed Sheeran Cd today and thought My payment had gone through but cannot download the album to my Desktop. What am I doing wrong (in simple terms)
LorraineDoes it show on your account's purchase history : See your purchase history in the iTunes Store ? If not then you are sure that the purchase went through, it's not just a temporary store holding charge on your credit card : iTunes Store & Mac App Store: About payment card authorization holds.
If it does show then try the Store > Check For Available Downloads menu option on your computer's iTunes and see if that downloads it, or go to the Purchased link under Quick Links on the right-hand side of the iTunes store homepage and see if it shows there for downloading. -
What am I doing wrong? Text looks BAD
What am I doing wrong here? Created a Motion opening sequence, and exported to movie with Animation as Compressor. Looks GREAT! Then import it into FCP6, and what ever I try, it looks REALLY BAD! I know it probably has to do with the compression I am using, but not sure what to choose! End result is for a DVD.
In iMovieHD(6), I can Export a video directly to iDVD and all looks great. Not sure if this is the problem I am experiencing in FCP? I can't just move it to iMovie, do to the number of cuts/length/video tracks involved, so any suggestions?
Thanks!Bill,
As was noted in your other thread, video is not simple. If you want simple, stay with iMovie. If you want control, well with great power comes great responsibility. And great responsibility requires continuous study.
DV is one crappy format. It compresses images 5:1 and works in a 4:1:1 color depth. All this means when you go to composite something (.eg text), it will likely look like crud.
One strategy is to increase the color depth in the sequence to 4:2:2. DVCPro50 or ProRes422 DV will do this. These codecs will not improve the original image, but will give a bit more breathing room for color in compositing.
Good luck,
x
Maybe you are looking for
-
Install oracle 10g on solaris 9 platform without setting noexec_user_stack
Hi, I'd like install oracle 10g software on solaris 2.9 platform without setting noexec_user_stack parameter to 1. The problem is that i need install software before, for migrating product environment. I can write /etc/system file but i can't reboot
-
Want to contact apple programmers this is request from almost thai people user
Hi my name is Mile i am a apple user since this first generation relesed only one thing that we ( thai people ) want apple to do for us is please change the pattern keybord cause we are very hard to use that your guys made for us most of us dont want
-
Can Firefox and Firefox Synch be used on a Kindle Fire(Android)?
Before I try to go through the set up, do you know whether the built-in browser on a Kindle Fire can be changed to Firefox? It appears that Amazon is discouraging or preventing this. Thanks.
-
Online Number in Brazil (Brasil)
WHY does skype allow me to pay to have my online number in Brazil extended while they say they cant offer online numbers in Brazil anymore ? Not that this number works anyways... it cannot be dialed in by more than half the people that try to call it
-
How to view which users have logged into Hyperion Planning
Hi all, I'm trying to determine the best way to view users that have logged into Hyperion Planning (who and when). Is there an option in Shared Services or can this be viewed through Planning by the administrator? Any insight would be greatly appreci