Jump to content

vulcan4d

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

My Information

  • Agent Count
    < 500 Agents

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. At the moment the only way I can figure out how to do this is through a manual script. I'm thinking Shell: wmic NIC where "NetEnabled=true" get "Name", "Speed" Variable Check: if contains 10000000 then send an email or create ticket. Perhaps there is a better way
  2. By any chance would you guys know how to configure a monitor to detect an Ethernet Connection which has a 10Mbit link speed? I've been seeing computers with bad drivers that end up connecting at this speed and of course users start complaining shortly after :).
  3. How does this script differ from what is already included in CW Automate? I used their script and just modified the source instead of the LTShare.
  4. Hey guys, I'm trying to create searches for devices and have them more or less randomly split in half. My thought was what if I create a search based on ObjectID numbers and put a condition whether they are odd or even numbers. It would not be a perfect split but it would be enough, however Automate does not appear to have a condition based on ObjectID numbers. Would anyone have any suggestions how to go about getting a search like this working?
  5. I'm trying to create a script to rename domain joined computers but I'm having so much trouble. The script asks for 3 items, Username, Password and New computer then calls the .PS1 script and inputs variables. That's not too crazy but I just can't get it to work. Any chance I can get some assistance to figure this one out, any help is greatly appreciated! If I can figure this out maybe someone else can use it in the future! RenameComputer.PS1 C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy bypass -Command "& { $Username = '@Param2@' ; $Password = '@Param3@'| ConvertTo-SecureString -AsPlainText -Force ; $Creds = New-Object System.Management.Automation.PSCredential($Username ,$Password) ; $newname = '@Param0@' ; $oldname = '@Param1@' ; Rename-Computer -NewName $newname -DomainCredential $Creds -Force -Restart ; }" Automate Script Command Output on the computer shows unexpected token errors so I'm not sure what the issues is: (has been edited to remove private information + 'C:\windows\Temp\Renamecomputer.ps1' 'NewPCName' 'PCName' 'username ... + ~~~~~~~~~ Unexpected token ''NewPCName'' in expression or statement. At line:1 char:48 + 'C:\windows\Temp\Renamecomputer.ps1' 'NewPCName' 'PCName' 'username ... + ~~~~~~~~~~~~~ Unexpected token ''PCName'' in expression or statement. At line:1 char:62 + ... amecomputer.ps1' 'NewPCName' 'PCName' domain\username'Password ... + ~~~~~~~~~~~~~~~~~~~~ Unexpected token ''netcetera\netadmin'' in expression or statement. At line:1 char:83 + ... puter.ps1' 'NewPCName' 'PCName' 'domain\username''Password + ~~~~~~~~~~~~~ The string is missing the terminator: '. At line:1 char:83 + ... puter.ps1' 'NewPCName' 'PCName' 'domain\username''Password + ~~~~~~~~~~~~~ Unexpected token ''Password' in expression or statement. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : UnexpectedToken
×
×
  • Create New...