Help needed with a PS script for network share documentation

I found a nice PS script that will do what I want, however the output portion seems to be broken. It will output the permissions and details, but not list what share it is referring to... Can anyone help with this?
Thanks!
https://gallery.technet.microsoft.com/scriptcenter/List-Share-Permissions-83f8c419#content
<# 
           .SYNOPSIS  
           This script will list all shares on a computer, and list all the share permissions for each share. 
           .DESCRIPTION 
           The script will take a list all shares on a local or remote computer. 
           .PARAMETER Computer 
           Specifies the computer or array of computers to process 
           .INPUTS 
           Get-SharePermissions accepts pipeline of computer name(s) 
           .OUTPUTS 
           Produces an array object for each share found. 
           .EXAMPLE 
           C:\PS> .\Get-SharePermissions # Operates against local computer. 
           .EXAMPLE 
           C:\PS> 'computerName' | .\Get-SharePermissions 
           .EXAMPLE 
           C:\PS> Get-Content 'computerlist.txt' | .\Get-SharePermissions | Out-File 'SharePermissions.txt' 
           .EXAMPLE 
           Get-Help .\Get-SharePermissions -Full 
#> 
# Written by BigTeddy November 15, 2011 
# Last updated 9 September 2012  
# Ver. 2.0  
# Thanks to Michal Gajda for input with the ACE handling. 
[cmdletbinding()] 
param([Parameter(ValueFromPipeline=$True, 
    ValueFromPipelineByPropertyName=$True)]$Computer = '.')  
$shares = gwmi -Class win32_share -ComputerName $computer | select -ExpandProperty Name  
foreach ($share in $shares) {  
    $acl = $null  
    Write-Host $share -ForegroundColor Green  
    Write-Host $('-' * $share.Length) -ForegroundColor Green  
    $objShareSec = Get-WMIObject -Class Win32_LogicalShareSecuritySetting -Filter "name='$Share'"  -ComputerName $computer 
    try {  
        $SD = $objShareSec.GetSecurityDescriptor().Descriptor    
        foreach($ace in $SD.DACL){   
            $UserName = $ace.Trustee.Name      
            If ($ace.Trustee.Domain -ne $Null) {$UserName = "$($ace.Trustee.Domain)\$UserName"}    
            If ($ace.Trustee.Name -eq $Null) {$UserName = $ace.Trustee.SIDString }      
            [Array]$ACL += New-Object Security.AccessControl.FileSystemAccessRule($UserName, $ace.AccessMask, $ace.AceType)  
            } #end foreach ACE            
        } # end try  
    catch  
        { Write-Host "Unable to obtain permissions for $share" }  
    $ACL  
    Write-Host $('=' * 50)  
    } # end foreach $share
This is what the output looks like when ran with 'RemoteServer' | .\Get-SharePermissions.ps1 | Out-File 'sharepermissions.xls'
FileSystemRights  : Modify, Synchronize
AccessControlType : Allow
IdentityReference : Everyone
IsInherited       : False
InheritanceFlags  : None
PropagationFlags  : None

Actually it is not being written only with Write-Host.  The last line of the loop is this "$ACL"  which ius an array of objects. 
Here is a version that gets the info more easily and produces flexible objects.  It should be easier to modify into what is needed.
# Get-ShareSec.ps1
[cmdletbinding()]
param(
[Alias('ComputerName')]
[Parameter(
ValueFromPipelineByPropertyName=$True
)]$Name=$env:COMPUTERNAME
Process {
Write-Verbose "Computer=$name"
$shares =Get-WMiObject Win32_Share -ComputerName $name -Filter 'Type=0' -ea 0
foreach($share in $shares){
$sharename=$share.Name
Write-Verbose "`tShareName=$sharename"
$ShareSec = Get-WMIObject -Class Win32_LogicalShareSecuritySetting -Filter "name='$ShareName'" -ComputerName $name
try {
foreach ($ace in $ShareSec.GetSecurityDescriptor().Descriptor.DACL) {
$props=[ordered]@{
ComputerName=$name
ShareName=$sharename
TrusteeName=$ace.Trustee.Name
TrusteeDomain=$ace.Trustee.Domain
TrusteeSID=$ace.Trustee.SIDString
New-Object PsObject -Property $props
catch {
Write-Warning ('{0} | {1} | {2}' -f $Computer,$sharename, $_)
Get-Adcomputer -Filter * | .\Get-ShareSec.ps1 -v
¯\_(ツ)_/¯

Similar Messages

  • Help needed with creating a script

    This is what I try to achieve:
    Creating sequentially numbered files (any files) by dragging the original to a folder.
    It should work like this:
    drag a file ( i.e. myphoto.jpg) to a folder and the script attached to that folder would duplicate the file and number it (myphoto001.jpg)
    I can't get it to work... does anyone know of a ready-made script or is willing to advise on how-to?
    Thanks for feedback.

    Hello
    Here's some script you may try.
    (Copy code from this web page, not from subscribed email text, for I escaped some characters for posting.)
    Broadly speaking, it will do what you wish. But not exactly as you described.
    A few things to note.
    • It will rename file 'image1.jpg' to 'image1.001.jpg', e.g., (note period between 'image1' and '001') in order to make script simple.
    (If the file name is 'image1' without extension, it will be renamed to, e.g., 'image1.001._' by adding dummy extension '_' in order to make script simple and consistent)
    • It will move the file that is drag-n-dropped to the Folder Actioned folder A to an inner sub-folder B and rename the file in B. This is because renaming file in A will trigger the Folder Action, which detects renamed file as newly added file (under OSX), that is problematic.
    • If the following script is used as Folder Action, you'll have to drag-n-drop the file with option key down to copy it to the Folder Actioned folder. Without option key held down, the original file will be moved to the folder.
    (If the source and destination volumes are different, drag-n-drop will copy the file and there will be no need to use option key. E.g. If Folder Actioned folder resides in an external volume and original files are in an internal volume, simple drag-n-drop will copy the files.)
    Please see comments in script for more details.
    Hope this may help.
    H
    --SCRIPT
      Assumptions and behaviours:
        1) The destination folder B where renamed items are stored is in a root folder A.
          • A is determined as the folder where this Folder Action is attached or this droplet resides; and
          • B's name is given as property destinationFolderName in main().
        2) Target file F is moved to B and renamed such that -
          if original name of F is "P.R" (P = name stem, R = extension) and
          the max seq. number in name of the file(s) in B which has the same name stem and extension as F is M,
          F is renamed as "P.Q.R", where Q = M + 1.
          • Number format is given as property numberFormat in main().
          e.g. File named "name1.jpg" will be renamed to "name1.003.jpg",
            if file named "name1.002.jpg" in destination has the max seq. number with the same name stem and extension.
      Usage:
        1) As Folder Action,
          • save this as compiled script and attached it to folder A; and
          • drag-n-drop target files into A and it will move them in folder B and rename them as intended.
          (Use option-drag-n-drop (i.e. copy, not move) to keep the original file or it will be moved and renamed.)
        2) As droplet,
          • save this as application (or application bundle) in folder A; and
          • drag-n-drop target files onto the droplet and it will duplicate them to folder B and rename them as intended.
          (Exception. If target files are in A, they will be moved, not copied, to folder B.)
    on adding folder items to da after receiving aa
    main(da, aa)
    end adding folder items to
    on open aa
    tell application "Finder" to set da to container of (path to me) as alias
    main(da, aa)
    end open
    on main(ra, aa)
      alias ra : root folder
      list aa : items to be processed
    script o
    property destinationFolderName : "Renamed items"
    property numberFormat : "000" -- seq. number will be 001, 002, etc (if n > 999, use n as is)
    property nlen : count numberFormat
    property nmax : (10 ^ nlen - 1) as integer
    property xx : {}
    property astid : a reference to AppleScript's text item delimiters
    property astid0 : astid's contents
    property NL : return
    property errs1 : NL & NL & "This item will be left as is in: " & NL & NL
    property errs2 : NL & NL & "This item will be left as: " & NL & NL
    property btt1 : {"OK"}
    on decomp(s)
      string s : name string to decompose
      return list : {name stem, sequential number string, name extension}
      e.g. Given s : result
        "name1.001.jpg" : {"name1", "001", "jpg"}
        "name1.jpg" : {"name1", {}, "jpg"} -- [*]
        "name1" : {"name1", {}, {}}
        "name1..jpg" : {"name1", "", "jpg"} -- [*]
        "name1.name2.001.jpg" : {"name1.name2", "001", "jpg"}
        "name1.name2.jpg" : {"name1.name2", {}, "jpg"}
      [*] Note different meanings of {} and "" in result list
    local n, p, q, r
    try
    if s = "" then return {{}, {}, {}}
    set astid's contents to {"."}
    set s to s's text items
    tell s to set {n, r} to {reverse's rest's reverse, item -1}
    if n = {} then set {n, r} to {s, {}}
    tell n to set {p, q} to {reverse's rest's reverse, item -1}
    if p = {} then set {p, q} to {n, {}}
    try
    q as number
    set p to "" & p
    on error
    set {p, q} to {"" & (p & q), {}}
    end try
    set astid's contents to astid0
    on error errs number errn
    set astid's contents to astid0
    error "decomp():" & errs number errn
    end try
    return {p, q, r}
    end decomp
    on nextname(n)
      string n : source name
      property xx : names in pool
      property numberFormat, nlen, nmax: number format string, its length, max value respectively
      return string : new name with next sequential number
      e.g.
        Provided that n = "name1.jpg" and the name that has max seq. number
         with the same stem and extension as n in destination folder is "name1.005.jpg",
         resurt = "name1.006.jpg"
    local p, q, r, a, b, c, b1
    set {p, q, r} to decomp(n)
    if r = {} then set r to "_" -- give dummy extension if none (to handle it correctly)
    set b1 to 0
    repeat with x in my xx
    set x to x's contents
    if x starts with p then
    set {a, b, c} to decomp(x)
    if {a, c} = {p, r} then
    set b to 0 + b
    if b > b1 then set b1 to b
    end if
    end if
    end repeat
    set b1 to b1 + 1
    if b1 > nmax then
    return p & "." & b1 & "." & r
    else
    return p & "." & (numberFormat & b1)'s text -nlen thru -1 & "." & r
    end if
    end nextname
    try
    set da to (ra as Unicode text) & destinationFolderName & ":" as alias
    on error -- da not present
    tell application "Finder" to ¬
    set da to (make new folder at ra with properties {name:destinationFolderName}) as alias
    end try
    --set my xx to list folder da without invisibles -- this is faster but 'list folder' is deprecated in AS2.0.
    tell application "Finder" to set my xx to name of items of da as vector -- [1]
      [1] Finder (at least under OS9) returns [] (empty linked list) when returning empty list.
      This will cause error -10006 in 'set end of my xx to ...' statement, for linked list does not support it.
      The explicit 'as vector' will handle this case.
    repeat with a in aa
    set a to a's contents
    --set n to (info for a)'s name -- this is faster but 'info for' is deprecated under OSX10.5
    tell application "Finder" to set n to a's name
    if n = destinationFolderName then -- ignore it
    else
    set {n1, _step} to {nextname(n), 0}
    tell application "Finder"
    set sa to a's container as alias
    -- move or duplicate
    try
    if sa = ra then
    (* when run as Folder Action (or as droplet with items in ra) *)
    set a1 to (move a to da) as alias
    else
    (* when run as droplet with items outside ra *)
    set a1 to (duplicate a to da) as alias
    end if
    set _step to 1
    on error errs number errn
    (* name conflict, etc *)
    display dialog errs & " " & errn & errs1 & sa buttons btt1 ¬
    default button 1 with icon 2 giving up after 15
    end try
    -- rename
    try
    if _step = 1 then set {a1's name, _step} to {n1, 2}
    on error errs number errn
    (* name conflict, invalid name, etc; not probable but possible *)
    display dialog errs & " " & errn & errs2 & a1 buttons btt1 ¬
    default button 1 with icon 2 giving up after 15
    end try
    end tell
    if _step = 2 then set end of my xx to n1
    end if
    end repeat
    end script
    tell o to run
    end main
    --END OF SCRIPT
    Message was edited by: Hiroto (fixed typo)

  • Help needed with Popcorn Island Script

    Hey all, I am trying to use this script so I can transfer over my FCP files to AE. I have watched the tutorial but it doesn't show you how to install the script. I'm asked for a language and I'm not sure what I need to be using or where to go from there. The link for the download is below if it helps.
    Anyone with experience in this that can help is greatly appreciated.
    http://www.popcornisland.com/after-effects/final-cut-2-after-effects/
    Cheers
    GK

    Just move the script into the relevant AE script folder. You will see the script in the dropdown list when you select File/Scripts within AE.
    You don't need to "run" the script outside of AE. (The only reason I can think that you have been asked for a language is that you have double-clicked on the script and opened the programme, ExtendScript Toolkit. There's no reason to do this.)
    Frank

  • Help Needed With a Backup Script

    I am writing a DNS server backup script with additional options. 
    Backing Up DNS Server Daily
    Create a folder based on current date
    Copy the backup from source to newly created folder based on date
    Complicated part (well, for me anyway :) )
    keeping current month's backup (30 different copies/Folder of backup for each day)
    Create a folder every calender month and and copy all 30 copies of backups within this folder
    Email Results of copying process either success or failed
    So Far i have the following which covers half of what is required! 
    $date = Get-Date -Format yyyyMMdd
    New-Item C:\dnsbk\DNSBackup$date -ItemType Directory
    $1st = Export-DnsServerZone -Name test.ac.uk -Filename backup\test.ac.uk.bk
    $2nd = Export-DnsServerZone -Name _msdcs.test.ac.uk -FileName backup\_msdcs.test.ac.uk.bk
    $source = "C:\windows\system32\dns\*"
    $destination = "C:\dnsbk\DNSBackup$date"
    $copy = Copy-Item -Recurse $source $destination
    $successSubject = "Backup Completed Successfully"
    $SuccessBody = "$1st,$2nd,$copy" <<<<<< This does not work >>>>>
    Send-MailMessage -From "[email protected]" -To "[email protected]" -Subject $successSubject -SmtpServer 192.168.0.1 -Body $SuccessBody

    Hi IM3th0,
    If you want to confirm whether the copy operation run successfully and pass the result to the variable $SuccessBody, please try the script below:
    $copy = Copy-Item -Recurse $source $destination -PassThru -ErrorAction silentlyContinue
    if ($copy) { $SuccessBody="copy success" }
    else { $SuccessBody="Copy failure"}
    Reference from:
    how to capture 'copy-item' output
    If you want to remove the other 29 copies and keep the lastest one, please filter the 29 copies based on lastwritetime:
    $CLEANUP = (Get-DATE).AddDays(-30)
    $CLEANUP1 = (Get-DATE).AddDays(-1)
    Get-ChildItem | %{
    if($_.lastwritetime -gt $CLEANUP -and $_.lastwritetime -lt $CLEANUP1){
    Remove-Item $_.fullname -whatif}
    If I have any misunderstanding, please let me know.
    I hope this helps.

  • Help needed with amending a script

    I am trying to amend an Apple Script (called Narcolepsy) that forces insomniac Macs to go to sleep when the normal energy saving prefs do not work as with my G4MDD. The script, as it stands, works perfectly. The G4 now sleeps as it should. What I want the script to do is not send my Mac to sleep when Super Duper! is running which I've scheduled to do every day. I've amended the original script that prevented sleep if EyeTV is recording to the following - except this doesn't work. All I actually did was substitute "SuperDuper!" for "EyeTV' under the tell application command thingy.
    --Stay awake if SuperDuper! is playing or recording
    tell application "SuperDuper!"
    if it is running then
    if «class Plng» is true then return nextCheck * 60
    if «class IRcd» is true then return nextCheck * 60
    end if
    end tell
    What I should change it to?

    You don't have the full script, so I can't see what the rest of it is doing.
    However, it seems to me that it's likely that SuperDuper! does not know what the Ping and IRcd classes are.
    You could try just putting this before everything else in your script. It will pause processing for a minute at a time whilst an application is still running. In this example, I have used Address Book (which you'll need to change to SuperDuper!) and a dialog to show what happens when you close the app, but you can remove that last line.
    tell application "System Events"
    set ProcessList to (name of every process)
    repeat while ProcessList contains "Address Book"
    delay 60
    set ProcessList to (name of every process)
    end repeat
    end tell
    display dialog "Address Book just Closed"

  • Urgent help needed with iPhoto/pdf preview for book order - mysterious pixelated areas show on PDF but not in iPhoto

    Hello. I ordered an iPhoto book last week to give to my parents for their 50th wedding anniversary. Tonight, I just checked on the order status and found that my book is cancelled. I received no notification about it, and all I could do was fill out the online form, so customer service will get back to me on Monday via email (if I'm lucky...). There is no telephone number for me to call about this. I decided I'd best do some searching to try to figure out what had happened.
    I had thought that the preview I saw in iPhoto was the preview of the book. I found out I was wrong. So I created a PDF preview of the book and found some craziness that I don't understand. In iPhoto (and any other program, i.e. PhotoShop), my photos are fine. They are mostly TIFF format and high resolution with a few high res JPEGs. However, when I view the PDF, there is a band of black and white pixelation about 1/2-inch across the bottom of some pages - not all. The photos in that area are messed up in that band zone. The other photos are totally unaffected. This affects both TIFF and JPEG photos, and both black and white and color.
    Has anyone else had this problem, and what was your solution? I would be extremely grateful to anyone for advice or information about this! The anniversary party is less than a week away and I'm beyond my limit of stress right now...

    Launch iPhoto with the Option key held down and create a new library.  Import enough photos for a book (use some of those in the current book) create a new book and preview as a PDF.  If you don't see the problem then it's limited to your library which may be damaged.  If that's the case make a temporary, duplicate copy of the library and try the two fixes below in order as needed:
    Fix #1
    1 - delete  the iPhoto preference file, com.apple.iPhoto.plist, that resides in your Home/Library/Preferences folder. 
    2 - delete iPhoto's cache file, Cache.db, that is located in your Home/Library/Caches/com.apple.iPhoto folder. 
    3 - reboot, launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding the the Option key.  You'll also have to reset the iPhoto's various preferences.
    Fix #2
    Launch iPhoto with the Command+Option keys depressed and follow the instructions to rebuild the library.
    Select the options identified in the screenshot and the option to rebuild the small thumbnails.
    Click to view full size
    If you get the same problem in the test library then log into another user account on your Mac, create a test library and try it there.  If the problem shows up there a reinstall of iPhoto is indicated.  To do so you'll have to delete the current application and all files with "iPhoto" in the file name with either a .PKG or .BOM extension that reside in the HD/Library/Receipts folder and from the /var/db/receipts/  folder,
    Click to view full size
    If you don't encounter the problem in the other user account then it's something in your account that's the culprit. Post back with the results.
    OT

  • Urgent help needed to build a script for like mapping

    ll
    Edited by: Tom&amp;amp;amp;Mah on Jul 17, 2012 7:13 AM

    Hello,
    I don't have a VI for you, but I'll try to give you some ideas.
    Of course, first you will need to use DAQ VIs to acquire the data. You will probably have a loop with one scan process per loop iteration. In that case, just put a chart inside the loop and the new data will be added to the chart. The data will be plotted starting at the last scanned x-axis point, and the plot line will continue from the previous y point. If the new scan doesn't start until the user presses a button on the front panel, then you should use event driven programming. I have included a simple example that will plot new data after the user hits a Boolean. The new data is added to the chart.
    You might want to search on google for LabVIEW and xps to see if someone else ha
    s implemented some VI to use with xps.
    Zvezdana S.
    Attachments:
    Chart.vi ‏28 KB

  • [SOLVED] help needed with active window script

    I am trying to receive the current window from a script. it works fine, but when no window is open i get an error.
    i am using this command:
    xprop -id $(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) _NET_WM_NAME | cut -d '=' -f 2 | cut -b 1-2 --complement | rev | cut -c 2- | rev
    error message is "Invalid Window id format: 0x0"
    I tried working around this by using this script:
    #!/bin/bash
    title_window () {
    xprop -id $(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) _NET_WM_NAME | cut -d '=' -f 2 | cut -b 1-2 --complement | rev | cut -c 2- | rev
    title_root () {
    title_window | grep 0x0
    if [[ -z title_root ]]
    then
    title_window
    else
    echo "Desktop"
    fi
    But now it shows "Desktop" for every window.
    Last edited by Rasi (2013-01-22 11:59:46)

    solved.
    solution:
    #!/bin/bash
    title_window () {
    xprop -id $(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) _NET_WM_NAME | cut -d '=' -f 2 | cut -b 1-2 --complement | rev | cut -c 2- | rev 2>&1
    title_root () {
    title_window |& grep -q 0x0
    if title_root;
    then
    echo "Desktop"
    else
    title_window
    fi

  • New To Java Coding, Help NEEDED With a little script

    Well im just working on a script with an open uni course im doing, ive dont the script i was asked to do, but i was wondering if i could expand it abit more
    * The DaylesGod class implements an application that
    * simply prints "Dayles God!" to standard output.
    class DaylesGod {
        public static void main(String[] args) {
            System.out.println("Dayle is GOD!"); // Display the string.
    }thats what i have at the moment, i use cmd-cd C:\java
    C:\java>java DaylesGod
    Dayle is GOD
    I was wondering if i could get it to display diffrent messages on diffrent lines? e.g
    * The DaylesGod class implements an application that
    * simply prints "Dayles God!" to standard output.
    class DaylesGod {
        public static void main(String[] args) {
            System.out.println("Dayle is GOD!"); // Display the string.
            System.out.println("Dayle is GOD!");
            System.out.println("Dayle is GOD!");
    }

    Dayle wrote:
    Could you please give me an example of what that may look like please?
    //New Wow
    class Wow { //File Name
    public static void main(String[] args) {
    System.out.println("Wow");
    System.out.println("Wow");
    }This code executes fine in Jcreator, but only once, it wont type ''Wow'' Twice? Not to sure what to do, it wont run in cmd properly, want multiple ''Wows'' on seprate lines. If possible? Thank you :) and i will get in touch with shrink ha.That should print
    Wow
    WowAre you sure you're not having a problem with Jcreator or whatever you're viewing the output with? You might try executing this from the command line. There's no reason you can't do that.
    Remember, System.out.println(x) is equivalent to System.out.print(x + '\n').

  • [solved]Need help with a bash script for MOC conky artwork.

    I need some help with a bash script for displaying artwork from MOC.
    Music folders have a file called 'front.jpg' in them, so I need to pull the current directory from MOCP and then display the 'front.jpg' file in conky.
    mocp -Q %file
    gives me the current file playing, but I need the directory (perhaps some way to use only everything after the last  '/'?)
    A point in the right direction would be appreciated.
    thanks, d
    Last edited by dgz (2013-08-29 21:24:28)

    Xyne wrote:
    You should also quote the variables and output in double quotes to make the code robust, e.g.
    filename="$(mocp -Q %file)"
    dirname="${filename%/*}"
    cp "$dirname"/front.jpg ~/backup/art.jpg
    Without the quotes, whitespace will break the code. Even if you don't expect whitespace in any of the paths, it's still good coding practice to include the quotes imo.
    thanks for the tip.
    here it is, anyhow:
    #!/bin/bash
    filename=$(mocp -Q %file)
    dirname=${filename%/*}
    cp ${dirname}/front.jpg ~/backup/art.jpg
    then in conky:
    $alignr${execi 30 ~/bin/artc}${image ~/backup/art.jpg -s 100x100 -p -3,60}
    thanks for the help.
    Last edited by dgz (2013-08-29 21:26:32)

  • Need help in writinf a stop script for a production server

    can somebody help me with a stop script which stops a jrun
    production server.
    jrun -stop production
    this command should work but how do i use this in a script .
    Thanks

    Hi,
    I highly recommend that you skip VBScript and learn PowerShell instead. This is pretty trivial in PowerShell:
    If ($env:COMPUTERNAME.Length -le 15) {
    # Do stuff
    # HINT: Look into Start-Service
    Write-Host "Under limit: $env:COMPUTERNAME"
    } Else {
    # Do optional stuff
    Write-Host "Over limit: $env:COMPUTERNAME"
    (OT: jrv - happy? =])
    If you must stick with VBScript for some odd reason, here's an example to get you started:
    Set wshNetwork = WScript.CreateObject( "WScript.Network" )
    strComputerName = wshNetwork.ComputerName
    If Len(strComputerName) <= 15 Then
    'Do stuff here when the name is short enough
    WScript.Echo "Under limit: " & strComputerName
    Else
    'Do stuff here when the name is too long (only if you want to)
    WScript.Echo "Over limit: " & strComputerName
    End If
    http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/services/
    Don't retire TechNet! -
    (Don't give up yet - 12,830+ strong and growing)

  • Need Help in creating Unix Shell Script for database

    Would be appreciable if some one can help in creating unix shell script for the Oracle DB 10,11g.
    Here is the condition which i want to implement.
    1. Create shell script to create the database with 10GB TB SPACE and 3 groups of redo log file(Each 300MB).
    2. Increase size of redolog file.
    3. Load sample schema.
    4. dump the schema.
    5. Create empty db (Script should check if db already exists and drop it in this case).
    6. Create backup using rman.
    7. restore backup which you have backed up.

    This isn't much of a "code-sharing" site but a "knowledge-sharing" site.  Code posted me may be from a questioner who has a problem / issue / error with his code.   But we don't generally see people writing entire scripts as responses to such questions as yours.  There may be other sites where you can get coding done "for free".
    What you could do is to write some of the code and test it and, if and when it fails / errors, post it for members to make suggestions.
    But the expectation here is for you to write your own code.
    Hemant K Chitale

  • HELP NEEDED WITH ADDAPTER-DVI TO VGA.

    PLEASE ...HELP NEEDED WITH WIRING CROSS OVER....CAN YOU HELP WITH BACK OF PLUG CONNECTIONS...I SORTA UNDERSTAND THE PINOUTS BUT CANT MAKE AN EXACT MACH...WOULD LIKE TO BE 100% SURE...
    ......THIS ENSURES NO SMOKE!!!                                                                                           
    THE CARD IS AN ATI RADEON RX9250-DUAL HEAD-.........ADDAPTER IS DVI(ANALOG)MALE TO VGA(ANALOG)FEMALE.
    ANY HELP VERY MUCH APPRECIATED........ SEEMS YOU NEED TO BE ROCKET SCI TO ATTACH A BLOODY PICTURE...SO THIS HAS BEEN BIG WASTE OF FING TIME!

    Quote from: BOBHIGH on 17-December-05, 09:21:31
    Get over it mate !
    I find it easy t read CAPS...and if you dont like it ...DONT READ IT!
    And why bother to reply...some people have nothing better to do.
    Yes there chep and easy to come by...Ive already got a new one.
    All I wanted was to make a diagram of whats inside the bloody thing...it was a simple question and required a simple answer.
    NO NEED TO A WANKA !!
    I feel a bann comming up.
    Have you tryed Google ? really.. your question is inrelevant. No need to reply indeed.
    Why do you come here asking this question anyway ? is it becouse you have a MSI gfx card ? and the adapter has nothing to do with this ?
    You think you can come in here yelling.. thinking we have to put up with it and accept your style of posting. This is not a MSI tech center.. it's a user to user center.. Your question has nothing to do with MSI relavant things anyway's.
    Google = your friend.
    Quote from: BOBHIGH on 17-December-05, 09:21:31
    it was a simple question and required a simple answer
    Simple for who ? you (buying a new one) ? me ? we ?   .really...........
    Quote from: Dynamike on 16-December-05, 04:11:48
    1: There are allot of diffrent types of those adapters.
    If any of the mods have a problem about my reply.. please pm me.

  • Help needed with Vista 64 Ultimate

    "Help needed with Vista 64 UltimateI I need some help in getting XFI Dolby digital to work
    Okay so i went out and I bought a yamaha 630BL reciever, a digital coaxial s/pdif, and a 3.5mm phono plug to fit perfectly to my XFI Extreme Music
    -The audio plays fine and reports as a PCM stream when I play it normally, but I can't get dolby digital or DTS to enable for some reason eventhough I bought the DDL & DTS Connect Pack for $4.72
    When I click dolby digital li've in DDL it jumps back up to off and has this [The operation was unsuccessful. Please try again or reinstall the application].
    Message Edited by Fuzion64 on 03-06-2009 05:33 AMS/PDIF I/O was enabled under speakers in control panel/sound, but S/PDIF Out function was totally disabled
    once I set this to enabled Dolby and DTS went acti've.
    I also have a question on 5. and Vista 64
    -When I game I normally use headphones in game mode or 2. with my headphones, the reason for this is if I set it on 5. I get sounds coming out of all of the wrong channels.
    Now when I watch movies or listen to music I switch to 5. sound in entertainment mode, but to make this work properly I have to open CMSS-3D. I then change it from xpand to stereo and put the slider at even center for 50%. If I use the default xpand mode the audio is way off coming out of all of the wrong channels.
    How do I make 5. render properly on vista

    We ended up getting iTunes cleanly uninstalled and were able to re-install without issue.  All is now mostly well.
    Peace...

  • Help needed with itunes

    help needed with itunes please tryed to move my itunes libary to my external hard drive itunes move ok and runs fin but i have none of my music or apps or anything all my stuff is in the itunes folder on my external hard drive but there is nothing on ituns how do i get it back help,please

    (Make sure the Music (top left) library is selected before beginning this.)
    If you have bad song links in your library, hilite them and hit the delete button. Then locate the folder(s) where your music is located and drag and drop into the large library window in iTunes ( where your tracks show up). This will force the tunes into iTunes. Before you start, check your preferences in iTunes specifically under the"Advanced" tab, general settings. I prefer that the 1st 2 boxes are unchecked. (Keep iTunes Music folder organized & Copy files to iTunes Music folder when adding to library). They are designed to let iTunes manage your library. I prefer to manage it myself. Suit yourself. If there is a way for iTunes to restore broken links other than locating one song at a time I haven't found it yet. (I wish Apple would fix this, as I have used that feature in other apps.) This is the way I do it and I have approx. 25,000 songs and podcasts and videos at present. Hope this helps.

Maybe you are looking for

  • KeyStrokes with the Tab Key

    Hi, I am making a Desktop Application using a JDesktopPane. I want to allow my users to cycle between internal frames quickly by pressing CTRL-TAB. I created the Action object and set its accelerator value, but the action refuses to trigger when i pr

  • How  to show  php 'include' file in Design View?

    Is it possible (in design view MX04) to show a php include file? It shows if it's <?php include('myPage.inc'); ?> but if its got the .php ext, <?php include('myPage.php'); ?> its doesnt show. Any way of making it show? Cheers. Os.

  • Acrobat Pro XI, Server 2012 r2 Remote Desktop, cannot print until server reboot, No Pages Selected

    Ever since we migrated to terminal services (remote desktop) this problem has plagued us. We are a terminal services environment with 25 users. Our version of Adobe is 11.0.10 I've believe I have traced the issue to temp files in \users\username\appd

  • How to send direct print in 10g(through application serve) on local printer

    Dear All; We are move from oracle 6i to 10 form builder & report builder. In 6i we will send direct print on printer, But in 10g we are unable to send the print on local printer if we set " detyp=printer " then print goes on application server's prin

  • Buy a mac and get a free i pod?

    according to the deal that mac has if you buy a mac book for school then you get a free i pod nano with your purchase.. my question is: i found out about this deal after i bought my mac so i did not buy my computer from a campus store which is requir