powershell

  1. Windows 10 Powershell code to copy files into a specific folder

    I am just trying to copy the AVI files from a source folder into the corresponding destination folder based on the folder names. For example, the multiple AVI files under Folder C should be copied into Folder xx based on the name"10Q_2P". I guess the trick here would be the name folders...
  2. Windows 10 Powershell

    Let's script Sent from my SM-A102U using Tapatalk
  3. E

    Automatically revoke permissions?

    Hi all, Is there a tool available that can schedule the revoking of file share access permissions? Example: Two members need read access to the Sales folder for one week. We get approval and add them to the required security group, but are too busy to remember dozens of these each week. I know...
  4. G

    2 Controller Nodes in an AD Cluster - Windows Server 2012 One is given trust relationship issue when trying to log.

    Hi, Who can help me to put back conroller3 within the trust? Or help me to allow controller4 to take control on th entire AD. Issue: We have two servers in an Active Directory Cluster with no GUI. Everything is done by powershell. One is called Controller3 and the other one Controller4...
  5. M

    Windows 10 Laptop Platform Role is Mobile in System Information?

    I just saw in System Information that my Desktop Laptop Platform Role is Mobile. Turned on the other two laptops in the home network and they also are mobile. This is a newly reset computer with no connection with a mobile phone whatsoever. To confirm my suspicions, in autoruns I get multiple...
  6. S

    Windows 10 Windows Apps Not Working (Including Store App)

    Hello new guy, here so recently I ran into a problem. Just recently I notice that none of the in built windows apps is working. This includes things like photos, microsoft store, and even the troubleshooter itself (to be exact, the the prompt that asked me to send feedback when it doesn't find...
  7. P

    Windows 7 How to execute Powershell command from CommandPrompt? One line!

    I want to execute a PowerShell command from Command Prompt. This should be done by entering ONE command! I DO NOT want to start PowerShell first and then enter the PowerShell command. Instead I want to enter something like powershell.exe -command "......." How does that work in detail on...
  8. B

    Windows 10 Clear protection history in Windows defender security center

    With version 1903 it is not possible to clear the log of protection history collected when false positive or real malwares are detected by this toy. One possibility is to use Powershell and see which items are listed and could be modified. To do this type Get-MpPreference.. In order to modity...
  9. Windows 7 PowerShell Version

    I have Windows 7 machine and i want to run different powershell scripts and commands but they can run specşfşc powerShell versions. How can i find current PowerShell version?
  10. Windows 10 Hi, need help with Dos?

    Hi I'm still trying to get rid of the Avast folders on my wife's laptop. I decided to try and remove it using the command prompt, or the Power Shell in this case. What I want to delete is the folder at C:\Windows\Program Files\AVAST Software "Avast Software" is the folder I want to delete...
  11. AA18-284A: Publicly Available Tools Seen in Cyber Incidents Worldwide

    Original release date: October 11, 2018 Summary This report is a collaborative research effort by the cyber security authorities of five nations: Australia, Canada, New Zealand, the United Kingdom, and the United States.Link Removed[2][3][4]Link Removed In it we highlight the use of five...
  12. TA18-276B: Advanced Persistent Threat Activity Exploiting Managed Service Providers

    Original release date: October 3, 2018 Systems Affected Network Systems Overview The National Cybersecurity and Communications Integration Center (NCCIC) is aware of ongoing APT actor activity attempting to infiltrate the networks of global managed service providers (MSPs). Since May 2016...
  13. EXT HDD Show "Online" but are "Offline" After Clone (Can't Format)

    I'm on Windows 10 Home, using USB 3.0 EXT HDD (one Glyph & one Fantom) The Problem: I attempted to clone each drive using Macrium Reflect as I've done many times before to back up information. Something's up because both drives seem to be bricked. At the moment that is. If you look disk.jpg...
  14. M

    Windows 10 Permission in folder

    I try to give permission in with the commands: New-Object DirectorySecurity.FileSystemAccessRule ('User', 'FullControl', 'Allow') acl.SetAccessRule ($) Set-ACL c: \ windows \ system32 \ drivers -AclObject it should changed to FullControl In PowerShell when I...
  15. Windows 10 Error handling in Powershell

    A Windows system use an external drive N:. A programs that use the external drive give sometimes an error message like "Directory N:\datastore is not available". To test the continuous availability I write the next batch script. :loop @TimE /t >> N:\datastore\test_times.txt @sleep...
  16. M

    Windows 10 permission archive in powershell

    what permission archive in powershell?
  17. M

    Windows 10 Find and replace TEXT with FILENAME

    Hello. I have several hundred text files in a folder. I would like to replace the text "Hello" present in every files with the actual "filename". How to do that? Can I use a Script or PowerShell? Thank you!
  18. W

    Windows 10 Certificate Expired (Windows Update)

    Windows defender and windows update, cer. expired. Non of the Windows apps are working , so i have uninstalled most of them , using PowerShell admin. In my opinion, most Microsoft stock apps are useless, so no big deal. However, the same can not be said for the Windows Defender. When getting...
  19. Q

    Windows 10 Accesing indented Windows folder name with Powershell.

    Please help! how do I access a Windows folder that has the following name 'Start Menu' ? I tried using cd Start Menu however its not working instead I get an error See image below. thanks in advance.
  20. S

    Windows 8 Creating CA signed certificate in powershell on windows-server 2012R2

    for windows-server2016 its quite easy using " New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname "myCertificate" -Signer $rootcert " command with $rootcert having another self-signed certificate however for windows server 2012 R2, -Signer parameter does not exist. I'm...