using rsrestsession with Write-RsRestCatalogItem
Dear all, i try to deploy a report with Powershell. I installed RS module. It works fine if i use -Credential 'domain\xxx' and enter my password when prompting. But now, I would like to automate...
View ArticleAdding Script automatically on TaskSchduler
Hi I m new to scripting. I working on script to to add domain member to local Admin account and remove it automatically after a certain period of time. After referring posts online i could able to add...
View ArticleTrying to run an EXE and a ROM and unlock my GPU but Power shell says uhmmm...
I just dont know how to get power shells command not found message gone CMD line: c\USER\Desktop\Flash>"".exe "".rom unlock*scratches heads*
View ArticleAzure sql server firewall rules report
I need to generate report of Azure SQL server firewall rules for all SQL servers present across all subscription.
View ArticlePipeline variable - scope number exceeded
Hello,I have a script to select the oldest file form $srcdatapath folder:$oldFile = Get-ChildItem -Path $srcDataPath | Sort-Object -Property LastWriteTime | Select-Object -First 1Then I need to select...
View ArticleProblem running Python scripts on PowerShell
I get this error when I try to run scripts in PowerShell. These scripts run fine in the command window. JohnB
View ArticleScript for exporting O365 licenses
Hi,I am looking help in retrieving list of users (Importing from CSV or TXT File) assigned O365 licenses information. Pls help.Best Regards, Ranjit Singh
View ArticlePowershell ssh command executing
Hi guys ! I need to send these commands through any powershell ssh module in order to return the correct version of the operating system based on the distribution. If I open putty and paste the code,...
View Articletrying to get value of server in the following registry setting
invoke-command -computer ottmsg004 -scriptblock {get-itemproperty -path HKLM:\SOFTWARE\Veritas\NetBackup\CurrentVersion\Config}I get the followingExclude : {C:\Program...
View ArticleHow to uninstall Software using power shell
How to uninstall Software using power shell?Like Chrome
View ArticleIs it possible to connect remotely using an alias/CName?
I have a remote server that contains a Data directory which contains some folders/files i want to delete (based on name match) Suppose the actual server is: D2WP68JVM.domain.com and lets say i have a...
View ArticlePush json string into arraylist convert json element into string instead of...
$t=@() $r= new-object -type PSObject class { [string]$a [string[]]$b } $c =get-adgroupmember -recrisive $team| select SamAccountName $c.b = $c.SamAccountName $c.a="dummy" $t += $c $r | add-member -name...
View ArticleSuggest adding Powershell equivalent cmdlet link in Windows commands doc
I was looking for mountvol Powershell equivalent and did not find it in Windows command doc and that apply to other commands too. I think it is good to have a well known location to start looking for...
View ArticleInstall Remotly Windows Server and MSI file from CSV File - urgent
I have number of servers that need a Audit Client to be installed onto Remotely.I want to use a text file or CSV file , can anyone help
View ArticlePowerShell DSC - Update configuration in push mode
Hi, is there a way to update configuration stored in mof file (push mode) or creating modified config script --> producing mof file --> Start-DscConfiguration is the only procedure? For example I...
View ArticlePowerShell: Create List of URLs Within Parsed RSS Feed
Hey Guys - I'm having difficulty doing something so thought I'd post. Overall, I'm trying to monitor an RSS Feed and have multiple URLS (one per feed post) listed between specific phrases downloaded...
View ArticleHow to loop through 2 columns in foreach loop
I am trying to copy multiple files from one location to another. I have the source path and destination path in SQL table. Is there a way in powershell to loop through each of the row from the result...
View ArticlePowershell
$computername = "Server1" $disks = Get-WmiObject -Class Win32_logicaldisk -ComputerName $computername | Where-Object { $_.DriveType -eq 3} $DriveC = $Disks | Where-Object -Property DeviceID -eq -Value...
View ArticlePowershell, searching a file for a name and inputting the result to script
In a nutshell. I have an excel doc with all the company users in it along with their system names. I'm trying to write a few scripts where powershell will look in an excel doc for a particular user and...
View ArticleIIS Monitoring Script for all website pages
I need to setup a monitoring script/or method to test if all pages of the website are up. running Win 2016/IIS10. do you have a PS script, hyperlink or method that I can apply (I am interested in the...
View Article